Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/libsas/sas_ata.c sas_ata_add_dev() -> sas_ata_init()

Type Parameter Key Value
PARAM_VALUE 0 found_dev 4096-ptr_max
PARAM_VALUE 0 found_dev->dev_type 5,9
PARAM_VALUE 0 found_dev->ex_dev.children.next 4096-ptr_max
PARAM_VALUE 0 found_dev->ex_dev.children.next->next 4096-ptr_max
PARAM_VALUE 0 found_dev->ex_dev.children.prev 4096-ptr_max
PARAM_VALUE 0 found_dev->ex_dev.children.prev->next 4096-ptr_max
PARAM_VALUE 0 found_dev->ex_dev.children.prev->prev 4096-ptr_max
PARAM_VALUE 0 found_dev->ex_dev.cmd_mutex.dep_map->name 0-255
PARAM_VALUE 0 found_dev->ex_dev.cmd_mutex.first_waiter 0
PARAM_VALUE 0 found_dev->ex_dev.cmd_mutex.magic 4096-ptr_max
PARAM_VALUE 0 found_dev->ex_dev.cmd_mutex.owner.counter 0
PARAM_VALUE 0 found_dev->hashed_sas_addr 4096-ptr_max
PARAM_VALUE 0 found_dev->kref.refcount.refs.counter 1
PARAM_VALUE 0 found_dev->parent 4096-ptr_max
PARAM_VALUE 0 found_dev->parent->ex_dev.cmd_mutex.dep_map->name 0-255
PARAM_VALUE 0 found_dev->parent->ex_dev.cmd_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 found_dev->parent->ex_dev.cmd_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 found_dev->parent->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 found_dev->parent->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 found_dev->parent->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 found_dev->parent->ex_dev.cmd_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 found_dev->parent->ex_dev.cmd_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 found_dev->parent->ex_dev.ex_phy 4096-ptr_max
PARAM_VALUE 0 found_dev->parent->parent 0,4096-ptr_max
PARAM_VALUE 0 found_dev->parent->port 4096-ptr_max
PARAM_VALUE 0 found_dev->parent->port->ha->dev->power.request 0-4
PARAM_VALUE 0 found_dev->parent->port->ha->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 found_dev->parent->port->ha->dev->power.runtime_status 0,2
PARAM_VALUE 0 found_dev->parent->port->ha->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 found_dev->phy 4096-ptr_max
PARAM_VALUE 0 found_dev->phy->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 found_dev->phy->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 found_dev->port 4096-ptr_max
PARAM_VALUE 0 found_dev->port->ha->phy_port_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 found_dev->sas_addr 4096-ptr_max
PARAM_VALUE 0 found_dev->sata_dev.class 0-1,3,5,7,9
PARAM_VALUE 0 found_dev->ssp_dev.eh_list_node.next 4096-ptr_max
PARAM_VALUE 0 found_dev->ssp_dev.eh_list_node.next->next 4096-ptr_max
PARAM_VALUE 0 found_dev->ssp_dev.eh_list_node.prev 4096-ptr_max
PARAM_VALUE 0 found_dev->ssp_dev.eh_list_node.prev->next 4096-ptr_max
PARAM_VALUE 0 found_dev->ssp_dev.eh_list_node.prev->prev 4096-ptr_max
PARAM_VALUE 0 *found_dev->frame_rcvd 0-255
BUF_SIZE 0 found_dev 576
CAPPED_DATA 0 found_dev->parent->ex_dev.num_phys 1
DATA_SOURCE 0 found_dev $2
HALF_LOCKED2 &ha->disco_mutex

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

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