Defined in 1 files as a function:
Referenced in 3 files:
- drivers/scsi/mpt3sas/mpt3sas_ctl.c, line 224
-
drivers/scsi/mpt3sas/mpt3sas_scsih.c
- line 1011
- line 1035
- line 1040
- line 1067
- line 1072
- line 1887
- line 2080
- line 2082
- line 2164
- line 2217
- line 2807
- line 3356
- line 3510
- line 3589
- line 4007
- line 4137
- line 4260
- line 4295
- line 4510
- line 5803
- line 5872
- line 5996
- line 8362
- line 8368
- line 8437
- line 8560
- line 8829
- line 9001
- line 10365
- line 10414
- line 10455
- line 10762
- line 11492
- line 11510
- line 11687
- line 11802
- line 12840
- line 12867
- line 12882
- line 12887
- drivers/scsi/mpt3sas/mpt3sas_transport.c
Smatch caller information:
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_add_device() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->port | 4096-ptr_max |
| CAPPED_DATA | 0 | s->port | 1 |
| CAPPED_DATA | 0 | s->sas_address | 1 |
| DATA_SOURCE | 0 | s | r mpt3sas_get_sdev_by_addr |
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_add_device() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->connector_name | 4096-ptr_max |
| PARAM_VALUE | 0 | s->device_info | 128-u32max |
| PARAM_VALUE | 0 | s->fast_path | 0-1 |
| PARAM_VALUE | 0 | s->is_chassis_slot_valid | 0-1 |
| PARAM_VALUE | 0 | s->port | 0,4096-ptr_max |
| BUF_SIZE | 0 | s | 144 |
| BUF_SIZE | 0 | s->port | (-1),56 |
| CAPPED_DATA | 0 | s->enclosure_handle | 1 |
| DATA_SOURCE | 0 | s | r _kzalloc_noprof |
| FUZZY_MAX | 0 | s->fast_path | 1 |
| FUZZY_MAX | 0 | s->is_chassis_slot_valid | 1 |
| HARD_MAX | 0 | s->fast_path | 1 |
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_block_io_device() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s->handle | 1 |
| DATA_SOURCE | 0 | s | r mpt3sas_get_sdev_by_handle |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ioc->tm_cmds.mutex |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_block_io_to_children_attached_to_ex() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->port | 1-u64max |
| CAPPED_DATA | 0 | s->port | 1 |
| CAPPED_DATA | 0 | s->sas_address | 1 |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_by_addr |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_device_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &ioc->sas_node_lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->sas_device_lock |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_check_device() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->port | 4096-ptr_max |
| BUF_SIZE | 0 | s->port | (-1),56 |
| CAPPED_DATA | 0 | s->port | 1 |
| CAPPED_DATA | 0 | s->sas_address | 1 |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_by_addr |
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_check_device() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->port | 4096-ptr_max |
| BUF_SIZE | 0 | s->port | (-1),56 |
| CAPPED_DATA | 0 | s->port | 1 |
| CAPPED_DATA | 0 | s->sas_address | 1 |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_by_addr |
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_device_remove_by_handle() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->list.prev->next | 4096-ptr_max |
| CAPPED_DATA | 0 | s->handle | 1 |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_by_handle |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_device_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->sas_device_lock |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_device_remove_by_handle() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->pfa_led_on | 0 |
| PARAM_VALUE | 0 | s->port->sas_address | 0 |
| PARAM_VALUE | 0 | s->starget | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->starget->hostdata->deleted | 1 |
| PARAM_VALUE | 0 | s->starget->hostdata->handle | u16max |
| CAPPED_DATA | 0 | s->handle | 1 |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_by_handle |
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_probe_sas() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| DATA_SOURCE | 0 | s | r get_next_sas_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_probe_sas() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->port | 1-u64max |
| PARAM_VALUE | 0 | s->starget | 0 |
| CAPPED_DATA | 0 | s->port | 1 |
| CAPPED_DATA | 0 | s->sas_address_parent | 1 |
| DATA_SOURCE | 0 | s | r get_next_sas_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_probe_sas() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->port | 1-u64max |
| CAPPED_DATA | 0 | s->port | 1 |
| CAPPED_DATA | 0 | s->sas_address_parent | 1 |
| DATA_SOURCE | 0 | s | r get_next_sas_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_remove_unresponding_devices() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | &s->list | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_device_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->sas_device_lock |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_remove_unresponding_devices() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->starget | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->starget->hostdata->deleted | 1 |
| PARAM_VALUE | 0 | s->starget->hostdata->handle | u16max |
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_sas_device_remove() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| BUF_SIZE | 0 | s | (-1),96,144 |
| BUF_SIZE | 0 | s | (-1),96,144 |
| BUF_SIZE | 0 | s->port | (-1),56 |
| CAPPED_DATA | 0 | &s->list | 1 |
| DATA_SOURCE | 0 | s | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_device_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->sas_device_lock |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_sas_device_status_change_event() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->port | 1-u64max |
| PARAM_VALUE | 0 | s->starget | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->starget->hostdata | 0,4096-ptr_max |
| CAPPED_DATA | 0 | s->port | 1 |
| CAPPED_DATA | 0 | s->sas_address | 1 |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_by_addr |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_device_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &ioc->tm_cmds.mutex | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->sas_device_lock |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_sas_ir_physical_disk_event() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s->handle | 1 |
| DATA_SOURCE | 0 | s | r mpt3sas_get_sdev_by_handle |
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_sas_pd_add() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s->handle | 1 |
| DATA_SOURCE | 0 | s | r mpt3sas_get_sdev_by_handle |
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_sas_pd_expose() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->handle | 0 |
| PARAM_VALUE | 0 | s->starget | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->starget->hostdata | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->volume_handle | 0 |
| PARAM_VALUE | 0 | s->volume_wwid | 0 |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_by_handle |
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_sas_pd_hide() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->handle | 0 |
| PARAM_VALUE | 0 | s->starget | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->starget->hostdata | 0,4096-ptr_max |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_by_handle |
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_scsi_ioc_info() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| DATA_SOURCE | 0 | s | r mpt3sas_get_sdev_from_target |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ioc->tm_cmds.mutex |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_smart_predicted_fault() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->starget | 4096-ptr_max |
| CAPPED_DATA | 0 | s->handle | 1 |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_by_handle |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ioc->tm_cmds.mutex |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_tm_display_info() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_from_target |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_device_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->sas_device_lock |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_tm_tr_send() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->starget | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->starget->hostdata | 0,4096-ptr_max |
| CAPPED_DATA | 0 | s->handle | 1 |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_by_handle |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ioc->tm_cmds.mutex |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_turn_on_pfa_led() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s->handle | 1 |
| DATA_SOURCE | 0 | s | r mpt3sas_get_sdev_by_handle |
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_ublock_io_all_device() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->port | 1-u64max |
| CAPPED_DATA | 0 | s->port | 1 |
| CAPPED_DATA | 0 | s->sas_address | 1 |
| DATA_SOURCE | 0 | s | r mpt3sas_get_sdev_by_addr |
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_ublock_io_device_wait() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s->handle | 1 |
| DATA_SOURCE | 0 | s | r mpt3sas_get_sdev_by_handle |
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c mpt3sas_device_remove_by_sas_address() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->port | 1-u64max |
| CAPPED_DATA | 0 | s->port | 1 |
| CAPPED_DATA | 0 | s->sas_address | 1 |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_by_addr |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_device_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->sas_device_lock |
drivers/scsi/mpt3sas/mpt3sas_scsih.c mpt3sas_device_remove_by_sas_address() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->pfa_led_on | 0 |
| PARAM_VALUE | 0 | s->port | 1-u64max |
| PARAM_VALUE | 0 | s->port->sas_address | 0 |
| PARAM_VALUE | 0 | s->starget | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->starget->hostdata->deleted | 1 |
| PARAM_VALUE | 0 | s->starget->hostdata->handle | u16max |
| CAPPED_DATA | 0 | s->port | 1 |
| CAPPED_DATA | 0 | s->sas_address | 1 |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_by_addr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c sas_device_make_active() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->port | 1-u64max |
| CAPPED_DATA | 0 | s->port | 1 |
| CAPPED_DATA | 0 | s->sas_address_parent | 1 |
| CAPPED_DATA | 0 | &s->list | 1 |
| DATA_SOURCE | 0 | s | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_device_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->sas_device_lock |
drivers/scsi/mpt3sas/mpt3sas_scsih.c scsih_change_queue_depth() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_from_target |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_device_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->sas_device_lock |
drivers/scsi/mpt3sas/mpt3sas_scsih.c scsih_dev_reset() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| DATA_SOURCE | 0 | s | r mpt3sas_get_sdev_from_target |
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_scsih.c scsih_sdev_configure() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->port | 1-u64max |
| CAPPED_DATA | 0 | s->port | 1 |
| CAPPED_DATA | 0 | s->sas_address | 1 |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_by_addr |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_device_lock | ||
| LOCK2 | &sdev->request_queue->limits_lock | ||
| LOCK2 | &shost->scan_mutex | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->sas_device_lock | ||
| TYPE_LOCK | (struct Scsi_Host)->scan_mutex | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |
drivers/scsi/mpt3sas/mpt3sas_scsih.c scsih_sdev_destroy() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_from_target |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_device_lock | ||
| LOCK2 | &shost->scan_mutex | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->sas_device_lock | ||
| TYPE_LOCK | (struct Scsi_Host)->scan_mutex |
drivers/scsi/mpt3sas/mpt3sas_scsih.c scsih_sdev_init() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->port | 1-u64max |
| PARAM_VALUE | 0 | s->starget | 1-u64max |
| CAPPED_DATA | 0 | s->port | 1 |
| CAPPED_DATA | 0 | s->sas_address | 1 |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_by_addr |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_device_lock | ||
| LOCK2 | &shost->scan_mutex | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->sas_device_lock | ||
| TYPE_LOCK | (struct Scsi_Host)->scan_mutex |
drivers/scsi/mpt3sas/mpt3sas_scsih.c scsih_target_destroy() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_from_target |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_device_lock | ||
| LOCK2 | flags | ||
| LOCK2 | flags | ||
| LOCK2 | shost->host_lock | ||
| HALF_LOCKED2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->sas_device_lock |
drivers/scsi/mpt3sas/mpt3sas_scsih.c scsih_target_destroy() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_from_target |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_device_lock | ||
| LOCK2 | flags | ||
| LOCK2 | flags | ||
| LOCK2 | shost->host_lock | ||
| HALF_LOCKED2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->sas_device_lock |
drivers/scsi/mpt3sas/mpt3sas_scsih.c scsih_target_reset() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| DATA_SOURCE | 0 | s | r mpt3sas_get_sdev_from_target |
| NOCHECK_CALL |
drivers/scsi/mpt3sas/mpt3sas_ctl.c _ctl_display_some_debug() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s->handle | 1 |
| DATA_SOURCE | 0 | s | r mpt3sas_get_sdev_by_handle |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ioc->tm_cmds.mutex |
drivers/scsi/mpt3sas/mpt3sas_transport.c _transport_get_bay_identifier() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s->rphy | 1 |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_by_rphy |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_device_lock | ||
| LOCK2 | &of->mutex | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->sas_device_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/mpt3sas/mpt3sas_transport.c _transport_get_enclosure_identifier() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s->rphy | 1 |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_by_rphy |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_device_lock | ||
| LOCK2 | &of->mutex | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->sas_device_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/mpt3sas/mpt3sas_transport.c _transport_get_port_id_by_rphy() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->port | 4096-ptr_max |
| CAPPED_DATA | 0 | s->rphy | 1 |
| DATA_SOURCE | 0 | s | r __mpt3sas_get_sdev_by_rphy |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_device_lock | ||
| LOCK2 | &ioc->transport_cmds.mutex | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->sas_device_lock | ||
| TYPE_LOCK | (struct _internal_cmd)->mutex |
drivers/scsi/mpt3sas/mpt3sas_transport.c mpt3sas_transport_port_add() -> sas_device_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->pend_sas_rphy_add | 0 |
| PARAM_VALUE | 0 | s->port | 1-u64max |
| PARAM_VALUE | 0 | s->rphy | 4096-ptr_max |
| PARAM_VALUE | 0 | s->rphy->identify.device_type | 1 |
| BUF_SIZE | 0 | s->rphy | (-1),1680 |
| CAPPED_DATA | 0 | s->port | 1 |
| CAPPED_DATA | 0 | s->sas_address | 1 |
| DATA_SOURCE | 0 | s | r mpt3sas_get_sdev_by_addr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |