Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/nbd.c nbd_genl_connect() -> nbd_start_device()

Type Parameter Key Value
PARAM_VALUE 0 nbd 4096-ptr_max
PARAM_VALUE 0 nbd->config 4096-ptr_max
PARAM_VALUE 0 nbd->config->conn_wait.head.next 4096-ptr_max
PARAM_VALUE 0 nbd->config->conn_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 nbd->config->recv_threads.counter 0
PARAM_VALUE 0 nbd->config->recv_wq.head.next 4096-ptr_max
PARAM_VALUE 0 nbd->config->recv_wq.head.prev 4096-ptr_max
PARAM_VALUE 0 nbd->config_lock.dep_map->name 0-255
PARAM_VALUE 0 nbd->config_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 nbd->config_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nbd->config_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nbd->config_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 nbd->config_lock.wait_lock.owner (-1)
PARAM_VALUE 0 nbd->config_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 nbd->config_refs.refs.counter 1
PARAM_VALUE 0 nbd->disk 4096-ptr_max
PARAM_VALUE 0 nbd->disk->part0->bd_device.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 nbd->disk->queue->mq_kobj->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 nbd->disk->queue->tag_set->update_nr_hwq_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 nbd->disk->queue->tag_set->update_nr_hwq_lock.first_waiter->type 0-1
BUF_SIZE 0 nbd (-1),848
BUF_SIZE 0 nbd (-1),848
BUF_SIZE 0 nbd->backend (-1),1-65536
CAPPED_DATA 0 &nbd->config_lock 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *nbd->backend 0-255
NO_OVERFLOW_SIMPLE 0 nbd->disk->bio_split.bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 nbd->disk->bio_split.bvec_pool.min_nr
NO_OVERFLOW_SIMPLE 0 nbd->tag_set.shared_tags->bitmap_tags.sb.depth
NO_OVERFLOW_SIMPLE 0 nbd->tag_set.shared_tags->breserved_tags.sb.depth
USER_PTR 0 nbd->backend
LOCK2 0 &nbd->config_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct nbd_device)->config_lock

drivers/block/nbd.c nbd_start_device_ioctl() -> nbd_start_device()

Type Parameter Key Value
PARAM_VALUE 0 nbd 4096-ptr_max
PARAM_VALUE 0 nbd->config 4096-ptr_max
PARAM_VALUE 0 nbd->config_lock.dep_map->name 0-255
PARAM_VALUE 0 nbd->config_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 nbd->config_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nbd->config_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 nbd->config_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 nbd->config_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nbd->config_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 nbd->config_lock.wait_lock.owner (-1)
PARAM_VALUE 0 nbd->config_lock.wait_lock.owner_cpu u32max
BUF_SIZE 0 nbd s32min-(-2),1-s32max
BUF_SIZE 0 nbd s32min-(-2),1-s32max
DATA_SOURCE 0 nbd $0
CAPABLE 0 21
UNITS 0 nbd unit_byte
LOCK2 0 &nbd->config_lock
TYPE_LOCK (struct nbd_device)->config_lock