Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/libsas/sas_expander.c sas_ex_phy_discover_helper() -> sas_set_ex_phy()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->ex_dev.ex_phy 16,4096-ptr_max
PARAM_VALUE 0 dev->ex_dev.num_phys 1-255
PARAM_VALUE 0 dev->ex_dev.parent_port->dev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 dev->ex_dev.parent_port->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 dev->ex_dev.parent_port->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 dev->ex_dev.parent_port->dev.dma_io_tlb_mem->force_bounce 0-1
PARAM_VALUE 0 dev->ex_dev.parent_port->dev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 0 dev->ex_dev.parent_port->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 dev->ex_dev.parent_port->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 dev->ex_dev.parent_port->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 dev->parent->port->ha->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->port 4096-ptr_max
PARAM_VALUE 0 dev->port->ha 4096-ptr_max
PARAM_VALUE 0 dev->port->ha->dev 4096-ptr_max
PARAM_VALUE 0 dev->port->ha->dev->power.request 0-4
PARAM_VALUE 0 dev->port->ha->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dev->port->ha->dev->power.runtime_status 0,2
PARAM_VALUE 0 dev->port->ha->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->port->ha->shost 4096-ptr_max
PARAM_VALUE 0 dev->rphy->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 dev->sata_dev.ap->link.tdev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->sata_dev.ap->tdev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 dev->sata_dev.ap->tdev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 phy_id 0-254
PARAM_VALUE 2 disc_resp 4096-ptr_max
BUF_SIZE 0 dev->rphy (-1),1680
BUF_SIZE 2 disc_resp 56
CAPPED_DATA 1 phy_id 1
CAPPED_DATA 2 disc_resp 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 phy_id $3
DATA_SOURCE 2 disc_resp $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 phy_id unit_array_size
HALF_LOCKED2 &ha->disco_mutex

drivers/scsi/libsas/sas_expander.c sas_rediscover_dev() -> sas_set_ex_phy()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->ex_dev.ex_phy 4096-ptr_max
PARAM_VALUE 0 dev->ex_dev.parent_port 0
PARAM_VALUE 0 dev->parent->ex_dev.cmd_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->parent->ex_dev.cmd_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->parent->ex_dev.cmd_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->parent->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->parent->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->parent->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->parent->ex_dev.cmd_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->parent->ex_dev.cmd_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->parent->port->ha->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->port->destroy_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->port->destroy_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->port->dev_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->port->ha->dev->power.request 0-4
PARAM_VALUE 0 dev->port->ha->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dev->port->ha->dev->power.runtime_status 0,2
PARAM_VALUE 0 dev->port->ha->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->port->ha->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->port->sas_port_del_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->port->sas_port_del_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->port->sas_port_del_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->sata_dev.ap->link.tdev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 dev->sata_dev.ap->tdev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 dev->sata_dev.ap->tdev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 dev->sata_dev.ap->tdev.kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 phy_id (-2147483633)-(-2),0-254
PARAM_VALUE 2 disc_resp 4096-ptr_max
PARAM_VALUE 2 disc_resp->result 0
BUF_SIZE 2 disc_resp 56
CAPPED_DATA 1 phy_id 1
CAPPED_DATA 2 disc_resp 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 phy_id $1
DATA_SOURCE 2 disc_resp r alloc_smp_resp
NOCHECK_CALL
UNITS 1 phy_id unit_array_size
LOCK2 &ha->disco_mutex
TYPE_LOCK (struct sas_ha_struct)->disco_mutex