Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/libsas/sas_expander.c sas_configure_present() -> smp_execute_task()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->ex_dev.ex_phy 4096-ptr_max
PARAM_VALUE 0 dev->ex_dev.max_route_indexes 1-u16max
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 0,4096-ptr_max
PARAM_VALUE 0 dev->parent->port->ha->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->port->ha->dev->power.wakeirq->status 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 req 4096-ptr_max
PARAM_VALUE 2 req_size 16
PARAM_VALUE 3 resp 4096-ptr_max
PARAM_VALUE 4 resp_size 44
BUF_SIZE 1 req 16
BUF_SIZE 3 resp 44
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 req r alloc_smp_req
DATA_SOURCE 3 resp r alloc_smp_resp
HALF_LOCKED2 &ha->disco_mutex

drivers/scsi/libsas/sas_expander.c sas_configure_set() -> smp_execute_task()

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 0-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.max_route_indexes 1-u16max
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 0,4096-ptr_max
PARAM_VALUE 0 dev->parent->port->ha->dev->power.wakeirq->status 0-4294967295
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->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 req 4096-ptr_max
PARAM_VALUE 2 req_size 44
PARAM_VALUE 3 resp 4096-ptr_max
PARAM_VALUE 4 resp_size 8
BUF_SIZE 1 req 48
BUF_SIZE 3 resp 8
CAPPED_DATA 0 dev->ex_dev.max_route_indexes 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 req r alloc_smp_req
DATA_SOURCE 3 resp r alloc_smp_resp
HALF_LOCKED2 &ha->disco_mutex

drivers/scsi/libsas/sas_expander.c sas_ex_general() -> smp_execute_task()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_type 2-3
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.magic 4096-ptr_max
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.owner.counter 0
PARAM_VALUE 0 dev->lldd_dev 0-64,4096-ptr_max
PARAM_VALUE 0 dev->port 4096-ptr_max
PARAM_VALUE 0 dev->port->ha 4096-ptr_max
PARAM_VALUE 0 dev->port->ha->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->port->ha->lldd_ha 4096-ptr_max
PARAM_VALUE 0 dev->port->ha->shost 4096-ptr_max
PARAM_VALUE 0 dev->port->lldd_port 4096-ptr_max
PARAM_VALUE 0 dev->rphy 4096-ptr_max
PARAM_VALUE 0 dev->rphy->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 2 req_size 8
PARAM_VALUE 3 resp 4096-ptr_max
PARAM_VALUE 4 resp_size 32
BUF_SIZE 0 dev (-1),576
BUF_SIZE 0 dev (-1),576
BUF_SIZE 0 dev->rphy (-1),1680
BUF_SIZE 1 req 8
BUF_SIZE 3 resp 32
CAPPED_DATA 0 dev->port 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 req r alloc_smp_req
DATA_SOURCE 3 resp r alloc_smp_resp
NO_OVERFLOW_SIMPLE 0 dev->rphy->q->limits.max_open_zones
UNITS 4 resp_size unit_byte

drivers/scsi/libsas/sas_expander.c sas_ex_manuf_info() -> smp_execute_task()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_type 2-3
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 0-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.magic 4096-ptr_max
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.owner.counter 0
PARAM_VALUE 0 dev->ex_dev.ex_change_count 0-u16max
PARAM_VALUE 0 dev->ex_dev.num_phys 0-128
PARAM_VALUE 0 dev->lldd_dev 0-64,4096-ptr_max
PARAM_VALUE 0 dev->port 4096-ptr_max
PARAM_VALUE 0 dev->port->ha 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->lldd_ha 4096-ptr_max
PARAM_VALUE 0 dev->port->ha->shost 4096-ptr_max
PARAM_VALUE 0 dev->port->lldd_port 4096-ptr_max
PARAM_VALUE 0 dev->rphy 4096-ptr_max
PARAM_VALUE 0 dev->rphy->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 *dev->ex_dev.enclosure_logical_id 0-255
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 2 req_size 8
PARAM_VALUE 3 resp 4096-ptr_max
PARAM_VALUE 4 resp_size 64
BUF_SIZE 0 dev (-1),576
BUF_SIZE 0 dev (-1),576
BUF_SIZE 0 dev->rphy (-1),1680
BUF_SIZE 1 req 8
BUF_SIZE 3 resp 64
CAPPED_DATA 0 dev->port 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 req r alloc_smp_req
DATA_SOURCE 3 resp r alloc_smp_resp
NO_OVERFLOW_SIMPLE 0 dev->rphy->q->limits.max_open_zones

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

Type Parameter Key Value
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->ha->dev->power.wakeirq->status 0-4294967295
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 req 4096-ptr_max
PARAM_VALUE 2 req_size 16
PARAM_VALUE 3 resp 4096-ptr_max
PARAM_VALUE 4 resp_size 56
BUF_SIZE 0 dev->rphy (-1),1680
BUF_SIZE 1 req 16
BUF_SIZE 3 resp 56
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 req $1
DATA_SOURCE 3 resp $2
RX_PATH
TASK_NOT_RUNNING
UNITS 4 resp_size unit_byte
HALF_LOCKED2 &ha->disco_mutex

drivers/scsi/libsas/sas_expander.c sas_get_ex_change_count() -> smp_execute_task()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_type 2-3
PARAM_VALUE 0 dev->port->ha->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 2 req_size 8
PARAM_VALUE 3 resp 4096-ptr_max
PARAM_VALUE 4 resp_size 32
BUF_SIZE 1 req 8
BUF_SIZE 3 resp 32
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 req r alloc_smp_req
DATA_SOURCE 3 resp r alloc_smp_resp
UNITS 4 resp_size unit_byte
HALF_LOCKED2 &ha->disco_mutex

drivers/scsi/libsas/sas_expander.c sas_get_phy_discover() -> smp_execute_task()

Type Parameter Key Value
PARAM_VALUE 0 dev->ex_dev.parent_port->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 dev->parent->port->ha->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->port->ha->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 2 req_size 16
PARAM_VALUE 3 resp 4096-ptr_max
PARAM_VALUE 4 resp_size 56
BUF_SIZE 1 req 16
BUF_SIZE 3 resp 56
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 req r alloc_smp_req
DATA_SOURCE 3 resp $2
RX_PATH
TASK_NOT_RUNNING
UNITS 4 resp_size unit_byte
HALF_LOCKED2 &ha->disco_mutex

drivers/scsi/libsas/sas_expander.c sas_get_report_phy_sata() -> smp_execute_task()

Type Parameter Key Value
PARAM_VALUE 0 dev->ex_dev.ex_phy 4096-ptr_max
PARAM_VALUE 0 dev->port->ha->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 2 req_size 16
PARAM_VALUE 3 resp 4096-ptr_max
PARAM_VALUE 4 resp_size 60
BUF_SIZE 1 req 16
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 req r alloc_smp_req
DATA_SOURCE 3 resp $2
RX_PATH
TASK_NOT_RUNNING
UNITS 4 resp_size unit_byte

drivers/scsi/libsas/sas_expander.c sas_smp_get_phy_events() -> smp_execute_task()

Type Parameter Key Value
PARAM_VALUE 0 dev 0,4096-ptr_max
PARAM_VALUE 0 dev->rphy 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 2 req_size 16
PARAM_VALUE 3 resp 4096-ptr_max
PARAM_VALUE 4 resp_size 32
BUF_SIZE 1 req 16
BUF_SIZE 3 resp 32
DATA_SOURCE 0 dev r sas_find_dev_by_rphy
DATA_SOURCE 1 req r alloc_smp_req
DATA_SOURCE 3 resp r alloc_smp_resp
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/scsi/libsas/sas_expander.c sas_smp_phy_control() -> smp_execute_task()

Type Parameter Key Value
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->ha->dev->power.wakeirq->status 0-4294967295
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 req 4096-ptr_max
PARAM_VALUE 2 req_size 44
PARAM_VALUE 3 resp 4096-ptr_max
PARAM_VALUE 4 resp_size 8
BUF_SIZE 0 dev->rphy (-1),1680
BUF_SIZE 1 req 48
BUF_SIZE 3 resp 8
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 req r alloc_smp_req
DATA_SOURCE 3 resp r alloc_smp_resp
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex