Documented in 1 files:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/infiniband/hw/hfi1/user_sdma.c sdma_txinit() -> sdma_txinit_ahg()

Type Parameter Key Value
PARAM_VALUE 0 tx 4096-ptr_max
PARAM_VALUE 1 flags 0
PARAM_VALUE 3 ahg_entry 0
PARAM_VALUE 4 num_ahg 0
PARAM_VALUE 5 ahg 0
PARAM_VALUE 6 ahg_hlen 0
CAPPED_DATA 2 tlen 1
DATA_SOURCE 0 tx $0
DATA_SOURCE 1 flags $1
DATA_SOURCE 2 tlen $2
DATA_SOURCE 7 cb $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 tlen 0-u16max[c]
UNITS 2 tlen unit_byte
LOCK2 &fd->pq_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hfi1_filedata)->pq_srcu

drivers/infiniband/hw/hfi1/user_sdma.c set_txreq_header_ahg() -> sdma_txinit_ahg()

Type Parameter Key Value
PARAM_VALUE 0 tx 4096-ptr_max
PARAM_VALUE 1 flags 4
PARAM_VALUE 3 ahg_entry 0-127
PARAM_VALUE 4 num_ahg 4-8
PARAM_VALUE 5 ahg 392285738363699200
PARAM_VALUE 6 ahg_hlen 64
BUF_SIZE 5 ahg 36
CAPPED_DATA 2 tlen 1
DATA_SOURCE 2 tlen $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 tlen 0-u16max[c]
UNITS 6 ahg_hlen unit_byte
LOCK2 &fd->pq_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hfi1_filedata)->pq_srcu

drivers/infiniband/hw/hfi1/user_sdma.c user_sdma_txadd_ahg() -> sdma_txinit_ahg()

Type Parameter Key Value
PARAM_VALUE 0 tx 4096-ptr_max
PARAM_VALUE 1 flags 2
PARAM_VALUE 3 ahg_entry 0-127
PARAM_VALUE 4 num_ahg 0
PARAM_VALUE 5 ahg 0
PARAM_VALUE 6 ahg_hlen 0
CAPPED_DATA 2 tlen 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 tlen 0-u16max[c]
UNITS 2 tlen unit_byte
LOCK2 &fd->pq_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hfi1_filedata)->pq_srcu

drivers/infiniband/hw/hfi1/verbs.c build_verbs_tx_desc() -> sdma_txinit_ahg()

Type Parameter Key Value
PARAM_VALUE 0 tx 4096-ptr_max
PARAM_VALUE 0 tx->num_desc 0
PARAM_VALUE 4 num_ahg 0
PARAM_VALUE 5 ahg 0
PARAM_VALUE 6 ahg_hlen 0
TASK_NOT_RUNNING
UNITS 2 tlen unit_byte
HALF_LOCKED2 &pool->lock

drivers/infiniband/hw/hfi1/verbs.c build_verbs_tx_desc() -> sdma_txinit_ahg()

Type Parameter Key Value
PARAM_VALUE 0 tx 4096-ptr_max
PARAM_VALUE 0 tx->num_desc 0
PARAM_VALUE 4 num_ahg 1-255
BUF_SIZE 5 ahg 8
DATA_SOURCE 2 tlen $1
BIT_INFO 6 ahg_hlen 0x0,0xfffc
TASK_NOT_RUNNING
UNITS 2 tlen unit_byte
HALF_LOCKED2 &pool->lock

drivers/infiniband/hw/hfi1/ipoib_tx.c sdma_txinit() -> sdma_txinit_ahg()

Type Parameter Key Value
PARAM_VALUE 0 tx 4096-ptr_max
PARAM_VALUE 0 tx->list.next 4096-ptr_max
PARAM_VALUE 0 tx->list.prev 4096-ptr_max
PARAM_VALUE 0 tx->num_desc 0
PARAM_VALUE 1 flags 0
PARAM_VALUE 3 ahg_entry 0
PARAM_VALUE 4 num_ahg 0
PARAM_VALUE 5 ahg 0
PARAM_VALUE 6 ahg_hlen 0
BUF_SIZE 0 tx 264
DATA_SOURCE 0 tx $0
DATA_SOURCE 1 flags $1
DATA_SOURCE 2 tlen $2
DATA_SOURCE 7 cb $3
TASK_NOT_RUNNING
UNITS 2 tlen unit_byte
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags