Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/infiniband/hw/erdma/erdma_verbs.c alloc_db_resources() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 6358355125299458048
PARAM_VALUE 2 req_size 32
PARAM_VALUE 3 resp0 3171870668942426112
PARAM_VALUE 4 resp1 5242472472987316224
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 32
UNITS 2 req_size unit_byte
LOCK2 &file->hw_destroy_rwsem
LOCK2 &file->ucontext_lock
TYPE_LOCK (struct ib_uverbs_file)->hw_destroy_rwsem
TYPE_LOCK (struct ib_uverbs_file)->ucontext_lock

drivers/infiniband/hw/erdma/erdma_verbs.c create_cq_cmd() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 1684448451387482112
PARAM_VALUE 2 req_size 40
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 40
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte

drivers/infiniband/hw/erdma/erdma_verbs.c create_qp_cmd() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 5383911951538434048
PARAM_VALUE 2 req_size 120
PARAM_VALUE 3 resp0 8336794943062433792
PARAM_VALUE 4 resp1 7713772877671968768
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 120
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte

drivers/infiniband/hw/erdma/erdma_verbs.c erdma_create_ah() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 3739387635375816704
PARAM_VALUE 2 req_size 56
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
BUF_SIZE 1 req 56
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte

drivers/infiniband/hw/erdma/erdma_verbs.c erdma_dereg_mr() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 6907368031887437824
PARAM_VALUE 2 req_size 16
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 16
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte

drivers/infiniband/hw/erdma/erdma_verbs.c erdma_destroy_ah() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 7971897318890426368
PARAM_VALUE 2 req_size 16
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
BUF_SIZE 1 req 16
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte
HALF_LOCKED2 &priv->dev->tx_global_lock
HALF_LOCKED2 &priv->lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags

drivers/infiniband/hw/erdma/erdma_verbs.c erdma_destroy_cq() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 4302350296284205056
PARAM_VALUE 2 req_size 16
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 16
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte

drivers/infiniband/hw/erdma/erdma_verbs.c erdma_destroy_qp() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 8070394510592331776
PARAM_VALUE 2 req_size 16
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 16
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte

drivers/infiniband/hw/erdma/erdma_verbs.c erdma_flush_worker() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 7664574332745306112
PARAM_VALUE 2 req_size 24
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 24
NOCHECK_CALL
UNITS 2 req_size unit_byte
HALF_LOCKED2 &pool->lock

drivers/infiniband/hw/erdma/erdma_verbs.c erdma_query_hw_stats() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 8497445120709021696
PARAM_VALUE 2 req_size 32
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 32
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &stats->lock

drivers/infiniband/hw/erdma/erdma_verbs.c erdma_query_qp() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 4057554854148222976
PARAM_VALUE 2 req_size 16
PARAM_VALUE 3 resp0 5051149043642703872
PARAM_VALUE 4 resp1 2598335067689848832
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 16
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte
HALF_LOCKED2 &iser_conn->state_mutex

drivers/infiniband/hw/erdma/erdma_verbs.c erdma_set_gid() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 8994843642700115968
PARAM_VALUE 2 req_size 32
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 32
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte
LOCK2 &table->lock
TYPE_LOCK (struct ib_gid_table)->lock

drivers/infiniband/hw/erdma/erdma_verbs.c erdma_set_mtu() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 3037188182257860608
PARAM_VALUE 2 req_size 16
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 16
NOCHECK_CALL
UNITS 2 req_size unit_byte

drivers/infiniband/hw/erdma/erdma_verbs.c free_db_resources() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 8872931187183730688
PARAM_VALUE 2 req_size 32
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 32
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte
HALF_LOCKED2 &file->hw_destroy_rwsem
HALF_LOCKED2 &file->ucontext_lock
HALF_LOCKED2 &ufile->hw_destroy_rwsem
TYPE_LOCK (struct ib_uverbs_file)->hw_destroy_rwsem

drivers/infiniband/hw/erdma/erdma_verbs.c regmr_cmd() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 8797827795708923904
PARAM_VALUE 2 req_size 64
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 64
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte

