Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/libsas/sas_expander.c sas_discover_new() -> sas_ex_phy_discover()

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.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->dev.kobj.parent->kset->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 dev->ex_dev.parent_port->dev.kobj.parent->kset->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 dev->ex_dev.parent_port->dev.kobj.parent->kset->kobj.release.wq->saved_min_active s32min-s32max
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.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 dev->ex_dev.parent_port->dev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 dev->ex_dev.parent_port->dev.kobj.release.wq->saved_min_active s32min-s32max
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.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->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 single (-2147483633)-(-2),0-254
CAPPED_DATA 1 single 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 single $1
UNITS 1 single unit_array_size
LOCK2 &ha->disco_mutex
TYPE_LOCK (struct sas_ha_struct)->disco_mutex

drivers/scsi/libsas/sas_expander.c sas_ex_discover_dev() -> sas_ex_phy_discover()

Type Parameter Key Value
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->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.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.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->tdev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 single 0-254
CAPPED_DATA 1 single 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 single $1
FUZZY_MAX 1 single 0
UNITS 1 single unit_array_size
HALF_LOCKED2 &ha->disco_mutex

drivers/scsi/libsas/sas_expander.c sas_expander_discover() -> sas_ex_phy_discover()

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.ex_phy 16,4096-ptr_max
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 single (-1)
BUF_SIZE 0 dev (-1),576
BUF_SIZE 0 dev (-1),576
BUF_SIZE 0 dev->rphy (-1),1680
CAPPED_DATA 0 dev->port 1
DATA_SOURCE 0 dev $0
NO_OVERFLOW_SIMPLE 0 dev->rphy->q->limits.max_open_zones

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

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->dev.kobj.parent->kset->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 dev->ex_dev.parent_port->dev.kobj.parent->kset->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 dev->ex_dev.parent_port->dev.kobj.parent->kset->kobj.release.wq->saved_min_active s32min-s32max
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.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 dev->ex_dev.parent_port->dev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 dev->ex_dev.parent_port->dev.kobj.release.wq->saved_min_active s32min-s32max
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.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.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 single (-2147483633)-(-2),0-254
CAPPED_DATA 1 single 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 single $1
NOCHECK_CALL
UNITS 1 single unit_array_size
LOCK2 &ha->disco_mutex
TYPE_LOCK (struct sas_ha_struct)->disco_mutex

drivers/scsi/libsas/sas_ata.c smp_ata_check_ready() -> sas_ex_phy_discover()

Type Parameter Key Value
PARAM_VALUE 0 dev->ex_dev.ex_phy 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 single unit_array_size
HALF_LOCKED2 &ap->host->eh_mutex