Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/libsas/sas_expander.c sas_discover_root_expander() -> sas_discover_expander()

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
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.magic 4096-ptr_max
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.osq.tail.counter 0
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.owner.counter 0
PARAM_VALUE 0 dev->iproto 0-255
PARAM_VALUE 0 dev->kref.refcount.refs.counter 1
PARAM_VALUE 0 dev->port 4096-ptr_max
PARAM_VALUE 0 dev->rphy 4096-ptr_max
PARAM_VALUE 0 dev->rphy->dev.fwnode->dev 4096-ptr_max
PARAM_VALUE 0 dev->rphy->dev.fwnode->dev->fwnode 4096-ptr_max
PARAM_VALUE 0 dev->rphy->dev.fwnode->dev->p 1-u64max
PARAM_VALUE 0 dev->rphy->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 dev->rphy->dev.fwnode->suppliers.next 4096-ptr_max
PARAM_VALUE 0 dev->rphy->dev.fwnode->suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 dev->rphy->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 dev->rphy->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->rphy->dev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 dev->rphy->dev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 dev->rphy->dev.kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 dev->rphy->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 dev->rphy->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 dev->rphy->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 dev->rphy->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 dev->rphy->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 dev->rphy->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 dev->rphy->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 dev->rphy->dev.physical_location->horizontal_position 0-3
PARAM_VALUE 0 dev->rphy->dev.physical_location->panel 0-7
PARAM_VALUE 0 dev->rphy->dev.physical_location->vertical_position 0-3
PARAM_VALUE 0 dev->rphy->list.next 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->async_depth 1-10240
PARAM_VALUE 0 dev->rphy->q->blkcg_mutex.magic 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->blkg_list.next 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->blkg_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->debugfs_mutex.magic 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->elevator_lock.magic 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->flush_list.next 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->flush_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->icq_list.next 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->icq_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->id 0-s32max
PARAM_VALUE 0 dev->rphy->q->limits.atomic_write_boundary_sectors 0-8388607
PARAM_VALUE 0 dev->rphy->q->limits.atomic_write_max_sectors 0-8388607
PARAM_VALUE 0 dev->rphy->q->limits.atomic_write_unit_max 0-1171456
PARAM_VALUE 0 dev->rphy->q->limits.atomic_write_unit_min 0-1171456
PARAM_VALUE 0 dev->rphy->q->limits.discard_granularity 0,512-u32max
PARAM_VALUE 0 dev->rphy->q->limits.dma_alignment 1-u32max
PARAM_VALUE 0 dev->rphy->q->limits.features 0,3-u32max
PARAM_VALUE 0 dev->rphy->q->limits.integrity.interval_exp 0-31
PARAM_VALUE 0 dev->rphy->q->limits.io_min 512-u32max
PARAM_VALUE 0 dev->rphy->q->limits.logical_block_size 512-65536
PARAM_VALUE 0 dev->rphy->q->limits.max_discard_segments 1-u16max
PARAM_VALUE 0 dev->rphy->q->limits.max_fast_segment_size 0-4096
PARAM_VALUE 0 dev->rphy->q->limits.max_segment_size 1-u32max
PARAM_VALUE 0 dev->rphy->q->limits.max_segments 1-u16max
PARAM_VALUE 0 dev->rphy->q->limits.max_user_discard_sectors u32max
PARAM_VALUE 0 dev->rphy->q->limits.max_user_sectors 0,8-u32max
PARAM_VALUE 0 dev->rphy->q->limits.max_user_wzeroes_unmap_sectors u32max
PARAM_VALUE 0 dev->rphy->q->limits.physical_block_size 512-u32max
PARAM_VALUE 0 dev->rphy->q->limits.seg_boundary_mask 1-u64max
PARAM_VALUE 0 dev->rphy->q->limits.zone_write_granularity 512-u32max
PARAM_VALUE 0 dev->rphy->q->limits_lock.magic 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->mq_freeze_lock.magic 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->mq_freeze_wq.head.next 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->mq_freeze_wq.head.prev 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->mq_kobj 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->mq_ops 1755462127033135104
PARAM_VALUE 0 dev->rphy->q->node (-1)
PARAM_VALUE 0 dev->rphy->q->nr_hw_queues 1-4294967294
PARAM_VALUE 0 dev->rphy->q->nr_requests 1-10240
PARAM_VALUE 0 dev->rphy->q->q_usage_counter.data 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->q_usage_counter.percpu_count_ptr 4096-18446744073709547523
PARAM_VALUE 0 dev->rphy->q->queue_ctx 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->queue_flags 0,4-u64max
PARAM_VALUE 0 dev->rphy->q->queue_hw_ctx 1-u64max
PARAM_VALUE 0 dev->rphy->q->queuedata 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->refs.refs.counter 1
PARAM_VALUE 0 dev->rphy->q->requeue_list.next 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->requeue_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->rq_qos_mutex.magic 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->rq_timeout 15000
PARAM_VALUE 0 dev->rphy->q->stats 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->sysfs_lock.magic 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->tag_set 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->tag_set_list.next 4096-ptr_max
PARAM_VALUE 0 dev->rphy->q->timeout.flags 0-4194302
PARAM_VALUE 0 dev->tproto 0-255
DATA_SOURCE 0 dev $0
NO_OVERFLOW_SIMPLE 0 dev->rphy->q->async_depth
NO_OVERFLOW_SIMPLE 0 dev->rphy->q->nr_requests

drivers/scsi/libsas/sas_expander.c sas_ex_discover_expander() -> sas_discover_expander()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_list_node.next 4096-ptr_max
PARAM_VALUE 0 dev->dev_type 2-3
PARAM_VALUE 0 dev->ex_dev.children.next 4096-ptr_max
PARAM_VALUE 0 dev->ex_dev.children.next->next 4096-ptr_max
PARAM_VALUE 0 dev->ex_dev.children.prev 4096-ptr_max
PARAM_VALUE 0 dev->ex_dev.children.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->ex_dev.children.prev->prev 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
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.magic 4096-ptr_max
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.osq.tail.counter 0
PARAM_VALUE 0 dev->ex_dev.cmd_mutex.owner.counter 0
PARAM_VALUE 0 dev->hashed_sas_addr 4096-ptr_max
PARAM_VALUE 0 dev->kref.refcount.refs.counter 1
PARAM_VALUE 0 dev->parent 4096-ptr_max
PARAM_VALUE 0 dev->parent->ex_dev.ex_phy 4096-ptr_max
PARAM_VALUE 0 dev->parent->parent 0,4096-ptr_max
PARAM_VALUE 0 dev->parent->port 4096-ptr_max
PARAM_VALUE 0 dev->parent->rphy 4096-ptr_max
PARAM_VALUE 0 dev->port 4096-ptr_max
PARAM_VALUE 0 dev->rphy 4096-ptr_max
PARAM_VALUE 0 dev->rphy->identify.device_type 2-3
PARAM_VALUE 0 dev->sas_addr 4096-ptr_max
PARAM_VALUE 0 dev->ssp_dev.eh_list_node.next 4096-ptr_max
PARAM_VALUE 0 dev->ssp_dev.eh_list_node.next->next 4096-ptr_max
PARAM_VALUE 0 dev->ssp_dev.eh_list_node.prev 4096-ptr_max
PARAM_VALUE 0 dev->ssp_dev.eh_list_node.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->ssp_dev.eh_list_node.prev->prev 4096-ptr_max
BUF_SIZE 0 dev 576
BUF_SIZE 0 dev->rphy (-1),1680
CAPPED_DATA 0 dev->parent->ex_dev.num_phys 1
DATA_SOURCE 0 dev r sas_alloc_device
HALF_LOCKED2 &ha->disco_mutex