Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/hw/mthca/mthca_av.c mthca_ah_query() -> mthca_ah_grh_present()

Type Parameter Key Value
PARAM_VALUE 0 ah 4096-ptr_max
PARAM_VALUE 0 ah->av 4096-ptr_max
DATA_SOURCE 0 ah r to_mah
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &agent->lock
HALF_LOCKED2 &group->lock
HALF_LOCKED2 &mad_agent_priv->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags

drivers/infiniband/hw/mthca/mthca_av.c mthca_read_ah() -> mthca_ah_grh_present()

Type Parameter Key Value
PARAM_VALUE 0 ah 4096-ptr_max
PARAM_VALUE 0 ah->av 4096-ptr_max
DATA_SOURCE 0 ah $1
PREEMPT_ADD
TASK_NOT_RUNNING
LOCK2 &qp->sq.lock
HALF_LOCKED2 &conn->send_lock
HALF_LOCKED2 &gsi->lock
HALF_LOCKED2 &mr->mutex
HALF_LOCKED2 &rdma->sq_sem
HALF_LOCKED2 bh
HALF_LOCKED2 flags
TYPE_LOCK (struct mthca_wq)->lock

drivers/infiniband/hw/mthca/mthca_qp.c build_mlx_header() -> mthca_ah_grh_present()

Type Parameter Key Value
PARAM_VALUE 0 ah 4096-ptr_max
PREEMPT_ADD
TASK_NOT_RUNNING
LOCK2 &qp->sq.lock
HALF_LOCKED2 &conn->send_lock
HALF_LOCKED2 &gsi->lock
HALF_LOCKED2 &mr->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdma->sq_sem
HALF_LOCKED2 bh
HALF_LOCKED2 flags
TYPE_LOCK (struct mthca_wq)->lock