Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/nbd.c nbd_add_socket() -> nbd_get_socket()

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.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->disk->part0->bd_device.kobj.sd->attr.open->nr_mmapped 0-4294967295
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->disk->queue_kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 fd 0-s32max
PARAM_VALUE 2 err 3814366734475501568
BUF_SIZE 0 nbd s32min-(-1),1-s32max
BUF_SIZE 0 nbd s32min-(-1),1-s32max
DATA_SOURCE 0 nbd $0
DATA_SOURCE 1 fd $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 fd 0-s32max
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
UNITS 0 nbd unit_byte
LOCK2 0 &nbd->config_lock
TYPE_LOCK (struct nbd_device)->config_lock

drivers/block/nbd.c nbd_reconnect_socket() -> nbd_get_socket()

Type Parameter Key Value
PARAM_VALUE 0 nbd 4096-ptr_max
PARAM_VALUE 0 nbd->backend 0,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.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->pid s32min-(-1),1-s32max
PARAM_VALUE 1 fd 0-s32max,18446744071562067968-u64max
PARAM_VALUE 2 err 16306187150753792
DATA_SOURCE 0 nbd $0
DATA_SOURCE 1 fd $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &nbd->config_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
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