Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/nbd.c nbd_clear_sock_ioctl() -> nbd_bdev_reset()

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.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 4096-ptr_max
PARAM_VALUE 0 nbd->disk->part0 4096-ptr_max
PARAM_VALUE 0 nbd->disk->part0->bd_holder_lock.dep_map->name 0-255
PARAM_VALUE 0 nbd->disk->part0->bd_holder_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nbd->disk->part0->bd_holder_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 nbd->disk->part0->bd_holder_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 nbd->disk->part0->bd_holder_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 nbd->disk->part0->bd_holder_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 nbd->disk->part0->bd_holder_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 nbd->disk->part0->bd_mapping 4096-ptr_max
PARAM_VALUE 0 nbd->disk->part0->bd_mapping->host->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 nbd->disk->queue 4096-ptr_max
PARAM_VALUE 0 nbd->disk->queue->mq_ops 0-1
PARAM_VALUE 0 nbd->disk->queue->queue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup 4096-ptr_max
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->lock.owner 0,(-1)
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->lock.owner_cpu 0,u32max
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->sda_is_static 1
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->srcu_barrier_mutex.dep_map->name 0-255
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->srcu_barrier_mutex.magic 4096-ptr_max
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->srcu_cb_mutex.dep_map->name 0-255
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->srcu_cb_mutex.magic 4096-ptr_max
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->srcu_gp_mutex.dep_map->name 0-255
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->srcu_gp_mutex.magic 4096-ptr_max
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->srcu_gp_seq 18446744073709551216
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->srcu_gp_seq_needed 0,4-u64max
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->srcu_gp_seq_needed_exp 18446744073709551216
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->srcu_size_state 0-1,8
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->srcu_ssp 4096-ptr_max
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->srcu_ssp->sda 1-u64max
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->srcu_ssp->srcu_sup 4096-ptr_max
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->work.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 nbd->disk->queue->tag_set->srcu->srcu_sup->work.work.entry.prev->prev 2076614606316732416
PARAM_VALUE 0 nbd->tag_set.tags_srcu.dep_map->name 0-255
PARAM_VALUE 0 nbd->tag_set.tags_srcu.srcu_ctrp 4096-ptr_max
PARAM_VALUE 0 nbd->task_setup 0
BUF_SIZE 0 nbd s32min-(-2),1-s32max
BUF_SIZE 0 nbd s32min-(-2),1-s32max
CAPPED_DATA 0 nbd->tag_set.tags_srcu.srcu_ctrp 1
DATA_SOURCE 0 nbd $0
CAPABLE 0 21
NOCHECK_CALL
UNITS 0 nbd unit_byte
LOCK2 0 &nbd->config_lock
TYPE_LOCK (struct nbd_device)->config_lock

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

Type Parameter Key Value
PARAM_VALUE 0 nbd 4096-ptr_max
PARAM_VALUE 0 nbd->config 4096-ptr_max
PARAM_VALUE 0 nbd->config->bytesize 0-s64max
PARAM_VALUE 0 nbd->config->dbg_dir 4096-ptr_max
PARAM_VALUE 0 nbd->config->socks 1-u64max
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_lock.dep_map->name 0-255
PARAM_VALUE 0 nbd->config_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 nbd->config_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 nbd->config_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 nbd->config_lock.first_waiter->task->usage.refs.counter s32min-s32max
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_nr_sectors 0-18014398509481983
PARAM_VALUE 0 nbd->disk->part0->bd_size_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 nbd->disk->queue->io_lockdep_map->name 0-255
PARAM_VALUE 0 nbd->disk->queue->limits.atomic_write_boundary_sectors 0-8388607
PARAM_VALUE 0 nbd->disk->queue->limits.atomic_write_max_sectors 0-8388607
PARAM_VALUE 0 nbd->disk->queue->limits.atomic_write_unit_max 0-1171456
PARAM_VALUE 0 nbd->disk->queue->limits.atomic_write_unit_min 0-1171456
PARAM_VALUE 0 nbd->disk->queue->limits.discard_granularity 0,512-u32max
PARAM_VALUE 0 nbd->disk->queue->limits.dma_alignment 1-u32max
PARAM_VALUE 0 nbd->disk->queue->limits.io_min 512-u32max
PARAM_VALUE 0 nbd->disk->queue->limits.logical_block_size 512-65536
PARAM_VALUE 0 nbd->disk->queue->limits.max_discard_segments 1-u16max
PARAM_VALUE 0 nbd->disk->queue->limits.max_fast_segment_size 0-4096
PARAM_VALUE 0 nbd->disk->queue->limits.max_segment_size 1-u32max
PARAM_VALUE 0 nbd->disk->queue->limits.max_segments 1-u16max
PARAM_VALUE 0 nbd->disk->queue->limits.max_user_sectors 0,8-u32max
PARAM_VALUE 0 nbd->disk->queue->limits.physical_block_size 512-u32max
PARAM_VALUE 0 nbd->disk->queue->limits.seg_boundary_mask 1-u64max
PARAM_VALUE 0 nbd->disk->queue->limits.zone_write_granularity 512-u32max
PARAM_VALUE 0 nbd->disk->queue->limits_lock.dep_map->name 0-255
PARAM_VALUE 0 nbd->disk->queue->limits_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nbd->disk->queue->limits_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 nbd->disk->queue->limits_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 nbd->disk->queue->limits_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 nbd->disk->queue->limits_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 nbd->disk->queue->limits_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 nbd->disk->queue->mq_freeze_lock.dep_map->name 0-255
PARAM_VALUE 0 nbd->disk->queue->mq_freeze_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nbd->disk->queue->mq_freeze_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 nbd->disk->queue->mq_freeze_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 nbd->disk->queue->mq_freeze_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 nbd->disk->queue->mq_freeze_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 nbd->disk->queue->mq_freeze_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 nbd->disk->queue->mq_freeze_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nbd->disk->queue->q_lockdep_map->name 0-255
PARAM_VALUE 0 nbd->tag_set.tag_list_lock.dep_map->name 0-255
PARAM_VALUE 0 nbd->tag_set.tag_list_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 nbd->tag_set.tag_list_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nbd->tag_set.tag_list_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 nbd->tag_set.tag_list_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 nbd->tag_set.tag_list_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 nbd->tag_set.tag_list_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 nbd->tag_set.tag_list_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 nbd->tag_set.tag_list_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 nbd->tag_set.tag_list_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nbd->tag_set.update_nr_hwq_lock.dep_map->name 0-255
PARAM_VALUE 0 nbd->tag_set.update_nr_hwq_lock.first_waiter->handoff_set 1
PARAM_VALUE 0 nbd->tag_set.update_nr_hwq_lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 nbd->tag_set.update_nr_hwq_lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 nbd->tag_set.update_nr_hwq_lock.first_waiter->type 0-1
PARAM_VALUE 0 nbd->tag_set.update_nr_hwq_lock.osq.tail.counter 0-s32max
BUF_SIZE 0 nbd s32min-(-2),1-s32max
BUF_SIZE 0 nbd s32min-(-2),1-s32max
CAPPED_DATA 0 nbd->config->num_connections 1
CAPPED_DATA 0 &nbd->config_lock 1
DATA_SOURCE 0 nbd $0
CAPABLE 0 21
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 nbd unit_byte
LOCK2 0 &nbd->config_lock
TYPE_LOCK (struct nbd_device)->config_lock