Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/rnbd/rnbd-clt.c rnbd_clt_map_device() -> send_usr_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 0 |
| PARAM_VALUE | 2 | iu | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->buf | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.errno | s32max |
| PARAM_VALUE | 2 | iu->comp.wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->dev->access_mode | 1 |
| PARAM_VALUE | 2 | iu->dev->clt_device_id | 0-s32max |
| PARAM_VALUE | 2 | iu->dev->dev_state | 0 |
| PARAM_VALUE | 2 | iu->dev->hw_queues | 16,4096-ptr_max |
| PARAM_VALUE | 2 | iu->dev->list.next | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->dev->lock.first_waiter | 0 |
| PARAM_VALUE | 2 | iu->dev->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->dev->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 2 | iu->dev->lock.owner.counter | 0 |
| PARAM_VALUE | 2 | iu->dev->nr_poll_queues | 0 |
| PARAM_VALUE | 2 | iu->dev->pathname | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->dev->refcount.refs.counter | 1 |
| PARAM_VALUE | 2 | iu->dev->sess | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->permit | 1-u64max |
| PARAM_VALUE | 2 | iu->refcount.counter | 2 |
| PARAM_VALUE | 2 | iu->rq | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->sess | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->sgt.nents | 0 |
| PARAM_VALUE | 2 | iu->sgt.orig_nents | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->dma_address | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->dma_flags | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->dma_length | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->offset | 0-4095 |
| PARAM_VALUE | 3 | vec | 4064860362829893632 |
| PARAM_VALUE | 3 | vec->iov_base | 1050625747342229504 |
| PARAM_VALUE | 3 | vec->iov_len | 264 |
| PARAM_VALUE | 4 | len | 56 |
| PARAM_VALUE | 5 | sg->dma_address | 0 |
| PARAM_VALUE | 5 | sg->dma_flags | 0 |
| PARAM_VALUE | 5 | sg->dma_length | 0 |
| PARAM_VALUE | 5 | sg->offset | 0-4095 |
| PARAM_VALUE | 6 | sg_len | 1 |
| PARAM_VALUE | 8 | errno | 953000952352927744 |
| PARAM_VALUE | 9 | wait | 1 |
| BUF_SIZE | 2 | iu | 232 |
| BUF_SIZE | 2 | iu->buf | 56 |
| BUF_SIZE | 2 | iu->dev | 576 |
| CAPPED_DATA | 0 | rtrs->queue_depth | 1 |
| DATA_SOURCE | 2 | iu | r rnbd_get_iu |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | len | unit_byte |
| UNITS | 5 | sg | unit_byte |
| 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() -> send_usr_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 1 |
| PARAM_VALUE | 2 | iu | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->buf | 0 |
| PARAM_VALUE | 2 | iu->comp.errno | s32max |
| PARAM_VALUE | 2 | iu->comp.wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 2 | iu->dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | iu->dev->sess | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->permit | 1-u64max |
| PARAM_VALUE | 2 | iu->refcount.counter | 2 |
| PARAM_VALUE | 2 | iu->rq | 0 |
| PARAM_VALUE | 2 | iu->sess | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->sgt.nents | 0 |
| PARAM_VALUE | 2 | iu->sgt.orig_nents | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->dma_address | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->dma_flags | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->dma_length | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->length | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->offset | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->page_link | 0 |
| PARAM_VALUE | 3 | vec | 2883020812928716800 |
| PARAM_VALUE | 3 | vec->iov_base | 838441580507545600 |
| PARAM_VALUE | 3 | vec->iov_len | 8 |
| PARAM_VALUE | 4 | len | 0 |
| PARAM_VALUE | 5 | sg | 0 |
| PARAM_VALUE | 6 | sg_len | 0 |
| PARAM_VALUE | 8 | errno | 3416150344734941184 |
| PARAM_VALUE | 9 | wait | 0-1 |
| BUF_SIZE | 2 | iu | 232 |
| BUF_SIZE | 2 | iu->dev | (-1),576 |
| CAPPED_DATA | 0 | rtrs->queue_depth | 1 |
| DATA_SOURCE | 2 | iu | r rnbd_get_iu |
| DATA_SOURCE | 9 | wait | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/block/rnbd/rnbd-clt.c send_msg_open() -> send_usr_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 0 |
| PARAM_VALUE | 2 | iu | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->buf | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.errno | s32max |
| PARAM_VALUE | 2 | iu->comp.wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->dev->dev_state | 1-u32max |
| PARAM_VALUE | 2 | iu->dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 2 | iu->dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | iu->dev->sess | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->permit | 1-u64max |
| PARAM_VALUE | 2 | iu->refcount.counter | 2 |
| PARAM_VALUE | 2 | iu->rq | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->sess | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->sgt.nents | 0 |
| PARAM_VALUE | 2 | iu->sgt.orig_nents | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->dma_address | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->dma_flags | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->dma_length | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->offset | 0-4095 |
| PARAM_VALUE | 3 | vec | 6898988961069285376 |
| PARAM_VALUE | 3 | vec->iov_base | 5314360782103195648 |
| PARAM_VALUE | 3 | vec->iov_len | 264 |
| PARAM_VALUE | 4 | len | 56 |
| PARAM_VALUE | 5 | sg->dma_address | 0 |
| PARAM_VALUE | 5 | sg->dma_flags | 0 |
| PARAM_VALUE | 5 | sg->dma_length | 0 |
| PARAM_VALUE | 5 | sg->offset | 0-4095 |
| PARAM_VALUE | 6 | sg_len | 1 |
| PARAM_VALUE | 8 | errno | 3692701920528240640 |
| PARAM_VALUE | 9 | wait | 0-1 |
| BUF_SIZE | 2 | iu | 232 |
| BUF_SIZE | 2 | iu->buf | 56 |
| CAPPED_DATA | 0 | rtrs->queue_depth | 1 |
| DATA_SOURCE | 2 | iu | r rnbd_get_iu |
| DATA_SOURCE | 9 | wait | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | len | unit_byte |
| UNITS | 5 | sg | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sess->lock |
drivers/block/rnbd/rnbd-clt.c send_msg_sess_info() -> send_usr_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 0 |
| PARAM_VALUE | 2 | iu | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->buf | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.errno | s32max |
| PARAM_VALUE | 2 | iu->comp.wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->comp.wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->permit | 1-u64max |
| PARAM_VALUE | 2 | iu->refcount.counter | 2 |
| PARAM_VALUE | 2 | iu->rq | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->sess | 4096-ptr_max |
| PARAM_VALUE | 2 | iu->sgt.nents | 0 |
| PARAM_VALUE | 2 | iu->sgt.orig_nents | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->dma_address | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->dma_flags | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->dma_length | 0 |
| PARAM_VALUE | 2 | iu->sgt.sgl->offset | 0-4095 |
| PARAM_VALUE | 3 | vec | 7468805015364653056 |
| PARAM_VALUE | 3 | vec->iov_base | 1394328900322553856 |
| PARAM_VALUE | 3 | vec->iov_len | 36 |
| PARAM_VALUE | 4 | len | 36 |
| PARAM_VALUE | 5 | sg->dma_address | 0 |
| PARAM_VALUE | 5 | sg->dma_flags | 0 |
| PARAM_VALUE | 5 | sg->dma_length | 0 |
| PARAM_VALUE | 5 | sg->offset | 0-4095 |
| PARAM_VALUE | 6 | sg_len | 1 |
| PARAM_VALUE | 8 | errno | 5139212994581164032 |
| PARAM_VALUE | 9 | wait | 0-1 |
| BUF_SIZE | 0 | rtrs | (-1),8,96,248,1296 |
| BUF_SIZE | 0 | rtrs | (-1),8,96,248,1296 |
| BUF_SIZE | 2 | iu | 232 |
| BUF_SIZE | 2 | iu->buf | 36 |
| BUF_SIZE | 2 | iu->sess | (-1),2152 |
| CAPPED_DATA | 0 | rtrs->queue_depth | 1 |
| DATA_SOURCE | 2 | iu | r rnbd_get_iu |
| DATA_SOURCE | 9 | wait | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | iu->sess->queue_depth | |
| UNITS | 4 | len | unit_byte |
| UNITS | 5 | sg | unit_byte |
| HALF_LOCKED2 | &of->mutex |