Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/infiniband/sw/rdmavt/qp.c rvt_ruc_loopback() -> rvt_get_rwqe()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->ibqp.qp_type 2-3
PARAM_VALUE 1 wr_id_only 0
CAPPED_DATA 0 qp->ibqp.qp_type 1
DATA_SOURCE 0 qp r rvt_lookup_qpn
PREEMPT_ADD <- disables preempt
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 rcu_read
LOCK2 0 &qp->r_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rvt_qp)->r_lock

drivers/infiniband/sw/rdmavt/qp.c rvt_ruc_loopback() -> rvt_get_rwqe()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->ibqp.qp_type 2-3
PARAM_VALUE 0 qp->qp_access_flags 2-255
PARAM_VALUE 1 wr_id_only 1
CAPPED_DATA 0 qp->ibqp.qp_type 1
DATA_SOURCE 0 qp r rvt_lookup_qpn
BIT_INFO 0 qp->qp_access_flags 0x2,0xff
PREEMPT_ADD <- disables preempt
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 rcu_read
LOCK2 0 &qp->r_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rvt_qp)->r_lock

drivers/infiniband/hw/hfi1/ud.c hfi1_ud_rcv() -> rvt_get_rwqe()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 1 wr_id_only 0
BIT_INFO 0 qp->r_flags 0x0,0xfe
TASK_NOT_RUNNING
LOCK2 &packet->qp->r_lock
LOCK2 flags
LOCK2 rcu_read
TYPE_LOCK (struct rvt_qp)->r_lock

drivers/infiniband/hw/hfi1/ud.c ud_loopback() -> rvt_get_rwqe()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 1 wr_id_only 0
DATA_SOURCE 0 qp r rvt_lookup_qpn
BIT_INFO 0 qp->r_flags 0x0,0xfe
PREEMPT_ADD <- disables preempt
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 ps.flags
LOCK2 rcu_read
LOCK2 0 &qp->r_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rvt_qp)->r_lock

drivers/infiniband/hw/hfi1/rc.c hfi1_rc_rcv() -> rvt_get_rwqe()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->priv 4096-ptr_max
PARAM_VALUE 0 qp->priv->opfn.completed 0-u16max
PARAM_VALUE 0 qp->priv->opfn.curr 0-1
PARAM_VALUE 0 qp->priv->opfn.extended 1
PARAM_VALUE 0 qp->r_state 2-5,8-255
PARAM_VALUE 1 wr_id_only 0
TASK_NOT_RUNNING
LOCK2 &packet->qp->r_lock
LOCK2 flags
LOCK2 rcu_read
TYPE_LOCK (struct rvt_qp)->r_lock

drivers/infiniband/hw/hfi1/rc.c hfi1_rc_rcv() -> rvt_get_rwqe()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->priv 4096-ptr_max
PARAM_VALUE 0 qp->priv->opfn.completed 0-u16max
PARAM_VALUE 0 qp->priv->opfn.curr 0-1
PARAM_VALUE 0 qp->priv->opfn.extended 1
PARAM_VALUE 0 qp->r_state 6-7
PARAM_VALUE 1 wr_id_only 1
TASK_NOT_RUNNING
LOCK2 &packet->qp->r_lock
LOCK2 flags
LOCK2 rcu_read
TYPE_LOCK (struct rvt_qp)->r_lock

drivers/infiniband/hw/hfi1/rc.c hfi1_rc_rcv() -> rvt_get_rwqe()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->priv 4096-ptr_max
PARAM_VALUE 0 qp->priv->opfn.completed 0-u16max
PARAM_VALUE 0 qp->priv->opfn.curr 0-1
PARAM_VALUE 0 qp->priv->opfn.extended 1
PARAM_VALUE 0 qp->r_state 2-5,8-255
PARAM_VALUE 1 wr_id_only 0
TASK_NOT_RUNNING
LOCK2 &packet->qp->r_lock
LOCK2 flags
LOCK2 rcu_read
TYPE_LOCK (struct rvt_qp)->r_lock

drivers/infiniband/hw/hfi1/rc.c hfi1_rc_rcv() -> rvt_get_rwqe()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->priv 4096-ptr_max
PARAM_VALUE 0 qp->priv->opfn.completed 0-u16max
PARAM_VALUE 0 qp->priv->opfn.curr 0-1
PARAM_VALUE 0 qp->priv->opfn.extended 1
PARAM_VALUE 0 qp->qp_access_flags 2-255
PARAM_VALUE 0 qp->r_rcv_len 0
PARAM_VALUE 0 qp->r_sge.num_sge 0-1
PARAM_VALUE 0 qp->r_sge.sg_list 0
PARAM_VALUE 0 qp->r_sge.sge.length 0
PARAM_VALUE 0 qp->r_sge.sge.mr 0,4096-ptr_max
PARAM_VALUE 0 qp->r_sge.sge.mr->lkey 1-u32max
PARAM_VALUE 0 qp->r_sge.sge.mr->lkey_invalid.counter 0
PARAM_VALUE 0 qp->r_sge.sge.mr->lkey_published 1-255
PARAM_VALUE 0 qp->r_sge.sge.mr->refcount.percpu_count_ptr 1-u64max
PARAM_VALUE 0 qp->r_sge.sge.sge_length 0
PARAM_VALUE 0 qp->r_sge.sge.vaddr 0
PARAM_VALUE 0 qp->r_state 2-5,8-255
PARAM_VALUE 1 wr_id_only 1
FUZZY_MAX 0 qp->r_sge.num_sge 1
BIT_INFO 0 qp->qp_access_flags 0x2,0xff
HARD_MAX 0 qp->r_sge.num_sge 1
TASK_NOT_RUNNING
LOCK2 &packet->qp->r_lock
LOCK2 flags
LOCK2 rcu_read
TYPE_LOCK (struct rvt_qp)->r_lock

drivers/infiniband/hw/hfi1/uc.c hfi1_uc_rcv() -> rvt_get_rwqe()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->r_state 0-31,34-37,40-255
PARAM_VALUE 1 wr_id_only 0
FUZZY_MAX 0 qp->r_state 34
TASK_NOT_RUNNING
LOCK2 &packet->qp->r_lock
LOCK2 flags
LOCK2 rcu_read
TYPE_LOCK (struct rvt_qp)->r_lock

drivers/infiniband/hw/hfi1/uc.c hfi1_uc_rcv() -> rvt_get_rwqe()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->r_state 0-31,34-255
PARAM_VALUE 1 wr_id_only 1
CAPPED_DATA 0 qp->r_len 1
FUZZY_MAX 0 qp->r_state 34
TASK_NOT_RUNNING
LOCK2 &packet->qp->r_lock
LOCK2 flags
LOCK2 rcu_read
TYPE_LOCK (struct rvt_qp)->r_lock