drivers/infiniband/hw/erdma/erdma_eq.c create_eq_cmd() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 0 cmdq->comp_wait_bitmap 16,4096-ptr_max
PARAM_VALUE 0 cmdq->cq.dbrec 4096-ptr_max
PARAM_VALUE 0 cmdq->cq.depth 512
PARAM_VALUE 0 cmdq->cq.qbuf 0-ptr_max
PARAM_VALUE 0 cmdq->eq.ci 0
PARAM_VALUE 0 cmdq->eq.dbrec 4096-ptr_max
PARAM_VALUE 0 cmdq->eq.depth 128
PARAM_VALUE 0 cmdq->eq.qbuf 1-ptr_max
PARAM_VALUE 0 cmdq->max_outstandings 128
PARAM_VALUE 0 cmdq->sq.dbrec 4096-ptr_max
PARAM_VALUE 0 cmdq->sq.depth 512
PARAM_VALUE 0 cmdq->sq.qbuf 0-ptr_max
PARAM_VALUE 0 cmdq->sq.wqebb_cnt 4
PARAM_VALUE 0 cmdq->wait_pool 4096-ptr_max
PARAM_VALUE 1 req 8795431575646543872
PARAM_VALUE 2 req_size 32
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
PARAM_VALUE 5 sleepable 0
BUF_SIZE 1 req 32
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock

drivers/infiniband/hw/erdma/erdma_eq.c erdma_ceq_uninit_one() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 8173262651572707328
PARAM_VALUE 2 req_size 24
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
PARAM_VALUE 5 sleepable 0
BUF_SIZE 1 req 24
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte
HALF_LOCKED2 &pdev->dev.mutex

drivers/infiniband/hw/erdma/erdma_main.c erdma_dev_attrs_init() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 6201801715680546816
PARAM_VALUE 1 *req 0-67108863
PARAM_VALUE 2 req_size 8
PARAM_VALUE 3 resp0 9170693405170188288
PARAM_VALUE 4 resp1 4068349549103783936
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 8
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock

drivers/infiniband/hw/erdma/erdma_main.c erdma_dev_attrs_init() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 0 cmdq->credits.last_holder 0
PARAM_VALUE 0 cmdq->credits.lock.owner (-1)
PARAM_VALUE 0 cmdq->credits.lock.owner_cpu u32max
PARAM_VALUE 1 req 6201801715680546816
PARAM_VALUE 1 *req 0-67108863
PARAM_VALUE 2 req_size 8
PARAM_VALUE 3 resp0 9170693405170188288
PARAM_VALUE 4 resp1 4068349549103783936
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 8
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock

drivers/infiniband/hw/erdma/erdma_main.c erdma_device_config() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 0 cmdq->credits.last_holder 0
PARAM_VALUE 0 cmdq->credits.lock.owner (-1)
PARAM_VALUE 0 cmdq->credits.lock.owner_cpu u32max
PARAM_VALUE 1 req 1275962186016747520
PARAM_VALUE 2 req_size 32
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 32
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock

drivers/infiniband/hw/erdma/erdma_qp.c erdma_modify_qp_state_to_rts() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 5836204361423355904
PARAM_VALUE 2 req_size 40
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 40
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte
LOCK2 &qp->state_lock
TYPE_LOCK (struct erdma_qp)->state_lock

drivers/infiniband/hw/erdma/erdma_qp.c erdma_modify_qp_state_to_stop() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 9041459571961712640
PARAM_VALUE 2 req_size 40
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 40
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte
LOCK2 &qp->state_lock
TYPE_LOCK (struct erdma_qp)->state_lock

drivers/infiniband/hw/erdma/erdma_qp.c modify_qp_cmd_rocev2() -> erdma_post_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 cmdq 4096-ptr_max
PARAM_VALUE 1 req 1740997572827807744
PARAM_VALUE 2 req_size 72
PARAM_VALUE 3 resp0 0
PARAM_VALUE 4 resp1 0
PARAM_VALUE 5 sleepable 1
BUF_SIZE 1 req 72
MEM_ZERO 1 req
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_size unit_byte
LOCK2 &qp->state_lock
TYPE_LOCK (struct erdma_qp)->state_lock