Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/hw/hfi1/user_sdma.c _sdma_txadd_daddr() -> make_tx_sdma_desc()

Type Parameter Key Value
PARAM_VALUE 0 tx 4096-ptr_max
PARAM_VALUE 0 tx->coalesce_buf 0
PARAM_VALUE 0 tx->complete 3590508541391863808
PARAM_VALUE 0 tx->desc_limit 6,63
PARAM_VALUE 0 tx->descp 4096-ptr_max
PARAM_VALUE 0 tx->flags 0,2
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-3
PARAM_VALUE 0 tx->packet_len 64-16383
PARAM_VALUE 0 tx->tlen 1-16383
PARAM_VALUE 0 tx->wait 0
PARAM_VALUE 1 type 1
PARAM_VALUE 2 addr 0-18446744073709551614
PARAM_VALUE 3 len 64
PARAM_VALUE 4 pinning_ctx 0
PARAM_VALUE 5 ctx_get 0
PARAM_VALUE 6 ctx_put 0
CAPPED_DATA 0 tx->num_desc 1
DATA_SOURCE 0 tx $2
DATA_SOURCE 1 type $1
DATA_SOURCE 2 addr $3
DATA_SOURCE 3 len $4
DATA_SOURCE 4 pinning_ctx $5
DATA_SOURCE 5 ctx_get $6
DATA_SOURCE 6 ctx_put $7
BIT_INFO 0 tx->num_desc 0x0,0x7
HARD_MAX 0 tx->flags 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 tx->packet_len 64-16383[c]
USER_DATA 0 tx->tlen 1-16383[c]
UNITS 3 len unit_byte
LOCK2 &fd->pq_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hfi1_filedata)->pq_srcu

drivers/infiniband/hw/hfi1/verbs.c _sdma_txadd_daddr() -> make_tx_sdma_desc()

Type Parameter Key Value
PARAM_VALUE 0 tx 4096-ptr_max
PARAM_VALUE 0 tx->complete 4420419636728750080
PARAM_VALUE 0 tx->list.next 4096-ptr_max
PARAM_VALUE 0 tx->list.prev 4096-ptr_max
PARAM_VALUE 0 tx->wait 0
PARAM_VALUE 1 type 0-1
PARAM_VALUE 4 pinning_ctx 0
PARAM_VALUE 5 ctx_get 0
PARAM_VALUE 6 ctx_put 0
DATA_SOURCE 0 tx $2
DATA_SOURCE 1 type $1
DATA_SOURCE 2 addr $3
DATA_SOURCE 3 len $4
DATA_SOURCE 4 pinning_ctx $5
DATA_SOURCE 5 ctx_get $6
DATA_SOURCE 6 ctx_put $7
HARD_MAX 1 type 1
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 tx->coalesce_idx
NO_OVERFLOW_SIMPLE 0 tx->tlen
UNITS 3 len unit_byte
HALF_LOCKED2 &pool->lock

drivers/infiniband/hw/hfi1/ipoib_tx.c _sdma_txadd_daddr() -> make_tx_sdma_desc()

Type Parameter Key Value
PARAM_VALUE 0 tx 4096-ptr_max
PARAM_VALUE 0 tx->flags 0
PARAM_VALUE 0 tx->list.next 4096-ptr_max
PARAM_VALUE 0 tx->list.prev 4096-ptr_max
PARAM_VALUE 0 tx->wait 0
PARAM_VALUE 1 type 1-2
PARAM_VALUE 2 addr 0-18446744073709551614
PARAM_VALUE 4 pinning_ctx 0
PARAM_VALUE 5 ctx_get 0
PARAM_VALUE 6 ctx_put 0
BUF_SIZE 0 tx 264
DATA_SOURCE 0 tx $2
DATA_SOURCE 1 type $1
DATA_SOURCE 2 addr $3
DATA_SOURCE 3 len $4
DATA_SOURCE 4 pinning_ctx $5
DATA_SOURCE 5 ctx_get $6
DATA_SOURCE 6 ctx_put $7
HARD_MAX 1 type 2
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 tx->coalesce_idx 0-u16max[c][u]
USER_DATA 0 tx->packet_len 1-16401[c]
UNITS 3 len unit_byte
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags

drivers/infiniband/hw/hfi1/sdma.c _pad_sdma_tx_descs() -> make_tx_sdma_desc()

Type Parameter Key Value
PARAM_VALUE 0 tx 4096-ptr_max
PARAM_VALUE 0 tx->packet_len 1-u16max
PARAM_VALUE 0 tx->tlen 0
PARAM_VALUE 1 type 0
PARAM_VALUE 3 len 1-4
PARAM_VALUE 4 pinning_ctx 0
PARAM_VALUE 5 ctx_get 0
PARAM_VALUE 6 ctx_put 0
DATA_SOURCE 0 tx $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 tx->coalesce_idx 0-u16max[c][u]
USER_DATA 0 tx->packet_len 1-16404[c]
USER_DATA 0 tx->tlen 0
USER_DATA 3 len 1-4[c]
UNITS 3 len unit_byte
HALF_LOCKED2 &fd->pq_srcu

drivers/infiniband/hw/hfi1/sdma.c _sdma_txadd_daddr() -> make_tx_sdma_desc()

Type Parameter Key Value
PARAM_VALUE 0 tx 4096-ptr_max
PARAM_VALUE 0 tx->coalesce_buf 1-u64max
PARAM_VALUE 0 tx->desc_limit 64
PARAM_VALUE 0 tx->num_desc 0-63,65-u16max
PARAM_VALUE 1 type 1
PARAM_VALUE 2 addr 0-18446744073709551614
PARAM_VALUE 4 pinning_ctx 0
PARAM_VALUE 5 ctx_get 0
PARAM_VALUE 6 ctx_put 0
CAPPED_DATA 0 tx->coalesce_buf 1
CAPPED_DATA 0 tx->coalesce_idx 1
DATA_SOURCE 0 tx $2
DATA_SOURCE 1 type $1
DATA_SOURCE 2 addr $3
DATA_SOURCE 3 len $4
DATA_SOURCE 4 pinning_ctx $5
DATA_SOURCE 5 ctx_get $6
DATA_SOURCE 6 ctx_put $7
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 tx->coalesce_idx 0-u16max[c][u]
USER_DATA 0 tx->packet_len 1-16404[c]
USER_DATA 0 tx->tlen 1-16386[c]
USER_DATA 3 len 1-16386[c]
UNITS 3 len unit_byte
HALF_LOCKED2 &fd->pq_srcu

drivers/infiniband/hw/hfi1/pin_system.c _sdma_txadd_daddr() -> make_tx_sdma_desc()

Type Parameter Key Value
PARAM_VALUE 0 tx 4096-ptr_max
PARAM_VALUE 1 type 2
PARAM_VALUE 2 addr 0-18446744073709551614
PARAM_VALUE 4 pinning_ctx 0,4096-ptr_max
CAPPED_DATA 3 len 1
DATA_SOURCE 0 tx $2
DATA_SOURCE 1 type $1
DATA_SOURCE 2 addr $3
DATA_SOURCE 3 len $4
DATA_SOURCE 4 pinning_ctx $5
DATA_SOURCE 5 ctx_get $6
DATA_SOURCE 6 ctx_put $7
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 tx->coalesce_idx 0-u16max[c][u]
USER_DATA 0 tx->packet_len 1-16401[c]
USER_DATA 0 tx->tlen 1-16383[c]
USER_DATA 3 len 0-u16max[c]
UNITS 3 len unit_byte
LOCK2 &fd->pq_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hfi1_filedata)->pq_srcu