Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/nvme/target/loop.c nvme_loop_configure_admin_queue() -> nvmet_sq_init()

Type Parameter Key Value
PARAM_VALUE 0 sq 4096-ptr_max
HALF_LOCKED2 global &nvmf_dev_mutex

drivers/nvme/target/loop.c nvme_loop_init_io_queues() -> nvmet_sq_init()

Type Parameter Key Value
PARAM_VALUE 0 sq 4096-ptr_max
HALF_LOCKED2 global &nvmf_dev_mutex

drivers/nvme/target/core.c nvmet_sq_create() -> nvmet_sq_init()

Type Parameter Key Value
PARAM_VALUE 0 sq 4096-ptr_max
PARAM_VALUE 1 cq 4096-ptr_max
DATA_SOURCE 0 sq $1
DATA_SOURCE 1 cq $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/nvme/target/fc.c nvmet_fc_alloc_target_queue() -> nvmet_sq_init()

Type Parameter Key Value
PARAM_VALUE 0 sq 4096-ptr_max
PARAM_VALUE 1 cq 4096-ptr_max
PARAM_VALUE 1 cq->ref.refs.counter 1
HALF_LOCKED2 &pool->lock

drivers/nvme/target/tcp.c nvmet_tcp_alloc_queue() -> nvmet_sq_init()

Type Parameter Key Value
PARAM_VALUE 0 sq 4096-ptr_max
PARAM_VALUE 1 cq 4096-ptr_max
PARAM_VALUE 1 cq->ref.refs.counter 1
HALF_LOCKED2 &pool->lock

drivers/nvme/target/rdma.c nvmet_rdma_alloc_queue() -> nvmet_sq_init()

Type Parameter Key Value
PARAM_VALUE 0 sq 4096-ptr_max
PARAM_VALUE 1 cq 4096-ptr_max
PARAM_VALUE 1 cq->ref.refs.counter 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &id_priv->handler_mutex
HALF_LOCKED2 &listen_id->handler_mutex