Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/nvme/target/admin-cmd.c nvmet_execute_get_log_changed_ns() -> nvmet_zero_sgl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | req->cmd->get_log_page.lid | 4 |
| PARAM_VALUE | 0 | req->ops->add_port | 0,356005027391569920,2756795675082964992,6131046472731693056,8447161825212018688,9193204452182413312 |
| PARAM_VALUE | 0 | req->ops->create_cq | 0,7671863581302841344 |
| PARAM_VALUE | 0 | req->ops->create_sq | 0,826737582494945280 |
| PARAM_VALUE | 0 | req->ops->delete_cq | 0,3247279592098840576 |
| PARAM_VALUE | 0 | req->ops->delete_ctrl | 0,4635914789364793344,5518681643582025728,6323258353186226176,6803246519075205120 |
| PARAM_VALUE | 0 | req->ops->delete_sq | 0,1692952852207517696 |
| PARAM_VALUE | 0 | req->ops->disc_traddr | 0,4842197189540585472,7976362722472898560 |
| PARAM_VALUE | 0 | req->ops->discovery_chg | 0,4840688172820557824 |
| PARAM_VALUE | 0 | req->ops->flags | 0,3 |
| PARAM_VALUE | 0 | req->ops->get_feature | 0,4172988708510289920 |
| PARAM_VALUE | 0 | req->ops->get_max_queue_size | 0,3598994287643836416 |
| PARAM_VALUE | 0 | req->ops->get_mdts | 0,1240729637649383424,6215693805987676160 |
| PARAM_VALUE | 0 | req->ops->host_traddr | 0,143851659462438912,2625472028080357376,3281768194697232384 |
| PARAM_VALUE | 0 | req->ops->install_queue | 0,7656632576492318720 |
| PARAM_VALUE | 0 | req->ops->msdbd | 0-1 |
| PARAM_VALUE | 0 | req->ops->owner | 0 |
| PARAM_VALUE | 0 | req->ops->queue_response | 0,673261683347714048,1727589018327519232,4231234284187914240,6960797624507817984,8058313105858142208 |
| PARAM_VALUE | 0 | req->ops->remove_port | 0,1246405418997637120,1696684843887783936,4046473487155494912,5780625152656261120,8354855610354040832 |
| PARAM_VALUE | 0 | req->ops->set_feature | 0,6816270163718651904 |
| PARAM_VALUE | 0 | req->ops->type | 0-3,254 |
| PARAM_VALUE | 0 | req->sq | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sq->ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sq->ctrl->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | req->sq->ctrl->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | req->sq->ctrl->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | req->sq->ctrl->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | req->sq->ctrl->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | req->sq->ctrl->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | req->transfer_len | 4096 |
| PARAM_VALUE | 1 | off | 0-4294967295 |
| PARAM_VALUE | 2 | len | 0-4096,18446744069414588417-u64max |
| BUF_SIZE | 0 | req | (-1),512 |
| BUF_SIZE | 0 | req | (-1),512 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | req->sg_cnt | |
| UNITS | 1 | off | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | &ctrl->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct nvmet_ctrl)->lock |
drivers/nvme/target/admin-cmd.c nvmet_execute_get_log_page_noop() -> nvmet_zero_sgl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | req->cmd->get_log_page.lid | 3 |
| PARAM_VALUE | 0 | req->ops->add_port | 0,356005027391569920,2756795675082964992,6131046472731693056,8447161825212018688,9193204452182413312 |
| PARAM_VALUE | 0 | req->ops->create_cq | 0,7671863581302841344 |
| PARAM_VALUE | 0 | req->ops->create_sq | 0,826737582494945280 |
| PARAM_VALUE | 0 | req->ops->delete_cq | 0,3247279592098840576 |
| PARAM_VALUE | 0 | req->ops->delete_ctrl | 0,4635914789364793344,5518681643582025728,6323258353186226176,6803246519075205120 |
| PARAM_VALUE | 0 | req->ops->delete_sq | 0,1692952852207517696 |
| PARAM_VALUE | 0 | req->ops->disc_traddr | 0,4842197189540585472,7976362722472898560 |
| PARAM_VALUE | 0 | req->ops->discovery_chg | 0,4840688172820557824 |
| PARAM_VALUE | 0 | req->ops->flags | 0,3 |
| PARAM_VALUE | 0 | req->ops->get_feature | 0,4172988708510289920 |
| PARAM_VALUE | 0 | req->ops->get_max_queue_size | 0,3598994287643836416 |
| PARAM_VALUE | 0 | req->ops->get_mdts | 0,1240729637649383424,6215693805987676160 |
| PARAM_VALUE | 0 | req->ops->host_traddr | 0,143851659462438912,2625472028080357376,3281768194697232384 |
| PARAM_VALUE | 0 | req->ops->install_queue | 0,7656632576492318720 |
| PARAM_VALUE | 0 | req->ops->msdbd | 0-1 |
| PARAM_VALUE | 0 | req->ops->owner | 0 |
| PARAM_VALUE | 0 | req->ops->queue_response | 0,673261683347714048,1727589018327519232,4231234284187914240,6960797624507817984,8058313105858142208 |
| PARAM_VALUE | 0 | req->ops->remove_port | 0,1246405418997637120,1696684843887783936,4046473487155494912,5780625152656261120,8354855610354040832 |
| PARAM_VALUE | 0 | req->ops->set_feature | 0,6816270163718651904 |
| PARAM_VALUE | 0 | req->ops->type | 0-3,254 |
| PARAM_VALUE | 1 | off | 0 |
| BUF_SIZE | 0 | req | (-1),512 |
| BUF_SIZE | 0 | req | (-1),512 |
| CAPPED_DATA | 0 | req->transfer_len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | req->sg_cnt | |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/target/admin-cmd.c nvmet_execute_identify_ctrl_nvm() -> nvmet_zero_sgl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | req->cmd->identify.cns | 6 |
| PARAM_VALUE | 0 | req->cmd->identify.csi | 0 |
| PARAM_VALUE | 0 | req->ops->add_port | 0,356005027391569920,2756795675082964992,6131046472731693056,8447161825212018688,9193204452182413312 |
| PARAM_VALUE | 0 | req->ops->create_cq | 0,7671863581302841344 |
| PARAM_VALUE | 0 | req->ops->create_sq | 0,826737582494945280 |
| PARAM_VALUE | 0 | req->ops->delete_cq | 0,3247279592098840576 |
| PARAM_VALUE | 0 | req->ops->delete_ctrl | 0,4635914789364793344,5518681643582025728,6323258353186226176,6803246519075205120 |
| PARAM_VALUE | 0 | req->ops->delete_sq | 0,1692952852207517696 |
| PARAM_VALUE | 0 | req->ops->disc_traddr | 0,4842197189540585472,7976362722472898560 |
| PARAM_VALUE | 0 | req->ops->discovery_chg | 0,4840688172820557824 |
| PARAM_VALUE | 0 | req->ops->flags | 0,3 |
| PARAM_VALUE | 0 | req->ops->get_feature | 0,4172988708510289920 |
| PARAM_VALUE | 0 | req->ops->get_max_queue_size | 0,3598994287643836416 |
| PARAM_VALUE | 0 | req->ops->get_mdts | 0,1240729637649383424,6215693805987676160 |
| PARAM_VALUE | 0 | req->ops->host_traddr | 0,143851659462438912,2625472028080357376,3281768194697232384 |
| PARAM_VALUE | 0 | req->ops->install_queue | 0,7656632576492318720 |
| PARAM_VALUE | 0 | req->ops->msdbd | 0-1 |
| PARAM_VALUE | 0 | req->ops->owner | 0 |
| PARAM_VALUE | 0 | req->ops->queue_response | 0,673261683347714048,1727589018327519232,4231234284187914240,6960797624507817984,8058313105858142208 |
| PARAM_VALUE | 0 | req->ops->remove_port | 0,1246405418997637120,1696684843887783936,4046473487155494912,5780625152656261120,8354855610354040832 |
| PARAM_VALUE | 0 | req->ops->set_feature | 0,6816270163718651904 |
| PARAM_VALUE | 0 | req->ops->type | 0-3,254 |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | len | 4096 |
| BUF_SIZE | 0 | req | (-1),512 |
| BUF_SIZE | 0 | req | (-1),512 |
| CAPPED_DATA | 0 | req->transfer_len | 1 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | req->sg_cnt | |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/target/discovery.c nvmet_execute_disc_get_log_page() -> nvmet_zero_sgl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | req->cmd->get_log_page.lid | 112 |
| PARAM_VALUE | 0 | req->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | req->ops->add_port | 0,356005027391569920,2756795675082964992,6131046472731693056,8447161825212018688,9193204452182413312 |
| PARAM_VALUE | 0 | req->ops->create_cq | 0,7671863581302841344 |
| PARAM_VALUE | 0 | req->ops->create_sq | 0,826737582494945280 |
| PARAM_VALUE | 0 | req->ops->delete_cq | 0,3247279592098840576 |
| PARAM_VALUE | 0 | req->ops->delete_ctrl | 0,4635914789364793344,5518681643582025728,6323258353186226176,6803246519075205120 |
| PARAM_VALUE | 0 | req->ops->delete_sq | 0,1692952852207517696 |
| PARAM_VALUE | 0 | req->ops->disc_traddr | 0,4842197189540585472,7976362722472898560 |
| PARAM_VALUE | 0 | req->ops->discovery_chg | 0,4840688172820557824 |
| PARAM_VALUE | 0 | req->ops->flags | 0,3 |
| PARAM_VALUE | 0 | req->ops->get_feature | 0,4172988708510289920 |
| PARAM_VALUE | 0 | req->ops->get_max_queue_size | 0,3598994287643836416 |
| PARAM_VALUE | 0 | req->ops->get_mdts | 0,1240729637649383424,6215693805987676160 |
| PARAM_VALUE | 0 | req->ops->host_traddr | 0,143851659462438912,2625472028080357376,3281768194697232384 |
| PARAM_VALUE | 0 | req->ops->install_queue | 0,7656632576492318720 |
| PARAM_VALUE | 0 | req->ops->msdbd | 0-1 |
| PARAM_VALUE | 0 | req->ops->owner | 0 |
| PARAM_VALUE | 0 | req->ops->queue_response | 0,673261683347714048,1727589018327519232,4231234284187914240,6960797624507817984,8058313105858142208 |
| PARAM_VALUE | 0 | req->ops->remove_port | 0,1246405418997637120,1696684843887783936,4046473487155494912,5780625152656261120,8354855610354040832 |
| PARAM_VALUE | 0 | req->ops->set_feature | 0,6816270163718651904 |
| PARAM_VALUE | 0 | req->ops->type | 0-3,254 |
| PARAM_VALUE | 0 | req->port | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sq | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 1-4000000 |
| PARAM_VALUE | 2 | len | 1-4294967294 |
| BUF_SIZE | 0 | req | (-1),512 |
| BUF_SIZE | 0 | req | (-1),512 |
| CAPPED_DATA | 0 | req->transfer_len | 1 |
| CAPPED_DATA | 0 | &req->port->referrals | 1 |
| CAPPED_DATA | 0 | &req->port->subsystems | 1 |
| CAPPED_DATA | 1 | off | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | req | $0 |
| PARAM_COMPARE | 1 | off | <= $0->transfer_len |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | req->sg_cnt | |
| UNITS | 1 | off | unit_byte |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &pool->lock |