Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/nvme/host/apple.c, line 809
- drivers/nvme/host/core.c
- drivers/nvme/host/fc.c
- drivers/nvme/host/pci.c, line 1432
- drivers/nvme/host/rdma.c, line 2070
- drivers/nvme/host/tcp.c, line 2767
- drivers/nvme/target/loop.c, line 161
Smatch caller information:
drivers/nvme/target/loop.c nvme_loop_queue_rq() -> nvme_cleanup_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->bio | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->bio->bi_iter.bi_bvec_done | 0-4294967295 |
| PARAM_VALUE | 0 | req->mq_hctx | 4096-ptr_max |
| PARAM_VALUE | 0 | req->mq_hctx->tags | 4096-ptr_max |
| PARAM_VALUE | 0 | req->mq_hctx->tags->rqs | 4096-ptr_max |
| PARAM_VALUE | 0 | req->q | 4096-ptr_max |
| PARAM_VALUE | 0 | req->q->queuedata->ctrl->nr_active.counter | s32min-s32max |
| PARAM_VALUE | 0 | req->q->timeout.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | req->special_vec.bv_len | 4096 |
| PARAM_VALUE | 0 | req->special_vec.bv_offset | 0-4095 |
| PARAM_VALUE | 0 | req->state | 1 |
| PARAM_VALUE | 0 | *req->mq_hctx->tags->rqs | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/nvme/host/fc.c nvme_fc_start_fcp_op() -> nvme_cleanup_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/nvme/host/fc.c nvme_fc_start_fcp_op() -> nvme_cleanup_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->bio | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->mq_hctx | 4096-ptr_max |
| PARAM_VALUE | 0 | req->mq_hctx->tags | 4096-ptr_max |
| PARAM_VALUE | 0 | req->mq_hctx->tags->rqs | 4096-ptr_max |
| PARAM_VALUE | 0 | req->q | 4096-ptr_max |
| PARAM_VALUE | 0 | req->q->queuedata->ctrl->nr_active.counter | s32min-s32max |
| PARAM_VALUE | 0 | req->q->timeout.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | req->state | 1 |
| PARAM_VALUE | 0 | *req->mq_hctx->tags->rqs | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/nvme/host/core.c __nvme_complete_rq() -> nvme_cleanup_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/nvme/host/core.c nvme_complete_batch_req() -> nvme_cleanup_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 1-u64max |
| DATA_SOURCE | 0 | req | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctx->uring_lock |
drivers/nvme/host/rdma.c nvme_rdma_queue_rq() -> nvme_cleanup_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->bio | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->bio->bi_iter.bi_bvec_done | 0-4294967295 |
| PARAM_VALUE | 0 | req->mq_hctx->tags | 4096-ptr_max |
| PARAM_VALUE | 0 | req->mq_hctx->tags->rqs | 4096-ptr_max |
| PARAM_VALUE | 0 | req->q | 4096-ptr_max |
| PARAM_VALUE | 0 | req->q->queuedata->ctrl->nr_active.counter | s32min-s32max |
| PARAM_VALUE | 0 | req->q->timeout.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | req->special_vec.bv_len | 4096 |
| PARAM_VALUE | 0 | req->special_vec.bv_offset | 0-4095 |
| PARAM_VALUE | 0 | *req->mq_hctx->tags->rqs | 4096-ptr_max |
| CAPPED_DATA | 0 | req | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | req->tag | |
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/nvme/host/pci.c nvme_prep_rq() -> nvme_cleanup_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->bio | 4096-ptr_max |
| PARAM_VALUE | 0 | req->bio->bi_iter.bi_bvec_done | 0-4294967295 |
| PARAM_VALUE | 0 | req->mq_hctx | 4096-ptr_max |
| PARAM_VALUE | 0 | req->mq_hctx->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | req->mq_hctx->driver_data->descriptor_pools.small->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | req->mq_hctx->driver_data->descriptor_pools.small->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | req->q | 4096-ptr_max |
| PARAM_VALUE | 0 | req->special_vec.bv_len | 4096 |
| PARAM_VALUE | 0 | req->special_vec.bv_offset | 0-4095 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/nvme/host/apple.c apple_nvme_queue_rq() -> nvme_cleanup_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->bio->bi_iter.bi_bvec_done | 0-4294967295 |
| PARAM_VALUE | 0 | req->special_vec.bv_len | 4096 |
| PARAM_VALUE | 0 | req->special_vec.bv_offset | 0-4095 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/nvme/host/tcp.c nvme_tcp_setup_cmd_pdu() -> nvme_cleanup_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->bio->bi_iter.bi_bvec_done | 0-4294967295 |
| PARAM_VALUE | 0 | req->special_vec.bv_len | 4096 |
| PARAM_VALUE | 0 | req->special_vec.bv_offset | 0-4095 |
| DATA_SOURCE | 0 | req | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |