Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/infiniband/hw/bnxt_re/ib_verbs.c bnxt_re_build_qp1_send_v2() -> ib_ud_ip4_csum()

Type Parameter Key Value
PARAM_VALUE 0 header 4096-ptr_max
PARAM_VALUE 0 header->ip4.daddr 0
PARAM_VALUE 0 header->ip4.frag_off 16384
PARAM_VALUE 0 header->ip4.id 0
PARAM_VALUE 0 header->ip4.protocol 0,17
PARAM_VALUE 0 header->ip4.saddr 0-255
PARAM_VALUE 0 header->ip4.tos 0
MEM_ZERO 0 header
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 bnxt_re_qp)->sq_lock

drivers/infiniband/hw/mlx4/qp.c build_mlx_header() -> ib_ud_ip4_csum()

Type Parameter Key Value
PARAM_VALUE 0 header 4096-ptr_max
PARAM_VALUE 0 header->ip4.daddr 0-255
PARAM_VALUE 0 header->ip4.frag_off 16384
PARAM_VALUE 0 header->ip4.id 0
PARAM_VALUE 0 header->ip4.protocol 0,17
PARAM_VALUE 0 header->ip4.saddr 0-255
MEM_ZERO 0 header
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &qp->sq.lock
LOCK2 flags
TYPE_LOCK (struct mlx4_ib_wq)->lock