Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/nvme/host/core.c nvme_scan_ns_list() -> nvme_remove_invalid_namespaces()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->admin_q->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ctrl->admin_q->q_usage_counter.percpu_count_ptr 1-u64max
PARAM_VALUE 0 ctrl->cntrltype 0-2,4-u32max
PARAM_VALUE 0 ctrl->oncs 8-u16max
PARAM_VALUE 0 ctrl->opts 0,4096-ptr_max
PARAM_VALUE 0 ctrl->opts->discovery_nqn 0
PARAM_VALUE 0 ctrl->scan_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->scan_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctrl->scan_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctrl->scan_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctrl->scan_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->scan_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ctrl->scan_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ctrl->state 1
PARAM_VALUE 0 ctrl->tagset 1-u64max
PARAM_VALUE 0 ctrl->vs 65792-u32max
PARAM_VALUE 1 nsid 0
DATA_SOURCE 0 ctrl $0
NOCHECK_CALL
LOCK2 0 &ctrl->scan_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct nvme_ctrl)->scan_lock

drivers/nvme/host/core.c nvme_scan_ns_sequential() -> nvme_remove_invalid_namespaces()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->admin_q->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ctrl->cntrltype 0-2,4-u32max
PARAM_VALUE 0 ctrl->oncs 8-u16max
PARAM_VALUE 0 ctrl->opts 0,4096-ptr_max
PARAM_VALUE 0 ctrl->opts->discovery_nqn 0
PARAM_VALUE 0 ctrl->scan_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->scan_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctrl->scan_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctrl->scan_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctrl->scan_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->scan_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ctrl->scan_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ctrl->state 1
PARAM_VALUE 0 ctrl->tagset 1-u64max
PARAM_VALUE 1 nsid 0-4294967294
CAPPED_DATA 1 nsid 1
DATA_SOURCE 0 ctrl $0
NOCHECK_CALL
LOCK2 0 &ctrl->scan_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct nvme_ctrl)->scan_lock