Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_device_remove_by_handle() -> __mpt3sas_get_sdev_by_handle()

Type Parameter Key Value
PARAM_VALUE 0 ioc 4096-ptr_max
PARAM_VALUE 0 ioc->shost_recovery 0
DATA_SOURCE 0 ioc $0
DATA_SOURCE 1 handle $1
PREEMPT_ADD <- disables preempt
LOCK2 flags
LOCK2 0 &ioc->sas_device_lock
TYPE_LOCK (struct MPT3SAS_ADAPTER)->sas_device_lock

drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_sas_pd_expose() -> __mpt3sas_get_sdev_by_handle()

Type Parameter Key Value
PARAM_VALUE 1 handle 0
DATA_SOURCE 0 ioc $0
PREEMPT_ADD <- disables preempt
LOCK2 flags
LOCK2 0 &ioc->sas_device_lock
TYPE_LOCK (struct MPT3SAS_ADAPTER)->sas_device_lock

drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_sas_pd_hide() -> __mpt3sas_get_sdev_by_handle()

Type Parameter Key Value
PARAM_VALUE 0 ioc 4096-ptr_max
PARAM_VALUE 0 ioc->base_cmds.done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ioc->base_cmds.done.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 ioc->base_cmds.done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ioc->base_cmds.done.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ioc->config_cmds.done.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 ioc->config_cmds.done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ioc->config_cmds.done.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ioc->config_cmds.mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ioc->config_cmds.mutex.dep_map->name 0-255
PARAM_VALUE 0 ioc->config_cmds.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ioc->config_cmds.mutex.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 ioc->config_cmds.mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ioc->config_cmds.mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ioc->config_cmds.mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ioc->config_cmds.mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ioc->config_cmds.mutex.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 ioc->config_cmds.mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ioc->ctl_cmds.done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ioc->current_event->ignore 0-1
PARAM_VALUE 0 ioc->diag_trigger_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioc->fw_event_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ioc->fw_event_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ioc->fw_event_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioc->hostdiag_unlock_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ioc->hostdiag_unlock_mutex.dep_map->name 0-255
PARAM_VALUE 0 ioc->hostdiag_unlock_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ioc->hostdiag_unlock_mutex.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 ioc->hostdiag_unlock_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ioc->hostdiag_unlock_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ioc->hostdiag_unlock_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ioc->hostdiag_unlock_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ioc->hostdiag_unlock_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ioc->hpr_free_list.next->next 4096-ptr_max
PARAM_VALUE 0 ioc->hpr_free_list.next->prev 4096-ptr_max
PARAM_VALUE 0 ioc->hpr_free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ioc->hpr_free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ioc->internal_free_list.next->next 4096-ptr_max
PARAM_VALUE 0 ioc->internal_free_list.next->prev 4096-ptr_max
PARAM_VALUE 0 ioc->internal_free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ioc->internal_free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ioc->ioc_reset_in_progress_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioc->pcie_device_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioc->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 ioc->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioc->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 ioc->port_enable_cmds.done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ioc->port_enable_cmds.done.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 ioc->port_enable_cmds.done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ioc->port_enable_cmds.done.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ioc->raid_device_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioc->reset_in_progress_mutex.dep_map->name 0-255
PARAM_VALUE 0 ioc->reset_in_progress_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ioc->reset_in_progress_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ioc->reset_in_progress_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ioc->reset_in_progress_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ioc->reset_in_progress_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ioc->reset_in_progress_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ioc->sas_node_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioc->scsih_cmds.done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ioc->shost->host_lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 ioc->shost->max_id u32max
PARAM_VALUE 0 ioc->tm_cmds.done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ioc->transport_cmds.done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 *ioc->diag_buffer_status 0-255
PARAM_VALUE 0 *ioc->manu_pg0.ChipName 0-255
PARAM_VALUE 1 handle 0
DATA_SOURCE 0 ioc $0
PREEMPT_ADD <- disables preempt
LOCK2 flags
LOCK2 0 &ioc->sas_device_lock
TYPE_LOCK (struct MPT3SAS_ADAPTER)->sas_device_lock

drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_smart_predicted_fault() -> __mpt3sas_get_sdev_by_handle()

Type Parameter Key Value
PARAM_VALUE 0 ioc 4096-ptr_max
PARAM_VALUE 0 ioc->shost 4096-ptr_max
PARAM_VALUE 0 ioc->shost->tag_set.nr_hw_queues 1-u32max
CAPPED_DATA 0 ioc->hi_priority_smid 1
CAPPED_DATA 0 ioc->shost->tag_set.nr_hw_queues 1
DATA_SOURCE 0 ioc $0
DATA_SOURCE 1 handle $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &ioc->sas_device_lock
HALF_LOCKED2 &ioc->tm_cmds.mutex
TYPE_LOCK (struct MPT3SAS_ADAPTER)->sas_device_lock

drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_tm_tr_send() -> __mpt3sas_get_sdev_by_handle()

Type Parameter Key Value
PARAM_VALUE 0 ioc 4096-ptr_max
PARAM_VALUE 0 ioc->base_readl_ext_retry 4096-ptr_max
PARAM_VALUE 0 ioc->pci_error_recovery 0
PARAM_VALUE 0 ioc->pd_handles 4096-ptr_max
PARAM_VALUE 0 ioc->pend_os_device_add 4096-ptr_max
DATA_SOURCE 0 ioc $0
DATA_SOURCE 1 handle $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &ioc->sas_device_lock
HALF_LOCKED2 &ioc->tm_cmds.mutex
TYPE_LOCK (struct MPT3SAS_ADAPTER)->sas_device_lock

drivers/scsi/mpt3sas/mpt3sas_scsih.c mpt3sas_get_sdev_by_handle() -> __mpt3sas_get_sdev_by_handle()

Type Parameter Key Value
PARAM_VALUE 0 ioc->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 ioc->shost->shost_gendev.power.wakeirq->status 0-4294967295
DATA_SOURCE 0 ioc $0
DATA_SOURCE 1 handle $1
STR_LEN 0 ioc (-1),8
STR_LEN 0 ioc (-1),8
STR_LEN 0 ioc->tmp_string (-1),63
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &ioc->sas_device_lock
TYPE_LOCK (struct MPT3SAS_ADAPTER)->sas_device_lock