Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/nvme/target/pci-epf.c nvmet_pci_epf_iod_parse_prp_list() -> nvmet_pci_epf_alloc_iod_data_segs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iod | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->ctrl->link_up | 1 |
| PARAM_VALUE | 0 | iod->ctrl->mdts | 1-u32max |
| PARAM_VALUE | 0 | iod->data_len | 1-u32max |
| PARAM_VALUE | 0 | iod->dma_dir | 1-2 |
| PARAM_VALUE | 0 | iod->req.cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.cqe | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.cqe->result.u64 | 0 |
| PARAM_VALUE | 0 | iod->req.cqe->sq_head | 0 |
| PARAM_VALUE | 0 | iod->req.cqe->status | 0 |
| PARAM_VALUE | 0 | iod->req.error_loc | u16max |
| PARAM_VALUE | 0 | iod->req.error_slba | 0 |
| PARAM_VALUE | 0 | iod->req.execute | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.metadata_len | 0,8-524288 |
| PARAM_VALUE | 0 | iod->req.metadata_sg | 0 |
| PARAM_VALUE | 0 | iod->req.metadata_sg_cnt | 0 |
| PARAM_VALUE | 0 | iod->req.ns | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.ns->ref.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | iod->req.ops->add_port | 0,356005027391569920,2756795675082964992,6131046472731693056,8447161825212018688,9193204452182413312 |
| PARAM_VALUE | 0 | iod->req.ops->create_cq | 0,7671863581302841344 |
| PARAM_VALUE | 0 | iod->req.ops->create_sq | 0,826737582494945280 |
| PARAM_VALUE | 0 | iod->req.ops->delete_cq | 0,3247279592098840576 |
| PARAM_VALUE | 0 | iod->req.ops->delete_ctrl | 0,4635914789364793344,5518681643582025728,6323258353186226176,6803246519075205120 |
| PARAM_VALUE | 0 | iod->req.ops->delete_sq | 0,1692952852207517696 |
| PARAM_VALUE | 0 | iod->req.ops->disc_traddr | 0,4842197189540585472,7976362722472898560 |
| PARAM_VALUE | 0 | iod->req.ops->discovery_chg | 0,4840688172820557824 |
| PARAM_VALUE | 0 | iod->req.ops->flags | 0,3 |
| PARAM_VALUE | 0 | iod->req.ops->get_feature | 0,4172988708510289920 |
| PARAM_VALUE | 0 | iod->req.ops->get_max_queue_size | 0,3598994287643836416 |
| PARAM_VALUE | 0 | iod->req.ops->get_mdts | 0,1240729637649383424,6215693805987676160 |
| PARAM_VALUE | 0 | iod->req.ops->host_traddr | 0,143851659462438912,2625472028080357376,3281768194697232384 |
| PARAM_VALUE | 0 | iod->req.ops->install_queue | 0,7656632576492318720 |
| PARAM_VALUE | 0 | iod->req.ops->msdbd | 0-1 |
| PARAM_VALUE | 0 | iod->req.ops->owner | 0 |
| PARAM_VALUE | 0 | iod->req.ops->queue_response | 0,673261683347714048,1727589018327519232,4231234284187914240,6960797624507817984,8058313105858142208 |
| PARAM_VALUE | 0 | iod->req.ops->remove_port | 0,1246405418997637120,1696684843887783936,4046473487155494912,5780625152656261120,8354855610354040832 |
| PARAM_VALUE | 0 | iod->req.ops->set_feature | 0,6816270163718651904 |
| PARAM_VALUE | 0 | iod->req.ops->type | 0-3,254 |
| PARAM_VALUE | 0 | iod->req.pc_ref | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.pc_ref->ref.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | iod->req.sg | 0 |
| PARAM_VALUE | 0 | iod->req.sg_cnt | 0 |
| PARAM_VALUE | 0 | iod->req.sq | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.transfer_len | 0 |
| PARAM_VALUE | 0 | iod->sq | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->sq->nvme_sq.ctrl->reset_tbkas | 1 |
| PARAM_VALUE | 0 | iod->sq->nvme_sq.ref.percpu_count_ptr | 1-u64max |
| CAPPED_DATA | 0 | iod->data_len | 1 |
| DATA_SOURCE | 0 | iod | $1 |
| FUZZY_MAX | 0 | iod->dma_dir | 2 |
| BIT_INFO | 0 | iod->cmd.common.flags | 0x0,0x3f |
| HARD_MAX | 0 | iod->dma_dir | 2 |
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/target/pci-epf.c nvmet_pci_epf_iod_parse_prp_simple() -> nvmet_pci_epf_alloc_iod_data_segs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iod | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->ctrl->link_up | 1 |
| PARAM_VALUE | 0 | iod->ctrl->mdts | 1-u32max |
| PARAM_VALUE | 0 | iod->data_len | 1-u32max |
| PARAM_VALUE | 0 | iod->dma_dir | 1-2 |
| PARAM_VALUE | 0 | iod->req.cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.cqe | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.cqe->result.u64 | 0 |
| PARAM_VALUE | 0 | iod->req.cqe->sq_head | 0 |
| PARAM_VALUE | 0 | iod->req.cqe->status | 0 |
| PARAM_VALUE | 0 | iod->req.error_loc | u16max |
| PARAM_VALUE | 0 | iod->req.error_slba | 0 |
| PARAM_VALUE | 0 | iod->req.execute | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.metadata_len | 0,8-524288 |
| PARAM_VALUE | 0 | iod->req.metadata_sg | 0 |
| PARAM_VALUE | 0 | iod->req.metadata_sg_cnt | 0 |
| PARAM_VALUE | 0 | iod->req.ns | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.ns->ref.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | iod->req.ops->add_port | 0,356005027391569920,2756795675082964992,6131046472731693056,8447161825212018688,9193204452182413312 |
| PARAM_VALUE | 0 | iod->req.ops->create_cq | 0,7671863581302841344 |
| PARAM_VALUE | 0 | iod->req.ops->create_sq | 0,826737582494945280 |
| PARAM_VALUE | 0 | iod->req.ops->delete_cq | 0,3247279592098840576 |
| PARAM_VALUE | 0 | iod->req.ops->delete_ctrl | 0,4635914789364793344,5518681643582025728,6323258353186226176,6803246519075205120 |
| PARAM_VALUE | 0 | iod->req.ops->delete_sq | 0,1692952852207517696 |
| PARAM_VALUE | 0 | iod->req.ops->disc_traddr | 0,4842197189540585472,7976362722472898560 |
| PARAM_VALUE | 0 | iod->req.ops->discovery_chg | 0,4840688172820557824 |
| PARAM_VALUE | 0 | iod->req.ops->flags | 0,3 |
| PARAM_VALUE | 0 | iod->req.ops->get_feature | 0,4172988708510289920 |
| PARAM_VALUE | 0 | iod->req.ops->get_max_queue_size | 0,3598994287643836416 |
| PARAM_VALUE | 0 | iod->req.ops->get_mdts | 0,1240729637649383424,6215693805987676160 |
| PARAM_VALUE | 0 | iod->req.ops->host_traddr | 0,143851659462438912,2625472028080357376,3281768194697232384 |
| PARAM_VALUE | 0 | iod->req.ops->install_queue | 0,7656632576492318720 |
| PARAM_VALUE | 0 | iod->req.ops->msdbd | 0-1 |
| PARAM_VALUE | 0 | iod->req.ops->owner | 0 |
| PARAM_VALUE | 0 | iod->req.ops->queue_response | 0,673261683347714048,1727589018327519232,4231234284187914240,6960797624507817984,8058313105858142208 |
| PARAM_VALUE | 0 | iod->req.ops->remove_port | 0,1246405418997637120,1696684843887783936,4046473487155494912,5780625152656261120,8354855610354040832 |
| PARAM_VALUE | 0 | iod->req.ops->set_feature | 0,6816270163718651904 |
| PARAM_VALUE | 0 | iod->req.ops->type | 0-3,254 |
| PARAM_VALUE | 0 | iod->req.pc_ref | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.pc_ref->ref.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | iod->req.sg | 0 |
| PARAM_VALUE | 0 | iod->req.sg_cnt | 0 |
| PARAM_VALUE | 0 | iod->req.sq | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.transfer_len | 0 |
| PARAM_VALUE | 0 | iod->sq | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->sq->nvme_sq.ctrl->reset_tbkas | 1 |
| PARAM_VALUE | 0 | iod->sq->nvme_sq.ref.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 1 | nsegs | 2 |
| CAPPED_DATA | 0 | iod->data_len | 1 |
| DATA_SOURCE | 0 | iod | $1 |
| FUZZY_MAX | 0 | iod->dma_dir | 2 |
| BIT_INFO | 0 | iod->cmd.common.flags | 0x0,0x3f |
| HARD_MAX | 0 | iod->dma_dir | 2 |
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/target/pci-epf.c nvmet_pci_epf_iod_parse_sgl_segments() -> nvmet_pci_epf_alloc_iod_data_segs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iod | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->cmd.common.dptr.sgl.type | 32,48 |
| PARAM_VALUE | 0 | iod->cmd.common.flags | 64-255 |
| PARAM_VALUE | 0 | iod->ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->ctrl->link_up | 1 |
| PARAM_VALUE | 0 | iod->ctrl->mdts | 1-u32max |
| PARAM_VALUE | 0 | iod->data_len | 1-u32max |
| PARAM_VALUE | 0 | iod->dma_dir | 1-2 |
| PARAM_VALUE | 0 | iod->req.cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.cqe | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.cqe->result.u64 | 0 |
| PARAM_VALUE | 0 | iod->req.cqe->sq_head | 0 |
| PARAM_VALUE | 0 | iod->req.cqe->status | 0 |
| PARAM_VALUE | 0 | iod->req.error_loc | u16max |
| PARAM_VALUE | 0 | iod->req.error_slba | 0 |
| PARAM_VALUE | 0 | iod->req.execute | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.metadata_len | 0,8-524288 |
| PARAM_VALUE | 0 | iod->req.metadata_sg | 0 |
| PARAM_VALUE | 0 | iod->req.metadata_sg_cnt | 0 |
| PARAM_VALUE | 0 | iod->req.ns | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.ns->ref.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | iod->req.ops->add_port | 0,356005027391569920,2756795675082964992,6131046472731693056,8447161825212018688,9193204452182413312 |
| PARAM_VALUE | 0 | iod->req.ops->create_cq | 0,7671863581302841344 |
| PARAM_VALUE | 0 | iod->req.ops->create_sq | 0,826737582494945280 |
| PARAM_VALUE | 0 | iod->req.ops->delete_cq | 0,3247279592098840576 |
| PARAM_VALUE | 0 | iod->req.ops->delete_ctrl | 0,4635914789364793344,5518681643582025728,6323258353186226176,6803246519075205120 |
| PARAM_VALUE | 0 | iod->req.ops->delete_sq | 0,1692952852207517696 |
| PARAM_VALUE | 0 | iod->req.ops->disc_traddr | 0,4842197189540585472,7976362722472898560 |
| PARAM_VALUE | 0 | iod->req.ops->discovery_chg | 0,4840688172820557824 |
| PARAM_VALUE | 0 | iod->req.ops->flags | 0,3 |
| PARAM_VALUE | 0 | iod->req.ops->get_feature | 0,4172988708510289920 |
| PARAM_VALUE | 0 | iod->req.ops->get_max_queue_size | 0,3598994287643836416 |
| PARAM_VALUE | 0 | iod->req.ops->get_mdts | 0,1240729637649383424,6215693805987676160 |
| PARAM_VALUE | 0 | iod->req.ops->host_traddr | 0,143851659462438912,2625472028080357376,3281768194697232384 |
| PARAM_VALUE | 0 | iod->req.ops->install_queue | 0,7656632576492318720 |
| PARAM_VALUE | 0 | iod->req.ops->msdbd | 0-1 |
| PARAM_VALUE | 0 | iod->req.ops->owner | 0 |
| PARAM_VALUE | 0 | iod->req.ops->queue_response | 0,673261683347714048,1727589018327519232,4231234284187914240,6960797624507817984,8058313105858142208 |
| PARAM_VALUE | 0 | iod->req.ops->remove_port | 0,1246405418997637120,1696684843887783936,4046473487155494912,5780625152656261120,8354855610354040832 |
| PARAM_VALUE | 0 | iod->req.ops->set_feature | 0,6816270163718651904 |
| PARAM_VALUE | 0 | iod->req.ops->type | 0-3,254 |
| PARAM_VALUE | 0 | iod->req.pc_ref | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.pc_ref->ref.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | iod->req.sg | 0 |
| PARAM_VALUE | 0 | iod->req.sg_cnt | 0 |
| PARAM_VALUE | 0 | iod->req.sq | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->req.transfer_len | 0 |
| PARAM_VALUE | 0 | iod->sq | 4096-ptr_max |
| PARAM_VALUE | 0 | iod->sq->nvme_sq.ctrl->reset_tbkas | 1 |
| PARAM_VALUE | 0 | iod->sq->nvme_sq.ref.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 1 | nsegs | (-1)-250000 |
| CAPPED_DATA | 0 | iod->data_len | 1 |
| DATA_SOURCE | 0 | iod | $1 |
| FUZZY_MAX | 0 | iod->dma_dir | 2 |
| HARD_MAX | 0 | iod->dma_dir | 2 |
| HALF_LOCKED2 | &pool->lock |