Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/nvme/host/core.c nvme_alloc_ns() -> nvme_ns_add_to_ctrl_list()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 0 ns->ctrl 4096-ptr_max
PARAM_VALUE 0 ns->ctrl->admin_q->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ns->ctrl->admin_q->q_lockdep_map->name 0-255
PARAM_VALUE 0 ns->ctrl->cels.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ns->ctrl->device 0,4096-ptr_max
PARAM_VALUE 0 ns->ctrl->max_integrity_segments 0-u16max
PARAM_VALUE 0 ns->ctrl->ops 4096-ptr_max
PARAM_VALUE 0 ns->ctrl->opts 0,4096-ptr_max
PARAM_VALUE 0 ns->ctrl->quirks 0,262144-u64max
PARAM_VALUE 0 ns->ctrl->srcu.srcu_ctrp 4096-ptr_max
PARAM_VALUE 0 ns->ctrl->subsys->lock.dep_map->name 0-255
PARAM_VALUE 0 ns->ctrl->subsys->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ns->ctrl->subsys->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ns->ctrl->subsys->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ns->ctrl->subsys->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ns->ctrl->subsys->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ns->ctrl->subsys->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ns->ctrl->subsys->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ns->ctrl->subsys->nsheads.prev 4096-ptr_max
PARAM_VALUE 0 ns->ctrl->subsys->nsheads.prev->next 4096-ptr_max
PARAM_VALUE 0 ns->ctrl->subsys->nsheads.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ns->ctrl->tagset 4096-ptr_max
PARAM_VALUE 0 ns->disk 4096-ptr_max
PARAM_VALUE 0 ns->disk->bdi 4096-ptr_max
PARAM_VALUE 0 ns->disk->bio_split.back_pad 0,64
PARAM_VALUE 0 ns->disk->bio_split.bio_pool.alloc 7276475779886346240
PARAM_VALUE 0 ns->disk->bio_split.bio_pool.curr_nr 1-s32max
PARAM_VALUE 0 ns->disk->bio_split.bio_pool.elements 1-u64max
PARAM_VALUE 0 ns->disk->bio_split.bio_pool.free 8263660038527102976
PARAM_VALUE 0 ns->disk->bio_split.bio_pool.min_nr 2
PARAM_VALUE 0 ns->disk->bio_split.bio_pool.pool_data 1-u64max
PARAM_VALUE 0 ns->disk->bio_split.bio_pool.wait.head.next 4096-ptr_max
PARAM_VALUE 0 ns->disk->bio_split.bio_pool.wait.head.prev 4096-ptr_max
PARAM_VALUE 0 ns->disk->bio_split.bio_slab 1-u64max
PARAM_VALUE 0 ns->disk->bio_split.bvec_pool.alloc 7276475779886346240
PARAM_VALUE 0 ns->disk->bio_split.bvec_pool.curr_nr 1-s32max
PARAM_VALUE 0 ns->disk->bio_split.bvec_pool.elements 1-u64max
PARAM_VALUE 0 ns->disk->bio_split.bvec_pool.free 8263660038527102976
PARAM_VALUE 0 ns->disk->bio_split.bvec_pool.wait.head.next 4096-ptr_max
PARAM_VALUE 0 ns->disk->bio_split.bvec_pool.wait.head.prev 4096-ptr_max
PARAM_VALUE 0 ns->disk->bio_split.cache 0,4096-ptr_max
PARAM_VALUE 0 ns->disk->bio_split.cpuhp_dead.pprev 4096-ptr_max
PARAM_VALUE 0 ns->disk->bio_split.front_pad 0
PARAM_VALUE 0 ns->disk->bio_split.rescue_list.head 0
PARAM_VALUE 0 ns->disk->bio_split.rescue_list.tail 0
PARAM_VALUE 0 ns->disk->bio_split.rescue_workqueue 0,4096-ptr_max
PARAM_VALUE 0 ns->disk->error_injection_list.next 4096-ptr_max
PARAM_VALUE 0 ns->disk->error_injection_list.prev 4096-ptr_max
PARAM_VALUE 0 ns->disk->error_injection_lock.magic 4096-ptr_max
PARAM_VALUE 0 ns->disk->flags 0,2-s32max
PARAM_VALUE 0 ns->disk->fops 5015615810620891136
PARAM_VALUE 0 ns->disk->last_zone_capacity 0
PARAM_VALUE 0 ns->disk->lockdep_map.cpu 0
PARAM_VALUE 0 ns->disk->lockdep_map.lock_type 0
PARAM_VALUE 0 ns->disk->lockdep_map.wait_type_outer 0
PARAM_VALUE 0 ns->disk->nr_zones 0
PARAM_VALUE 0 ns->disk->open_mutex.first_waiter 0
PARAM_VALUE 0 ns->disk->open_mutex.magic 4096-ptr_max
PARAM_VALUE 0 ns->disk->open_mutex.osq.tail.counter 0
PARAM_VALUE 0 ns->disk->open_mutex.owner.counter 0
PARAM_VALUE 0 ns->disk->part0 4096-ptr_max
PARAM_VALUE 0 ns->disk->part0->bd_nr_sectors 0-18014398509481983
PARAM_VALUE 0 ns->disk->part0->bd_size_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ns->disk->part_tbl.xa_flags 0
PARAM_VALUE 0 ns->disk->part_tbl.xa_head 0
PARAM_VALUE 0 ns->disk->private_data 4096-ptr_max
PARAM_VALUE 0 ns->disk->private_data->device->request_queue->dev->power.deferred_resume 0-1
PARAM_VALUE 0 ns->disk->private_data->device->request_queue->dev->power.idle_notification 0-1
PARAM_VALUE 0 ns->disk->private_data->device->request_queue->dev->power.request 0-4294967295
PARAM_VALUE 0 ns->disk->private_data->device->request_queue->dev->power.request_pending 0-1
PARAM_VALUE 0 ns->disk->private_data->device->request_queue->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 ns->disk->private_data->device->request_queue->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 ns->disk->private_data->device->request_queue->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 ns->disk->private_data->device->request_queue->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 ns->disk->private_data->device->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ns->disk->private_data->io_barrier.dep_map->name 0-255
PARAM_VALUE 0 ns->disk->private_data->nr_open_zones 0-4294967295
PARAM_VALUE 0 ns->disk->private_data->queue->dev->power.deferred_resume 0-1
PARAM_VALUE 0 ns->disk->private_data->queue->dev->power.idle_notification 0-1
PARAM_VALUE 0 ns->disk->private_data->queue->dev->power.request 0-4294967295
PARAM_VALUE 0 ns->disk->private_data->queue->dev->power.request_pending 0-1
PARAM_VALUE 0 ns->disk->private_data->queue->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 ns->disk->private_data->queue->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 ns->disk->private_data->queue->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 ns->disk->private_data->queue->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 ns->disk->private_data->queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ns->disk->private_data->srcu.dep_map->name 0-255
PARAM_VALUE 0 ns->disk->private_data->vdev_mutex.dep_map->name 0-255
PARAM_VALUE 0 ns->disk->private_data->vdev_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ns->disk->private_data->vdev_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ns->disk->private_data->vdev_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ns->disk->private_data->vdev_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ns->disk->private_data->vdev_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ns->disk->private_data->vdev_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ns->disk->queue 4096-ptr_max
PARAM_VALUE 0 ns->disk->queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ns->disk->queue->io_lockdep_map->name 0-255
PARAM_VALUE 0 ns->disk->queue->limits.atomic_write_boundary_sectors 0-8388607
PARAM_VALUE 0 ns->disk->queue->limits.atomic_write_max_sectors 0-8388607
PARAM_VALUE 0 ns->disk->queue->limits.atomic_write_unit_max 0-1171456
PARAM_VALUE 0 ns->disk->queue->limits.atomic_write_unit_min 0-1171456
PARAM_VALUE 0 ns->disk->queue->limits.discard_granularity 0,512-u32max
PARAM_VALUE 0 ns->disk->queue->limits.dma_alignment 1-u32max
PARAM_VALUE 0 ns->disk->queue->limits.io_min 512-u32max
PARAM_VALUE 0 ns->disk->queue->limits.logical_block_size 512-65536
PARAM_VALUE 0 ns->disk->queue->limits.max_discard_segments 1-u16max
PARAM_VALUE 0 ns->disk->queue->limits.max_fast_segment_size 0-4096
PARAM_VALUE 0 ns->disk->queue->limits.max_segment_size 1-u32max
PARAM_VALUE 0 ns->disk->queue->limits.max_segments 1-u16max
PARAM_VALUE 0 ns->disk->queue->limits.max_user_sectors 0,8-u32max
PARAM_VALUE 0 ns->disk->queue->limits.physical_block_size 512-u32max
PARAM_VALUE 0 ns->disk->queue->limits.seg_boundary_mask 1-u64max
PARAM_VALUE 0 ns->disk->queue->limits.zone_write_granularity 512-u32max
PARAM_VALUE 0 ns->disk->queue->limits_lock.dep_map->name 0-255
PARAM_VALUE 0 ns->disk->queue->limits_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ns->disk->queue->limits_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ns->disk->queue->limits_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ns->disk->queue->limits_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ns->disk->queue->limits_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ns->disk->queue->limits_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ns->disk->queue->mq_freeze_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ns->disk->queue->mq_freeze_lock.dep_map->name 0-255
PARAM_VALUE 0 ns->disk->queue->mq_freeze_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ns->disk->queue->mq_freeze_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ns->disk->queue->mq_freeze_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ns->disk->queue->mq_freeze_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ns->disk->queue->mq_freeze_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ns->disk->queue->mq_freeze_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ns->disk->queue->mq_freeze_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ns->disk->queue->q_lockdep_map->name 0-255
PARAM_VALUE 0 ns->disk->queue_kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 ns->disk->queue_kobj.ktype 8941777688397746176
PARAM_VALUE 0 ns->disk->queue_kobj.state_in_sysfs 0
PARAM_VALUE 0 ns->disk->queue_kobj.state_initialized 1
PARAM_VALUE 0 ns->disk->random 4096-ptr_max
PARAM_VALUE 0 ns->disk->rqos_state_mutex.first_waiter 0
PARAM_VALUE 0 ns->disk->rqos_state_mutex.magic 4096-ptr_max
PARAM_VALUE 0 ns->disk->slave_bdevs.next 4096-ptr_max
PARAM_VALUE 0 ns->disk->slave_bdevs.prev 4096-ptr_max
PARAM_VALUE 0 ns->disk->zone_capacity 0
PARAM_VALUE 0 ns->disk->zone_wplugs_hash 0
PARAM_VALUE 0 ns->disk->zone_wplugs_hash_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ns->disk->zone_wplugs_list.next 4096-ptr_max
PARAM_VALUE 0 ns->disk->zone_wplugs_list.prev 4096-ptr_max
PARAM_VALUE 0 ns->disk->zone_wplugs_pool->elements 4096-ptr_max
PARAM_VALUE 0 ns->disk->zone_wplugs_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ns->disk->zone_wplugs_pool->min_nr 1-3999999
PARAM_VALUE 0 ns->disk->zone_wplugs_pool->pool_data 248
PARAM_VALUE 0 ns->disk->zone_wplugs_pool->wait.head.next 4096-ptr_max
PARAM_VALUE 0 ns->disk->zone_wplugs_pool->wait.head.prev 4096-ptr_max
PARAM_VALUE 0 ns->disk->zone_wplugs_worker->delays->blkio_count 0-4294967295
PARAM_VALUE 0 ns->disk->zone_wplugs_worker->delays->blkio_delay_max 0-s64max
PARAM_VALUE 0 ns->disk->zone_wplugs_worker->delays->blkio_delay_min 0-s64max
PARAM_VALUE 0 ns->disk->zone_wplugs_worker_bio_done.wait.lock.magic 3735899821
PARAM_VALUE 0 ns->disk->zone_wplugs_worker_bio_done.wait.lock.owner (-1)
PARAM_VALUE 0 ns->disk->zone_wplugs_worker_bio_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 ns->disk->zone_wplugs_worker_bio_done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 ns->disk->zone_wplugs_worker_bio_done.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 ns->disk->zone_wplugs_wq->flags 0-4294967295
PARAM_VALUE 0 ns->disk->zone_wplugs_wq->flush_color s32min-s32max
PARAM_VALUE 0 ns->disk->zone_wplugs_wq->nr_drainers s32min-s32max
PARAM_VALUE 0 ns->disk->zone_wplugs_wq->nr_pwqs_to_flush.counter s32min-s32max
PARAM_VALUE 0 ns->disk->zone_wplugs_wq->work_color s32min-s32max
PARAM_VALUE 0 ns->disk->zones_cond 0,16,4096-ptr_max
PARAM_VALUE 0 ns->head 4096-ptr_max
PARAM_VALUE 0 ns->head->disk->flags 0,2-s32max
PARAM_VALUE 0 ns->head->disk->part0->bd_nr_sectors 0-18014398509481983
PARAM_VALUE 0 ns->head->disk->part0->bd_size_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ns->head->disk->queue->io_lockdep_map->name 0-255
PARAM_VALUE 0 ns->head->disk->queue->limits.atomic_write_boundary_sectors 0-8388607
PARAM_VALUE 0 ns->head->disk->queue->limits.atomic_write_max_sectors 0-8388607
PARAM_VALUE 0 ns->head->disk->queue->limits.atomic_write_unit_max 0-1171456
PARAM_VALUE 0 ns->head->disk->queue->limits.atomic_write_unit_min 0-1171456
PARAM_VALUE 0 ns->head->disk->queue->limits.discard_granularity 0,512-u32max
PARAM_VALUE 0 ns->head->disk->queue->limits.dma_alignment 1-u32max
PARAM_VALUE 0 ns->head->disk->queue->limits.io_min 512-u32max
PARAM_VALUE 0 ns->head->disk->queue->limits.logical_block_size 512-65536
PARAM_VALUE 0 ns->head->disk->queue->limits.max_discard_segments 1-u16max
PARAM_VALUE 0 ns->head->disk->queue->limits.max_fast_segment_size 0-4096
PARAM_VALUE 0 ns->head->disk->queue->limits.max_segment_size 1-u32max
PARAM_VALUE 0 ns->head->disk->queue->limits.max_segments 1-u16max
PARAM_VALUE 0 ns->head->disk->queue->limits.max_user_sectors 0,8-u32max
PARAM_VALUE 0 ns->head->disk->queue->limits.physical_block_size 512-u32max
PARAM_VALUE 0 ns->head->disk->queue->limits.seg_boundary_mask 1-u64max
PARAM_VALUE 0 ns->head->disk->queue->limits.zone_write_granularity 512-u32max
PARAM_VALUE 0 ns->head->disk->queue->limits_lock.dep_map->name 0-255
PARAM_VALUE 0 ns->head->disk->queue->limits_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ns->head->disk->queue->limits_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ns->head->disk->queue->limits_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ns->head->disk->queue->limits_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ns->head->disk->queue->mq_freeze_lock.dep_map->name 0-255
PARAM_VALUE 0 ns->head->disk->queue->mq_freeze_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ns->head->disk->queue->mq_freeze_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ns->head->disk->queue->mq_freeze_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ns->head->disk->queue->mq_freeze_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ns->head->disk->queue->mq_freeze_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ns->head->disk->queue->mq_freeze_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ns->head->disk->queue->q_lockdep_map->name 0-255
PARAM_VALUE 0 ns->head->guard_type 0-15
PARAM_VALUE 0 ns->head->ms 0,8
PARAM_VALUE 0 ns->head->pi_size 0,8,16
PARAM_VALUE 0 ns->head->pi_type 0-7
PARAM_VALUE 0 ns->head->plids 0,16,4096-ptr_max
PARAM_VALUE 0 ns->head->ref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 ns->head->srcu.dep_map->name 0-255
PARAM_VALUE 0 ns->kref.refcount.refs.counter 1
PARAM_VALUE 0 ns->queue 4096-ptr_max
PARAM_VALUE 0 ns->queue->blkg_list.next 4096-ptr_max
PARAM_VALUE 0 ns->queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ns->queue->q_lockdep_map->name 0-255
PARAM_VALUE 0 ns->queue->root_blkg 4096-ptr_max
PARAM_VALUE 0 ns->siblings.next 4096-ptr_max
PARAM_VALUE 0 *ns->disk->private_data->device->request_queue->q_lockdep_map.name 0-255
PARAM_VALUE 0 *ns->disk->private_data->queue->q_lockdep_map.name 0-255
PARAM_VALUE 0 *ns->disk->zone_wplugs_wq->lockdep_map->name 0-255
PARAM_VALUE 0 *ns->head->current_path 0
BUF_SIZE 0 ns 2232
BUF_SIZE 0 ns->disk 2000
DATA_SOURCE 0 ns r _kmalloc_node_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ns->disk->bio_split.bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 ns->disk->bio_split.bvec_pool.min_nr
NO_OVERFLOW_SIMPLE 0 ns->disk->zone_wplugs_pool->curr_nr
NO_OVERFLOW_SIMPLE 0 ns->disk->zone_wplugs_pool->min_nr
NO_OVERFLOW_SIMPLE 0 ns->queue->async_depth
NO_OVERFLOW_SIMPLE 0 ns->queue->nr_requests
LOCK2 &ctrl->namespaces_lock
HALF_LOCKED2 &ctrl->scan_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct nvme_ctrl)->namespaces_lock