Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->ibqp.qp_type 2-3
PARAM_VALUE 1 err 2,4
CAPPED_DATA 0 qp->ibqp.qp_type 1
DATA_SOURCE 0 qp r rvt_lookup_qpn
FUZZY_MAX 1 err 4
BIT_INFO 1 err 0x0,0x6
HARD_MAX 1 err 4
PREEMPT_ADD <- disables preempt
TASK_NOT_RUNNING
NOCHECK_CALL
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_rc_error()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->ibqp.srq 0,4096-ptr_max
PARAM_VALUE 0 qp->r_sge.num_sge 0
PARAM_VALUE 1 err 2
BIT_INFO 0 qp->r_flags 0x0,0xfe
TASK_NOT_RUNNING
NOCHECK_CALL
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_rc_error()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->ibqp.srq 0,4096-ptr_max
PARAM_VALUE 0 qp->r_sge.num_sge 0
PARAM_VALUE 1 err 2
DATA_SOURCE 0 qp r rvt_lookup_qpn
BIT_INFO 0 qp->r_flags 0x0,0xfe
PREEMPT_ADD <- disables preempt
TASK_NOT_RUNNING
NOCHECK_CALL
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_rc_error()

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-255
PARAM_VALUE 1 err 2
TASK_NOT_RUNNING
NOCHECK_CALL
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_rc_error()

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->s_ack_queue 4096-ptr_max
PARAM_VALUE 0 qp->s_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 err 2
TASK_NOT_RUNNING
NOCHECK_CALL
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_rc_error()

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_state 2-5,8-255
PARAM_VALUE 0 qp->s_ack_queue 4096-ptr_max
PARAM_VALUE 0 qp->s_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 err 4
TASK_NOT_RUNNING
NOCHECK_CALL
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_rc_error()

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

drivers/infiniband/hw/hfi1/tid_rdma.c hfi1_rc_rcv_tid_rdma_read_req() -> rvt_rc_error()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->s_ack_queue 4096-ptr_max
PARAM_VALUE 0 qp->s_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 err 2
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &packet->qp->r_lock
LOCK2 flags
LOCK2 rcu_read
TYPE_LOCK (struct rvt_qp)->r_lock

drivers/infiniband/hw/hfi1/tid_rdma.c hfi1_rc_rcv_tid_rdma_read_req() -> rvt_rc_error()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->priv 4096-ptr_max
PARAM_VALUE 0 qp->qp_access_flags 4-255
PARAM_VALUE 0 qp->r_len 1-u32max
PARAM_VALUE 0 qp->s_ack_queue 4096-ptr_max
PARAM_VALUE 0 qp->s_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 err 4
CAPPED_DATA 0 qp->r_len 1
BIT_INFO 0 qp->qp_access_flags 0x4,0xffffffffffffffff
BIT_INFO 0 qp->r_len 0x0,0xfffff000
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &packet->qp->r_lock
LOCK2 flags
LOCK2 rcu_read
TYPE_LOCK (struct rvt_qp)->r_lock

drivers/infiniband/hw/hfi1/tid_rdma.c hfi1_rc_rcv_tid_rdma_write_req() -> rvt_rc_error()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->qp_access_flags 2-255
PARAM_VALUE 0 qp->s_ack_queue 4096-ptr_max
PARAM_VALUE 0 qp->s_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 err 2
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &packet->qp->r_lock
LOCK2 flags
LOCK2 rcu_read
TYPE_LOCK (struct rvt_qp)->r_lock

drivers/infiniband/hw/hfi1/tid_rdma.c hfi1_rc_rcv_tid_rdma_write_req() -> rvt_rc_error()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->priv 4096-ptr_max
PARAM_VALUE 0 qp->qp_access_flags 2-255
PARAM_VALUE 0 qp->r_len 1-u32max
PARAM_VALUE 0 qp->s_ack_queue 4096-ptr_max
PARAM_VALUE 0 qp->s_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 err 4
BIT_INFO 0 qp->qp_access_flags 0x2,0xffffffffffffffff
BIT_INFO 0 qp->r_len 0x0,0xfffff000
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &packet->qp->r_lock
LOCK2 flags
LOCK2 rcu_read
TYPE_LOCK (struct rvt_qp)->r_lock

drivers/infiniband/hw/hfi1/tid_rdma.c hfi1_tid_timeout() -> rvt_rc_error()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->priv 4096-ptr_max
PARAM_VALUE 0 qp->priv->flow_state.index 32-255
PARAM_VALUE 0 qp->priv->s_flags 0-4294967291
PARAM_VALUE 0 qp->priv->s_tid_timer.entry.pprev 0
PARAM_VALUE 0 qp->priv->s_tid_timer.flags 0-4194302
PARAM_VALUE 0 qp->priv->s_tid_timer.function 0
PARAM_VALUE 0 qp->s_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 err 20
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &qp->r_lock
TYPE_LOCK (struct rvt_qp)->r_lock