Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/amazon/ena/ena_netdev.c ena_start_xmit() -> ena_ring_tx_doorbell()

Type Parameter Key Value
PARAM_VALUE 0 tx_ring 4096-ptr_max
PARAM_VALUE 0 tx_ring->adapter 4096-ptr_max
PARAM_VALUE 0 tx_ring->ena_com_io_sq 4096-ptr_max
PARAM_VALUE 0 tx_ring->ena_com_io_sq->llq_buf_ctrl.curr_bounce_buf 1-u64max
PARAM_VALUE 0 tx_ring->ena_com_io_sq->mem_queue_type 0-1,3
PARAM_VALUE 0 tx_ring->free_ids 4096-ptr_max
PARAM_VALUE 0 tx_ring->tx_buffer_info 4096-ptr_max
CAPPED_DATA 0 tx_ring->ena_com_io_sq->tx_max_header_size 1
CAPPED_DATA 0 tx_ring->sgl_size 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/amazon/ena/ena_netdev.c ena_xmit_common() -> ena_ring_tx_doorbell()

Type Parameter Key Value
PARAM_VALUE 0 tx_ring 4096-ptr_max
PARAM_VALUE 0 tx_ring->ena_com_io_sq 4096-ptr_max
PARAM_VALUE 0 tx_ring->ena_com_io_sq->llq_info.max_entries_in_tx_burst 1-u16max
PARAM_VALUE 0 tx_ring->ena_com_io_sq->mem_queue_type 3
PARAM_VALUE 0 tx_ring->free_ids 4096-ptr_max
PARAM_VALUE 0 tx_ring->tx_buffer_info 4096-ptr_max
PARAM_VALUE 0 tx_ring->tx_mem_queue_type 0-1,3
CAPPED_DATA 0 tx_ring->ena_com_io_sq->entries_in_tx_burst_left 1
DATA_SOURCE 0 tx_ring $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &tx_ring->xdp_tx_lock

drivers/net/ethernet/amazon/ena/ena_xdp.c ena_xdp_xmit() -> ena_ring_tx_doorbell()

Type Parameter Key Value
PARAM_VALUE 0 tx_ring 4096-ptr_max
PARAM_VALUE 0 tx_ring->ena_com_io_sq->tx_max_header_size 0-256
PARAM_VALUE 0 tx_ring->xdp_tx_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *tx_ring->adapter->netdev->name 0-255
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &tx_ring->xdp_tx_lock
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct ena_ring)->xdp_tx_lock

drivers/net/ethernet/amazon/ena/ena_xdp.c ena_xdp_xmit_frame() -> ena_ring_tx_doorbell()

Type Parameter Key Value
PARAM_VALUE 0 tx_ring 4096-ptr_max
PARAM_VALUE 0 tx_ring->dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tx_ring->dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 tx_ring->dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 tx_ring->dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 tx_ring->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 tx_ring->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 tx_ring->ena_com_io_sq 4096-ptr_max
PARAM_VALUE 0 tx_ring->ena_com_io_sq->llq_buf_ctrl.curr_bounce_buf 1-u64max
PARAM_VALUE 0 tx_ring->free_ids 4096-ptr_max
PARAM_VALUE 0 tx_ring->tx_buffer_info 4096-ptr_max
PARAM_VALUE 0 tx_ring->xdp_tx_lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 tx_ring->ena_com_io_sq->tx_max_header_size 1
DATA_SOURCE 0 tx_ring $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &tx_ring->xdp_tx_lock
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct ena_ring)->xdp_tx_lock