Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->ex_dev.ex_phy 4096-ptr_max
PARAM_VALUE 0 parent->ex_dev.parent_port->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 parent->ex_dev.parent_port->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 parent->ex_dev.parent_port->dev.iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 0 parent->ex_dev.parent_port->dev.kobj.parent->release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 parent->ex_dev.parent_port->dev.kobj.parent->release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 parent->ex_dev.parent_port->dev.kobj.parent->release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 parent->ex_dev.parent_port->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 parent->ex_dev.parent_port->dev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 parent->ex_dev.parent_port->dev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 parent->ex_dev.parent_port->dev.kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 parent->ex_dev.parent_port->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 parent->ex_dev.parent_port->dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 parent->ex_dev.parent_port->dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 parent->ex_dev.parent_port->dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 parent->parent 0,4096-ptr_max
PARAM_VALUE 0 parent->parent->ex_dev.cmd_mutex.dep_map->name 0-255
PARAM_VALUE 0 parent->parent->ex_dev.cmd_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 parent->parent->ex_dev.cmd_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 parent->parent->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 parent->parent->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 parent->parent->ex_dev.cmd_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 parent->parent->ex_dev.cmd_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 parent->parent->port->ha->dev->power.request 0-4
PARAM_VALUE 0 parent->parent->port->ha->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 parent->parent->port->ha->dev->power.runtime_status 0,2
PARAM_VALUE 0 parent->parent->port->ha->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 parent->port 4096-ptr_max
PARAM_VALUE 0 parent->port->ha->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 parent->sata_dev.ap->link.tdev.iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 0 parent->sata_dev.ap->link.tdev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 parent->sata_dev.ap->link.tdev.p->dead 0-1
PARAM_VALUE 0 parent->sata_dev.ap->link.tdev.p->deferred_probe_reason 0-s64max
PARAM_VALUE 0 parent->sata_dev.ap->link.tdev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 parent->sata_dev.ap->tdev.iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 0 parent->sata_dev.ap->tdev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 parent->sata_dev.ap->tdev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 parent->sata_dev.ap->tdev.kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 parent->sata_dev.ap->tdev.p->dead 0-1
PARAM_VALUE 0 parent->sata_dev.ap->tdev.p->deferred_probe_reason 0-s64max
PARAM_VALUE 0 parent->sata_dev.ap->tdev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 phy 4096-ptr_max
PARAM_VALUE 1 phy->attached_sata_host 0
PARAM_VALUE 1 phy->attached_sata_ps 0
PARAM_VALUE 1 phy->port 1-u64max
PARAM_VALUE 1 phy->port->phy_list.prev->next->next 4096-ptr_max
PARAM_VALUE 1 phy->port->phy_list_mutex.dep_map->name 0-255
PARAM_VALUE 1 phy->port->phy_list_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 phy->port->phy_list_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 phy->port->phy_list_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 phy->port->phy_list_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 phy->port->phy_list_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 phy->port->phy_list_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 phy->port->phy_list_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 phy->port->phy_list_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 phy->port->phy_list_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 2 child 4096-ptr_max
PARAM_VALUE 2 child->hashed_sas_addr 4096-ptr_max
PARAM_VALUE 2 child->kref.refcount.refs.counter 1
PARAM_VALUE 2 child->parent 4096-ptr_max
PARAM_VALUE 2 child->parent->ex_dev.ex_phy 4096-ptr_max
PARAM_VALUE 2 child->parent->parent 0,4096-ptr_max
PARAM_VALUE 2 child->parent->port 4096-ptr_max
PARAM_VALUE 2 child->phy 4096-ptr_max
PARAM_VALUE 2 child->phy->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 2 child->phy->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 2 child->port 4096-ptr_max
PARAM_VALUE 2 child->port->ha->phy_port_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 child->sas_addr 4096-ptr_max
PARAM_VALUE 3 phy_id 0-254
BUF_SIZE 1 phy->port (-1),1824
BUF_SIZE 2 child 576
CAPPED_DATA 0 parent->ex_dev.num_phys 1
CAPPED_DATA 2 child->parent->ex_dev.num_phys 1
CAPPED_DATA 3 phy_id 1
DATA_SOURCE 0 parent $0
DATA_SOURCE 2 child r sas_alloc_device
DATA_SOURCE 3 phy_id $1
FUZZY_MAX 3 phy_id 0
UNITS 3 phy_id unit_array_size
HALF_LOCKED2 &ha->disco_mutex