Documented in 1 files:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/infiniband/hw/hfi1/ipoib_tx.c
- drivers/infiniband/hw/hfi1/user_sdma.c
- drivers/infiniband/hw/hfi1/verbs.c
Smatch caller information:
drivers/infiniband/hw/hfi1/user_sdma.c set_txreq_header() -> sdma_txadd_kvaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dd | 4096-ptr_max |
| PARAM_VALUE | 1 | tx | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->coalesce_buf | 0 |
| PARAM_VALUE | 1 | tx->complete | 3590508541391863808 |
| PARAM_VALUE | 1 | tx->desc_limit | 6 |
| PARAM_VALUE | 1 | tx->descp | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->flags | 0 |
| PARAM_VALUE | 1 | tx->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->num_desc | 0-3 |
| PARAM_VALUE | 1 | tx->packet_len | 64-16383 |
| PARAM_VALUE | 1 | tx->tlen | 1-16383 |
| PARAM_VALUE | 1 | tx->wait | 0 |
| PARAM_VALUE | 2 | kvaddr | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 64 |
| BUF_SIZE | 2 | kvaddr | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | tx->packet_len | 64-16383[c] |
| USER_DATA | 1 | 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/user_sdma.c user_sdma_txadd_ahg() -> sdma_txadd_kvaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dd | 4096-ptr_max |
| PARAM_VALUE | 1 | tx | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->coalesce_buf | 0 |
| PARAM_VALUE | 1 | tx->complete | 3590508541391863808 |
| PARAM_VALUE | 1 | tx->desc_limit | 6 |
| PARAM_VALUE | 1 | tx->descp | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->flags | 2 |
| PARAM_VALUE | 1 | tx->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->num_desc | 0-3 |
| PARAM_VALUE | 1 | tx->packet_len | 64-16383 |
| PARAM_VALUE | 1 | tx->tlen | 1-16383 |
| PARAM_VALUE | 1 | tx->wait | 0 |
| PARAM_VALUE | 2 | kvaddr | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 64 |
| BUF_SIZE | 2 | kvaddr | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | tx->packet_len | 64-16383[c] |
| USER_DATA | 1 | 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 build_verbs_tx_desc() -> sdma_txadd_kvaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tx | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->coalesce_buf | 0 |
| PARAM_VALUE | 1 | tx->complete | 4420419636728750080 |
| PARAM_VALUE | 1 | tx->desc_limit | 6 |
| PARAM_VALUE | 1 | tx->descp | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->num_desc | 0-3 |
| PARAM_VALUE | 1 | tx->packet_len | 1-16383 |
| PARAM_VALUE | 1 | tx->tlen | 1-16383 |
| PARAM_VALUE | 1 | tx->wait | 0 |
| PARAM_VALUE | 2 | kvaddr | 4096-ptr_max |
| BUF_SIZE | 2 | kvaddr | 113 |
| BIT_INFO | 3 | len | 0x0,0xfffc |
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/hfi1/verbs.c build_verbs_ulp_payload() -> sdma_txadd_kvaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tx | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->complete | 4420419636728750080 |
| PARAM_VALUE | 1 | tx->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->wait | 0 |
| BUF_SIZE | 2 | kvaddr | 256 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 3 | len | r rvt_get_sge_length |
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tx->coalesce_idx | |
| UNITS | 2 | kvaddr | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/hfi1/ipoib_tx.c hfi1_ipoib_build_tx_desc() -> sdma_txadd_kvaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tx | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->coalesce_buf | 0 |
| PARAM_VALUE | 1 | tx->complete | 4165889615002189824 |
| PARAM_VALUE | 1 | tx->desc_limit | 6 |
| PARAM_VALUE | 1 | tx->descp | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->flags | 0 |
| PARAM_VALUE | 1 | tx->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->num_desc | 0 |
| PARAM_VALUE | 1 | tx->packet_len | 1-16383 |
| PARAM_VALUE | 1 | tx->tlen | 1-16383 |
| PARAM_VALUE | 1 | tx->wait | 0 |
| PARAM_VALUE | 2 | kvaddr | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 36,76 |
| BUF_SIZE | 1 | tx | 264 |
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/infiniband/hw/hfi1/ipoib_tx.c hfi1_ipoib_build_ulp_payload() -> sdma_txadd_kvaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tx | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->flags | 0 |
| PARAM_VALUE | 1 | tx->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->wait | 0 |
| PARAM_VALUE | 2 | kvaddr | 4096-ptr_max |
| BUF_SIZE | 1 | tx | 264 |
| BUF_SIZE | 2 | kvaddr | 1-s32max |
| TASK_NOT_RUNNING | |||
| UNITS | 2 | kvaddr | unit_byte |
| USER_PTR | 2 | kvaddr | |
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |