Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/rnbd/rnbd-clt.c msg_close_conf() -> rnbd_put_iu()

Type Parameter Key Value
PARAM_VALUE 1 iu 4096-ptr_max
PARAM_VALUE 1 iu->dev 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/block/rnbd/rnbd-clt.c msg_open_conf() -> rnbd_put_iu()

Type Parameter Key Value
PARAM_VALUE 1 iu 4096-ptr_max
PARAM_VALUE 1 iu->dev 4096-ptr_max
PARAM_VALUE 1 iu->dev->gd->part0->bd_nr_sectors 0-18014398509481983
PARAM_VALUE 1 iu->dev->gd->part0->bd_size_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 iu->dev->lock.dep_map->name 0-255
PARAM_VALUE 1 iu->dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 iu->dev->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 iu->dev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 iu->dev->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 iu->dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 iu->dev->lock.first_waiter->task->usage.refs.counter s32min-s32max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/block/rnbd/rnbd-clt.c msg_sess_info_conf() -> rnbd_put_iu()

Type Parameter Key Value
PARAM_VALUE 1 iu 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/block/rnbd/rnbd-clt.c rnbd_clt_map_device() -> rnbd_put_iu()

Type Parameter Key Value
PARAM_VALUE 0 sess 4096-ptr_max
PARAM_VALUE 0 sess->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 sess->rtrs 4096-ptr_max
PARAM_VALUE 1 iu 4096-ptr_max
PARAM_VALUE 1 iu->buf 4096-ptr_max
PARAM_VALUE 1 iu->comp.errno s32max
PARAM_VALUE 1 iu->comp.wait.head.next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.next->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 iu->dev 4096-ptr_max
PARAM_VALUE 1 iu->dev->access_mode 1
PARAM_VALUE 1 iu->dev->clt_device_id 0-s32max
PARAM_VALUE 1 iu->dev->dev_state 0
PARAM_VALUE 1 iu->dev->hw_queues 16,4096-ptr_max
PARAM_VALUE 1 iu->dev->list.next 4096-ptr_max
PARAM_VALUE 1 iu->dev->lock.first_waiter 0
PARAM_VALUE 1 iu->dev->lock.magic 4096-ptr_max
PARAM_VALUE 1 iu->dev->lock.osq.tail.counter 0
PARAM_VALUE 1 iu->dev->lock.owner.counter 0
PARAM_VALUE 1 iu->dev->nr_poll_queues 0
PARAM_VALUE 1 iu->dev->pathname 4096-ptr_max
PARAM_VALUE 1 iu->dev->refcount.refs.counter 1
PARAM_VALUE 1 iu->dev->sess 4096-ptr_max
PARAM_VALUE 1 iu->permit 1-u64max
PARAM_VALUE 1 iu->permit->con_type 0-1
PARAM_VALUE 1 iu->refcount.counter 2
PARAM_VALUE 1 iu->rq 4096-ptr_max
PARAM_VALUE 1 iu->sess 4096-ptr_max
PARAM_VALUE 1 iu->sgt.nents 0
PARAM_VALUE 1 iu->sgt.orig_nents 0
BUF_SIZE 0 sess (-1),2152
BUF_SIZE 0 sess (-1),2152
BUF_SIZE 1 iu 232
BUF_SIZE 1 iu->buf 56
BUF_SIZE 1 iu->dev 576
CAPPED_DATA 0 sess->rtrs->queue_depth 1
DATA_SOURCE 0 sess r find_and_get_or_create_sess
DATA_SOURCE 1 iu r rnbd_get_iu
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/block/rnbd/rnbd-clt.c rnbd_clt_map_device() -> rnbd_put_iu()

Type Parameter Key Value
PARAM_VALUE 0 sess 4096-ptr_max
PARAM_VALUE 0 sess->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 sess->rtrs 4096-ptr_max
PARAM_VALUE 1 iu 4096-ptr_max
PARAM_VALUE 1 iu->buf 4096-ptr_max
PARAM_VALUE 1 iu->comp.errno s32max
PARAM_VALUE 1 iu->comp.wait.head.next->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 iu->dev 4096-ptr_max
PARAM_VALUE 1 iu->dev->access_mode 1
PARAM_VALUE 1 iu->dev->clt_device_id 0-s32max
PARAM_VALUE 1 iu->dev->dev_state 0
PARAM_VALUE 1 iu->dev->hw_queues 16,4096-ptr_max
PARAM_VALUE 1 iu->dev->list.next 4096-ptr_max
PARAM_VALUE 1 iu->dev->lock.first_waiter 0
PARAM_VALUE 1 iu->dev->lock.magic 4096-ptr_max
PARAM_VALUE 1 iu->dev->lock.osq.tail.counter 0
PARAM_VALUE 1 iu->dev->lock.owner.counter 0
PARAM_VALUE 1 iu->dev->nr_poll_queues 0
PARAM_VALUE 1 iu->dev->pathname 4096-ptr_max
PARAM_VALUE 1 iu->dev->refcount.refs.counter 1
PARAM_VALUE 1 iu->dev->sess 4096-ptr_max
PARAM_VALUE 1 iu->permit 4096-ptr_max
PARAM_VALUE 1 iu->permit->con_type 0-1
PARAM_VALUE 1 iu->refcount.counter 2
PARAM_VALUE 1 iu->rq 4096-ptr_max
PARAM_VALUE 1 iu->sess 4096-ptr_max
PARAM_VALUE 1 iu->sgt.nents 0
PARAM_VALUE 1 iu->sgt.orig_nents 0
BUF_SIZE 0 sess (-1),2152
BUF_SIZE 0 sess (-1),2152
BUF_SIZE 1 iu 232
BUF_SIZE 1 iu->buf 56
BUF_SIZE 1 iu->dev 576
CAPPED_DATA 0 sess->rtrs->queue_depth 1
CAPPED_DATA 1 iu 1
DATA_SOURCE 0 sess r find_and_get_or_create_sess
DATA_SOURCE 1 iu r rnbd_get_iu
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/block/rnbd/rnbd-clt.c rnbd_clt_map_device() -> rnbd_put_iu()

Type Parameter Key Value
PARAM_VALUE 0 sess 4096-ptr_max
PARAM_VALUE 0 sess->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 sess->rtrs 4096-ptr_max
PARAM_VALUE 1 iu 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.next->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 iu->dev->access_mode 1
PARAM_VALUE 1 iu->dev->clt_device_id 0-s32max
PARAM_VALUE 1 iu->dev->dev_state 0
PARAM_VALUE 1 iu->dev->hw_queues 16,4096-ptr_max
PARAM_VALUE 1 iu->dev->list.next 4096-ptr_max
PARAM_VALUE 1 iu->dev->lock.first_waiter 0
PARAM_VALUE 1 iu->dev->lock.magic 4096-ptr_max
PARAM_VALUE 1 iu->dev->lock.osq.tail.counter 0
PARAM_VALUE 1 iu->dev->lock.owner.counter 0
PARAM_VALUE 1 iu->dev->nr_poll_queues 0
PARAM_VALUE 1 iu->dev->pathname 4096-ptr_max
PARAM_VALUE 1 iu->dev->refcount.refs.counter 1
PARAM_VALUE 1 iu->dev->sess 4096-ptr_max
PARAM_VALUE 1 iu->permit->con_type 0-1
BUF_SIZE 0 sess (-1),2152
BUF_SIZE 0 sess (-1),2152
BUF_SIZE 1 iu 232
BUF_SIZE 1 iu->buf 56,u64max
BUF_SIZE 1 iu->dev (-1),576
CAPPED_DATA 1 iu 1
DATA_SOURCE 0 sess r find_and_get_or_create_sess
DATA_SOURCE 1 iu r rnbd_get_iu
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/block/rnbd/rnbd-clt.c send_msg_close() -> rnbd_put_iu()

Type Parameter Key Value
PARAM_VALUE 0 sess 4096-ptr_max
PARAM_VALUE 0 sess->rtrs 4096-ptr_max
PARAM_VALUE 1 iu 4096-ptr_max
PARAM_VALUE 1 iu->buf 0
PARAM_VALUE 1 iu->comp.errno s32max
PARAM_VALUE 1 iu->comp.wait.head.next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.next->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 iu->dev 4096-ptr_max
PARAM_VALUE 1 iu->dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 iu->dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 iu->dev->sess 4096-ptr_max
PARAM_VALUE 1 iu->permit 1-u64max
PARAM_VALUE 1 iu->permit->con_type 0-1
PARAM_VALUE 1 iu->refcount.counter 2
PARAM_VALUE 1 iu->rq 0
PARAM_VALUE 1 iu->sess 4096-ptr_max
PARAM_VALUE 1 iu->sgt.nents 0
PARAM_VALUE 1 iu->sgt.orig_nents 0
PARAM_VALUE 1 iu->sgt.sgl 0
PARAM_VALUE 1 iu->sgt.sgl->dma_address 0
PARAM_VALUE 1 iu->sgt.sgl->dma_flags 0
PARAM_VALUE 1 iu->sgt.sgl->dma_length 0
PARAM_VALUE 1 iu->sgt.sgl->length 0
PARAM_VALUE 1 iu->sgt.sgl->offset 0
PARAM_VALUE 1 iu->sgt.sgl->page_link 0
BUF_SIZE 0 sess (-1),2152
BUF_SIZE 0 sess (-1),2152
BUF_SIZE 1 iu 232
BUF_SIZE 1 iu->dev (-1),576
CAPPED_DATA 0 sess->rtrs->queue_depth 1
DATA_SOURCE 1 iu r rnbd_get_iu
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock

drivers/block/rnbd/rnbd-clt.c send_msg_close() -> rnbd_put_iu()

Type Parameter Key Value
PARAM_VALUE 0 sess 4096-ptr_max
PARAM_VALUE 0 sess->rtrs 4096-ptr_max
PARAM_VALUE 1 iu 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.next->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 iu->dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 iu->dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 iu->dev->sess 4096-ptr_max
PARAM_VALUE 1 iu->permit->con_type 0-1
PARAM_VALUE 1 iu->sgt.sgl->dma_address 0
PARAM_VALUE 1 iu->sgt.sgl->dma_flags 0
PARAM_VALUE 1 iu->sgt.sgl->dma_length 0
PARAM_VALUE 1 iu->sgt.sgl->length 0
PARAM_VALUE 1 iu->sgt.sgl->offset 0
PARAM_VALUE 1 iu->sgt.sgl->page_link 0
BUF_SIZE 0 sess (-1),2152
BUF_SIZE 0 sess (-1),2152
BUF_SIZE 1 iu 232
BUF_SIZE 1 iu->dev (-1),576
CAPPED_DATA 0 sess->rtrs->queue_depth 1
CAPPED_DATA 1 iu 1
DATA_SOURCE 1 iu r rnbd_get_iu
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock

drivers/block/rnbd/rnbd-clt.c send_msg_open() -> rnbd_put_iu()

Type Parameter Key Value
PARAM_VALUE 0 sess 4096-ptr_max
PARAM_VALUE 0 sess->rtrs 4096-ptr_max
PARAM_VALUE 1 iu 4096-ptr_max
PARAM_VALUE 1 iu->buf 4096-ptr_max
PARAM_VALUE 1 iu->comp.errno s32max
PARAM_VALUE 1 iu->comp.wait.head.next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.next->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 iu->dev 4096-ptr_max
PARAM_VALUE 1 iu->dev->dev_state 1-u32max
PARAM_VALUE 1 iu->dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 iu->dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 iu->dev->sess 4096-ptr_max
PARAM_VALUE 1 iu->permit 1-u64max
PARAM_VALUE 1 iu->permit->con_type 0-1
PARAM_VALUE 1 iu->refcount.counter 2
PARAM_VALUE 1 iu->rq 4096-ptr_max
PARAM_VALUE 1 iu->sess 4096-ptr_max
PARAM_VALUE 1 iu->sgt.nents 0
PARAM_VALUE 1 iu->sgt.orig_nents 0
BUF_SIZE 1 iu 232
BUF_SIZE 1 iu->buf 56
CAPPED_DATA 0 sess->rtrs->queue_depth 1
DATA_SOURCE 1 iu r rnbd_get_iu
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &sess->lock

drivers/block/rnbd/rnbd-clt.c send_msg_open() -> rnbd_put_iu()

