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/hw/hfi1/ipoib_tx.c hfi1_ipoib_build_ib_tx_headers() -> hfi1_make_grh()

Type Parameter Key Value
PARAM_VALUE 0 ibp 4096-ptr_max
PARAM_VALUE 2 grh 4096-ptr_max
PARAM_VALUE 3 hwords 5
BUF_SIZE 0 ibp 664
BUF_SIZE 1 hdr 40
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags

drivers/infiniband/hw/hfi1/ud.c hfi1_make_ud_req_16B() -> hfi1_make_grh()

Type Parameter Key Value
PARAM_VALUE 2 grh 4096-ptr_max
PARAM_VALUE 2 grh->sgid_index 0,2-255
PARAM_VALUE 3 hwords 2,5-6
PARAM_VALUE 4 nwords 1-1073741824
BUF_SIZE 0 ibp 664
BUF_SIZE 1 hdr 40
BUF_SIZE 2 grh 32
DATA_SOURCE 0 ibp r to_iport
DATA_SOURCE 2 grh r rdma_ah_retrieve_grh
FUZZY_MAX 2 grh->sgid_index 0
TASK_NOT_RUNNING
LOCK2 &qp->s_lock
LOCK2 ps.flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rvt_qp)->s_lock

drivers/infiniband/hw/hfi1/ud.c hfi1_make_ud_req_9B() -> hfi1_make_grh()

Type Parameter Key Value
PARAM_VALUE 2 grh 4096-ptr_max
PARAM_VALUE 3 hwords 5-6
PARAM_VALUE 4 nwords 1-1073741824
BUF_SIZE 0 ibp 664
BUF_SIZE 1 hdr 40
DATA_SOURCE 0 ibp r to_iport
TASK_NOT_RUNNING
LOCK2 &qp->s_lock
LOCK2 ps.flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rvt_qp)->s_lock

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

Type Parameter Key Value
PARAM_VALUE 1 hdr 6446512354098282496
PARAM_VALUE 2 grh 3907182263318573056
PARAM_VALUE 3 hwords 0
PARAM_VALUE 4 nwords 0
BUF_SIZE 0 ibp 664
DATA_SOURCE 0 ibp r to_iport
PREEMPT_ADD <- disables preempt
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &qp->r_lock
LOCK2 flags
LOCK2 ps.flags
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rvt_qp)->r_lock

drivers/infiniband/hw/hfi1/rc.c hfi1_make_rc_ack_16B() -> hfi1_make_grh()

Type Parameter Key Value
PARAM_VALUE 2 grh 4096-ptr_max
PARAM_VALUE 3 hwords 4
PARAM_VALUE 4 nwords 2
BUF_SIZE 0 ibp 664
DATA_SOURCE 0 ibp r rcd_to_iport
TASK_NOT_RUNNING
HALF_LOCKED2 &packet->qp->r_lock
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/infiniband/hw/hfi1/rc.c hfi1_make_rc_ack_9B() -> hfi1_make_grh()

Type Parameter Key Value
PARAM_VALUE 2 grh 4096-ptr_max
PARAM_VALUE 3 hwords 4
PARAM_VALUE 4 nwords 1
BUF_SIZE 0 ibp 664
DATA_SOURCE 0 ibp r rcd_to_iport
TASK_NOT_RUNNING
HALF_LOCKED2 &packet->qp->r_lock
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/infiniband/hw/hfi1/ruc.c hfi1_make_ruc_header_16B() -> hfi1_make_grh()

Type Parameter Key Value
PARAM_VALUE 2 grh 4096-ptr_max
PARAM_VALUE 2 grh->sgid_index 0,2-255
PARAM_VALUE 4 nwords 1-16386
BUF_SIZE 0 ibp 664
BUF_SIZE 1 hdr 40
BUF_SIZE 2 grh 32
DATA_SOURCE 2 grh r rdma_ah_retrieve_grh
FUZZY_MAX 2 grh->sgid_index 0
TASK_NOT_RUNNING
LOCK2 &qp->s_lock
LOCK2 ps.flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rvt_qp)->s_lock

drivers/infiniband/hw/hfi1/ruc.c hfi1_make_ruc_header_9B() -> hfi1_make_grh()

Type Parameter Key Value
PARAM_VALUE 2 grh 4096-ptr_max
PARAM_VALUE 4 nwords 1-16385
BUF_SIZE 0 ibp 664
BUF_SIZE 1 hdr 40
TASK_NOT_RUNNING
LOCK2 &qp->s_lock
LOCK2 ps.flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rvt_qp)->s_lock