Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 nbd 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 0
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
PARAM_VALUE 0 nbd->refs.refs.counter (-1073741824),0-s32max
BUF_SIZE 0 nbd (-1),848
BUF_SIZE 0 nbd (-1),848
CAPPED_DATA 0 &nbd->config_lock 1
FUZZY_MAX 0 nbd->refs.refs.counter 2
RX_PATH
TASK_NOT_RUNNING
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
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_open() -> nbd_alloc_and_init_config()

Type Parameter Key Value
PARAM_VALUE 0 nbd 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 (-1073741824),0-s32max
PARAM_VALUE 0 nbd->refs.refs.counter (-1073741824),0-s32max
BUF_SIZE 0 nbd s32min-(-2),1-s32max
BUF_SIZE 0 nbd s32min-(-2),1-s32max
CAPPED_DATA 0 &nbd->config_lock 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 nbd unit_byte
LOCK2 &disk->open_mutex
LOCK2 global &nbd_index_mutex
LOCK2 0 &nbd->config_lock
TYPE_LOCK (struct gendisk)->open_mutex
TYPE_LOCK (struct nbd_device)->config_lock