Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/google/gve/gve_tx.c gve_tx_add_skb_copy() -> gve_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | iov_offset | 0-u32max |
| PARAM_VALUE | 3 | iov_len | 0-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | iov_offset | unit_byte |
| UNITS | 3 | iov_len | unit_byte |
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/google/gve/gve_tx.c gve_tx_add_skb_copy() -> gve_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | iov_offset | 0-u32max |
| PARAM_VALUE | 3 | iov_len | 0-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | iov_offset | unit_byte |
| UNITS | 3 | iov_len | unit_byte |
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/google/gve/gve_tx.c gve_tx_fill_xdp() -> gve_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | iov_offset | 0-u32max |
| PARAM_VALUE | 3 | iov_len | 0-u32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | iov_offset | unit_byte |
| UNITS | 3 | iov_len | unit_byte |
| LOCK2 | &tx->xdp_lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct gve_tx_ring)->xdp_lock |