Type Parameter Key Value
PARAM_VALUE 0 sess 4096-ptr_max
PARAM_VALUE 0 sess->rtrs 4096-ptr_max
PARAM_VALUE 1 iu 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.next->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 iu->dev->dev_state 1-u32max
PARAM_VALUE 1 iu->dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 iu->dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 iu->dev->sess 4096-ptr_max
PARAM_VALUE 1 iu->permit->con_type 0-1
BUF_SIZE 1 iu 232
BUF_SIZE 1 iu->buf 56,u64max
CAPPED_DATA 0 sess->rtrs->queue_depth 1
CAPPED_DATA 1 iu 1
DATA_SOURCE 1 iu r rnbd_get_iu
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &sess->lock

drivers/block/rnbd/rnbd-clt.c send_msg_sess_info() -> rnbd_put_iu()

Type Parameter Key Value
PARAM_VALUE 0 sess 4096-ptr_max
PARAM_VALUE 0 sess->tag_set.shared_tags->rqs 0
PARAM_VALUE 0 sess->tag_set.shared_tags->static_rqs 0
PARAM_VALUE 0 sess->tag_set.srcu->srcu_sup->work.timer.lockdep_map->name 0-255
PARAM_VALUE 0 sess->tag_set.srcu->srcu_sup->work.work.lockdep_map->name 0-255
PARAM_VALUE 0 sess->tag_set.tags_srcu.srcu_sup->srcu_barrier_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 sess->tag_set.tags_srcu.srcu_sup->srcu_barrier_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sess->tag_set.tags_srcu.srcu_sup->srcu_barrier_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sess->tag_set.tags_srcu.srcu_sup->srcu_barrier_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 sess->tag_set.tags_srcu.srcu_sup->work.timer.lockdep_map->name 0-255
PARAM_VALUE 0 sess->tag_set.tags_srcu.srcu_sup->work.work.lockdep_map->name 0-255
PARAM_VALUE 1 iu 4096-ptr_max
PARAM_VALUE 1 iu->buf 4096-ptr_max
PARAM_VALUE 1 iu->comp.errno s32max
PARAM_VALUE 1 iu->comp.wait.head.next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.next->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 iu->permit 1-u64max
PARAM_VALUE 1 iu->permit->con_type 0-1
PARAM_VALUE 1 iu->refcount.counter 2
PARAM_VALUE 1 iu->rq 4096-ptr_max
PARAM_VALUE 1 iu->sess 4096-ptr_max
PARAM_VALUE 1 iu->sgt.nents 0
PARAM_VALUE 1 iu->sgt.orig_nents 0
BUF_SIZE 0 sess (-1),2152
BUF_SIZE 0 sess (-1),2152
BUF_SIZE 0 sess->rtrs (-1),8,96,248,1296
BUF_SIZE 1 iu 232
BUF_SIZE 1 iu->buf 36
BUF_SIZE 1 iu->sess (-1),2152
CAPPED_DATA 0 sess 1
DATA_SOURCE 0 sess $0
DATA_SOURCE 1 iu r rnbd_get_iu
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 sess->queue_depth
NO_OVERFLOW_SIMPLE 1 iu->sess->queue_depth
HALF_LOCKED2 &of->mutex

drivers/block/rnbd/rnbd-clt.c send_msg_sess_info() -> rnbd_put_iu()

Type Parameter Key Value
PARAM_VALUE 0 sess 4096-ptr_max
PARAM_VALUE 1 iu 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.next->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 iu->comp.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 iu->permit->con_type 0-1
BUF_SIZE 0 sess (-1),2152
BUF_SIZE 0 sess (-1),2152
BUF_SIZE 0 sess->rtrs (-1),8,96,248,1296
BUF_SIZE 1 iu 232
BUF_SIZE 1 iu->buf 36,u64max
BUF_SIZE 1 iu->sess (-1),2152
CAPPED_DATA 0 sess 1
CAPPED_DATA 1 iu 1
DATA_SOURCE 0 sess $0
DATA_SOURCE 1 iu r rnbd_get_iu
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 sess->queue_depth
NO_OVERFLOW_SIMPLE 1 iu->sess->queue_depth
HALF_LOCKED2 &of->mutex