Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/nvme/host/fabrics.c, line 576
- drivers/nvme/host/fc.c, line 2336
- drivers/nvme/host/rdma.c, line 684
- drivers/nvme/host/tcp.c, line 2025
- drivers/nvme/target/loop.c, line 354
Smatch caller information:
drivers/nvme/target/loop.c nvme_loop_connect_io_queues() -> nvmf_connect_io_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->abort_limit.counter | 1-256 |
| PARAM_VALUE | 0 | ctrl->admin_q | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->cntrltype | 0-255 |
| PARAM_VALUE | 0 | ctrl->ctrl_config | 4587521,4587617 |
| PARAM_VALUE | 0 | ctrl->dctype | 0-255 |
| PARAM_VALUE | 0 | ctrl->hwmon_device | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->identified | 1 |
| PARAM_VALUE | 0 | ctrl->max_integrity_segments | 0-u16max |
| PARAM_VALUE | 0 | ctrl->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->opts | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->queue_count | 2-u32max |
| PARAM_VALUE | 0 | ctrl->shutdown_timeout | 0-255 |
| PARAM_VALUE | 0 | ctrl->state | 0,3 |
| CAPPED_DATA | 1 | qid | 1 |
| HOST_DATA | 0 | ctrl->cap | 0-u64max |
| HOST_DATA | 0 | ctrl->max_hw_sectors | 1-u32max[c] |
| HOST_DATA | 0 | ctrl->maxcmd | 0-u16max |
| HOST_DATA | 0 | ctrl->quirks | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->ana_log_size | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->cdev.count | |
| UNITS | 1 | qid | unit_array_size |
| HALF_LOCKED2 | global &nvmf_dev_mutex |
drivers/nvme/host/fc.c nvme_fc_connect_io_queues() -> nvmf_connect_io_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->abort_limit.counter | 1-256 |
| PARAM_VALUE | 0 | ctrl->ana_log_buf | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ana_log_size | 0,20-4294966784 |
| PARAM_VALUE | 0 | ctrl->cntrltype | 0-255 |
| PARAM_VALUE | 0 | ctrl->ctrl_config | 4587521,4587617 |
| PARAM_VALUE | 0 | ctrl->dctype | 0-255 |
| PARAM_VALUE | 0 | ctrl->device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->effects | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->hwmon_device | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->icdoff | 0 |
| PARAM_VALUE | 0 | ctrl->identified | 1 |
| PARAM_VALUE | 0 | ctrl->max_integrity_segments | 0-u16max |
| PARAM_VALUE | 0 | ctrl->max_segments | 0-u16max |
| PARAM_VALUE | 0 | ctrl->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->opts | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->queue_count | 2 |
| PARAM_VALUE | 0 | ctrl->sgls | 1-u32max |
| PARAM_VALUE | 0 | ctrl->shutdown_timeout | 0-255 |
| PARAM_VALUE | 1 | qid | 1 |
| HOST_DATA | 0 | ctrl->cap | 0-u64max |
| HOST_DATA | 0 | ctrl->max_hw_sectors | 1-u32max[c] |
| HOST_DATA | 0 | ctrl->maxcmd | 0-u16max |
| HOST_DATA | 0 | ctrl->quirks | 0-u64max |
| HOST_DATA | 0 | ctrl->sqsize | 0-u16max[c] |
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/host/rdma.c nvme_rdma_start_queue() -> nvmf_connect_io_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->icdoff | 0 |
| PARAM_VALUE | 0 | ctrl->opts | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->queue_count | 2 |
| PARAM_VALUE | 0 | ctrl->sgls | 4-u32max |
| CAPPED_DATA | 1 | qid | 1 |
| DATA_SOURCE | 1 | qid | $1 |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->cdev.count | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->queue_count | |
| NO_OVERFLOW_SIMPLE | 1 | qid | |
| UNITS | 1 | qid | unit_array_size |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &nvmf_dev_mutex |
drivers/nvme/host/tcp.c nvme_tcp_start_queue() -> nvmf_connect_io_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->admin_q->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ctrl->connect_q->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ctrl->connect_q->stats->accounting | s32min-s32max |
| PARAM_VALUE | 0 | ctrl->device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ctrl->fabrics_q->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ctrl->icdoff | 0 |
| PARAM_VALUE | 0 | ctrl->ops->reg_read32 | 43452004001030144,5578377092941922304,7799053347571187712 |
| PARAM_VALUE | 0 | ctrl->ops->reg_read64 | 254817723653337088,259510936269361152,7214456386873425920 |
| PARAM_VALUE | 0 | ctrl->ops->reg_write32 | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ops->stop_ctrl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->opts | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->queue_count | 2 |
| PARAM_VALUE | 0 | ctrl->sgls | 1-u32max |
| PARAM_VALUE | 0 | ctrl->tagset | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->tagset->update_nr_hwq_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ctrl->tagset->update_nr_hwq_lock.first_waiter->type | 0-1 |
| CAPPED_DATA | 0 | ctrl->maxcmd | 1 |
| CAPPED_DATA | 0 | ctrl->tagset | 1 |
| CAPPED_DATA | 1 | qid | 1 |
| DATA_SOURCE | 0 | ctrl | $0 |
| DATA_SOURCE | 1 | qid | $1 |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->admin_q->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->admin_q->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->admin_q->nr_requests | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->admin_q->tag_set->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->admin_q->tag_set->queue_depth | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->ana_log_size | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->cdev.count | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->connect_q->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->connect_q->nr_requests | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->connect_q->tag_set->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->connect_q->tag_set->queue_depth | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->ctrl_key->len | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->fabrics_q->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->fabrics_q->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->fabrics_q->nr_requests | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->fabrics_q->tag_set->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->fabrics_q->tag_set->queue_depth | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->host_key->len | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->queue_count | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->tagset->queue_depth | |
| NO_OVERFLOW_SIMPLE | 1 | qid | |
| UNITS | 1 | qid | unit_array_size |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &nvmf_dev_mutex |