Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/scsi/libsas/sas_expander.c sas_ex_discover_end_dev() -> sas_device_set_phy()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->hashed_sas_addr 4096-ptr_max
PARAM_VALUE 0 dev->kref.refcount.refs.counter 1
PARAM_VALUE 0 dev->parent 4096-ptr_max
PARAM_VALUE 0 dev->parent->ex_dev.ex_phy 4096-ptr_max
PARAM_VALUE 0 dev->parent->parent 0,4096-ptr_max
PARAM_VALUE 0 dev->parent->port 4096-ptr_max
PARAM_VALUE 0 dev->port 4096-ptr_max
PARAM_VALUE 0 dev->sas_addr 4096-ptr_max
PARAM_VALUE 1 port 1-u64max
PARAM_VALUE 1 port->phy_list.prev->next->next 4096-ptr_max
PARAM_VALUE 1 port->phy_list_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 port->phy_list_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 port->phy_list_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 port->phy_list_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 port->phy_list_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 port->phy_list_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 port->phy_list_mutex.first_waiter->task->usage.refs.counter s32min-s32max
BUF_SIZE 0 dev 576
BUF_SIZE 1 port (-1),1824
BUF_SIZE 1 port (-1),1824
CAPPED_DATA 0 dev->parent->ex_dev.num_phys 1
DATA_SOURCE 0 dev r sas_alloc_device
NOCHECK_CALL
HALF_LOCKED2 &ha->disco_mutex

drivers/scsi/libsas/sas_expander.c sas_unregister_devs_sas_addr() -> sas_device_set_phy()

Type Parameter Key Value
PARAM_VALUE 0 dev 0,4096-ptr_max
PARAM_VALUE 1 port 4096-ptr_max
PARAM_VALUE 1 port->phy_list_mutex.dep_map->name 0-255
PARAM_VALUE 1 port->phy_list_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 port->phy_list_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 port->phy_list_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 port->phy_list_mutex.osq.tail.counter 0-s32max
NOCHECK_CALL
LOCK2 &ha->disco_mutex
TYPE_LOCK (struct sas_ha_struct)->disco_mutex

drivers/scsi/libsas/sas_discover.c sas_get_port_device() -> sas_device_set_phy()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_type 1-3,5
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.first_waiter 0
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.magic 4096-ptr_max
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.osq.tail.counter 0
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.owner.counter 0
PARAM_VALUE 0 dev->frame_rcvd 4096-ptr_max
PARAM_VALUE 0 dev->hashed_sas_addr 4096-ptr_max
PARAM_VALUE 0 dev->iproto 0-255
PARAM_VALUE 0 dev->kref.refcount.refs.counter 1
PARAM_VALUE 0 dev->port 4096-ptr_max
PARAM_VALUE 0 dev->port->oob_mode 1-2
PARAM_VALUE 0 dev->port->port_dev 0
PARAM_VALUE 0 dev->sas_addr 4096-ptr_max
PARAM_VALUE 0 dev->tproto 0-255
PARAM_VALUE 1 port 4096-ptr_max
BUF_SIZE 0 dev 576
DATA_SOURCE 0 dev r sas_alloc_device
FUZZY_MAX 0 dev->tproto 1
NOCHECK_CALL

drivers/scsi/libsas/sas_port.c sas_deform_port() -> sas_device_set_phy()

Type Parameter Key Value
PARAM_VALUE 0 dev 0,4096-ptr_max
PARAM_VALUE 1 port 4096-ptr_max
PARAM_VALUE 1 port->phy_list_mutex.dep_map->name 0-255
PARAM_VALUE 1 port->phy_list_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 port->phy_list_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 port->phy_list_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 port->phy_list_mutex.osq.tail.counter 0-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL