Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/ublk_drv.c ublk_ch_release_work_fn() -> ublk_put_disk()

Type Parameter Key Value
PARAM_VALUE 0 disk 4096-ptr_max
PARAM_VALUE 0 disk->queue 4096-ptr_max
PARAM_VALUE 0 disk->queue->requeue_work.timer.entry->pprev 4096-ptr_max
DATA_SOURCE 0 disk r ublk_get_disk
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/block/ublk_drv.c ublk_ctrl_quiesce_dev() -> ublk_put_disk()

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.dep_map->name 0-255
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->lock.owner (-1)
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->lock.owner_cpu 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 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 2076614606316732416
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->work.work.entry.prev->prev 2076614606316732416
DATA_SOURCE 0 disk r ublk_get_disk
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ub->mutex
HALF_LOCKED2 &ctx->uring_lock
TYPE_LOCK (struct ublk_device)->mutex

drivers/block/ublk_drv.c ublk_ctrl_try_stop_dev() -> ublk_put_disk()

Type Parameter Key Value
PARAM_VALUE 0 disk 4096-ptr_max
PARAM_VALUE 0 disk->open_mutex.dep_map->name 0-255
PARAM_VALUE 0 disk->open_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 disk->open_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 disk->open_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 disk->open_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 disk->open_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 disk->open_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 disk->open_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 disk->open_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 disk->open_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 disk->part0 4096-ptr_max
CAPPED_DATA 0 &disk->open_mutex 1
DATA_SOURCE 0 disk r ublk_get_disk
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctx->uring_lock

drivers/block/ublk_drv.c ublk_partition_scan_work() -> ublk_put_disk()

Type Parameter Key Value
PARAM_VALUE 0 disk 4096-ptr_max
PARAM_VALUE 0 disk->open_mutex.dep_map->name 0-255
PARAM_VALUE 0 disk->open_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 disk->open_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 disk->open_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 disk->open_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 disk->open_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 disk->open_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 disk->open_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 disk->open_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 disk->open_mutex.wait_lock.dep_map->name 0-255
CAPPED_DATA 0 &disk->open_mutex 1
DATA_SOURCE 0 disk r ublk_get_disk
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/block/ublk_drv.c ublk_start_cancel() -> ublk_put_disk()

Type Parameter Key Value
PARAM_VALUE 0 disk 0,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.dep_map->name 0-255
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->lock.owner (-1)
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->lock.owner_cpu 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 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 2076614606316732416
PARAM_VALUE 0 disk->queue->tag_set->srcu->srcu_sup->work.work.entry.prev->prev 2076614606316732416
DATA_SOURCE 0 disk r ublk_get_disk
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctx->uring_lock