Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/mpt3sas/mpt3sas_scsih.c scsih_target_alloc() -> __mpt3sas_get_sdev_by_rphy()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 1 rphy unit_byte
LOCK2 flags
LOCK2 0 &ioc->sas_device_lock
HALF_LOCKED2 &shost->scan_mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct MPT3SAS_ADAPTER)->sas_device_lock

drivers/scsi/mpt3sas/mpt3sas_transport.c _transport_get_bay_identifier() -> __mpt3sas_get_sdev_by_rphy()

Type Parameter Key Value
PARAM_VALUE 1 rphy 4096-ptr_max
PARAM_VALUE 1 rphy->dev.parent 4096-ptr_max
DATA_SOURCE 0 ioc r rphy_to_ioc
DATA_SOURCE 1 rphy $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 flags
LOCK2 0 &ioc->sas_device_lock
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() -> __mpt3sas_get_sdev_by_rphy()

Type Parameter Key Value
PARAM_VALUE 1 rphy 4096-ptr_max
PARAM_VALUE 1 rphy->dev.parent 4096-ptr_max
DATA_SOURCE 0 ioc r rphy_to_ioc
DATA_SOURCE 1 rphy $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 flags
LOCK2 0 &ioc->sas_device_lock
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() -> __mpt3sas_get_sdev_by_rphy()

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->pdev 4096-ptr_max
PARAM_VALUE 0 ioc->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ioc->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ioc->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ioc->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 ioc->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 ioc->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 ioc->pdev->dev.dma_mask 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->pci_32bit_workaround 0-1
PARAM_VALUE 0 ioc->scsi_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioc->shost_recovery 0
PARAM_VALUE 0 ioc->transport_cmds.mutex.dep_map->name 0-255
PARAM_VALUE 0 ioc->transport_cmds.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ioc->transport_cmds.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ioc->transport_cmds.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ioc->transport_cmds.mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ioc->transport_cmds.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ioc->transport_cmds.mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ioc->transport_cmds.smid 1-u16max
PARAM_VALUE 0 ioc->transport_cmds.status 2
PARAM_VALUE 1 rphy 4096-ptr_max
PARAM_VALUE 1 rphy->identify.device_type 1
DATA_SOURCE 0 ioc $0
DATA_SOURCE 1 rphy $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &ioc->sas_device_lock
LOCK2 0 &ioc->transport_cmds.mutex
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct MPT3SAS_ADAPTER)->sas_device_lock
TYPE_LOCK (struct _internal_cmd)->mutex