Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/nbd.c __nbd_ioctl() -> nbd_disconnect()

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
BUF_SIZE 0 nbd s32min-(-2),1-s32max
BUF_SIZE 0 nbd s32min-(-2),1-s32max
DATA_SOURCE 0 nbd $1
CAPABLE 0 21
UNITS 0 nbd unit_byte
LOCK2 0 &nbd->config_lock
TYPE_LOCK (struct nbd_device)->config_lock

drivers/block/nbd.c nbd_disconnect_and_put() -> nbd_disconnect()

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
BUF_SIZE 0 nbd s32min-(-1),1-s32max
BUF_SIZE 0 nbd s32min-(-1),1-s32max
CAPPED_DATA 0 &nbd->config_lock 1
DATA_SOURCE 0 nbd $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 nbd unit_byte
LOCK2 0 &nbd->config_lock
HALF_LOCKED2 &disk->open_mutex
TYPE_LOCK (struct nbd_device)->config_lock