Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/block/floppy.c set_geometry() -> disk_force_media_change()

Type Parameter Key Value
PARAM_VALUE 0 disk 1-u64max
CAPABLE 0 21
NOCHECK_CALL
LOCK2 global &floppy_mutex
LOCK2 global &open_lock

drivers/block/loop.c __loop_clr_fd() -> disk_force_media_change()

Type Parameter Key Value
PARAM_VALUE 0 disk 4096-ptr_max
PARAM_VALUE 0 disk->part0 4096-ptr_max
PARAM_VALUE 0 disk->part0->bd_mapping 4096-ptr_max
PARAM_VALUE 0 disk->part0->bd_nr_sectors 0-18014398509481983
PARAM_VALUE 0 disk->part0->bd_size_lock.rlock.dep_map->name 0-255
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &disk->open_mutex
TYPE_LOCK (struct gendisk)->open_mutex

drivers/block/loop.c loop_change_fd() -> disk_force_media_change()

Type Parameter Key Value
PARAM_VALUE 0 disk 4096-ptr_max
NOCHECK_CALL
LOCK2 &lo->lo_mutex
TYPE_LOCK (struct loop_device)->lo_mutex

drivers/block/loop.c loop_configure() -> disk_force_media_change()

Type Parameter Key Value
PARAM_VALUE 0 disk 4096-ptr_max
NOCHECK_CALL
LOCK2 &lo->lo_mutex
TYPE_LOCK (struct loop_device)->lo_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 disk 4096-ptr_max
PARAM_VALUE 0 disk->queue 4096-ptr_max
PARAM_VALUE 0 disk->queue->mq_ops 0-1
PARAM_VALUE 0 disk->queue->queue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup 4096-ptr_max
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->lock.owner 0,(-1)
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->lock.owner_cpu 0,u32max
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->sda_is_static 1
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->srcu_barrier_mutex.dep_map->name 0-255
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->srcu_barrier_mutex.magic 4096-ptr_max
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->srcu_cb_mutex.dep_map->name 0-255
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->srcu_cb_mutex.magic 4096-ptr_max
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->srcu_gp_mutex.dep_map->name 0-255
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->srcu_gp_mutex.magic 4096-ptr_max
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->srcu_gp_seq 18446744073709551216
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->srcu_gp_seq_needed 0,4-u64max
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->srcu_gp_seq_needed_exp 18446744073709551216
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->srcu_size_state 0-1,8
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->srcu_ssp 4096-ptr_max
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->srcu_ssp->sda 1-u64max
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->srcu_ssp->srcu_sup 4096-ptr_max
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->work.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->work.work.entry.prev->prev 2076614606316732416
CAPABLE 0 21
NOCHECK_CALL
LOCK2 &nbd->config_lock
TYPE_LOCK (struct nbd_device)->config_lock