Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/amazon/ena/ena_netdev.c, line 2660
- drivers/net/ethernet/amazon/ena/ena_xdp.c, line 96
Smatch caller information:
drivers/net/ethernet/amazon/ena/ena_netdev.c ena_start_xmit() -> ena_xmit_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->tx_ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->adapter | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->free_ids | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->tx_buffer_info | 4096-ptr_max |
| PARAM_VALUE | 2 | tx_info | 4096-ptr_max |
| PARAM_VALUE | 2 | tx_info->bufs->len | 0-u16max |
| PARAM_VALUE | 2 | tx_info->bufs->paddr | 0-s64max |
| PARAM_VALUE | 2 | tx_info->map_linear_data | 0-1 |
| PARAM_VALUE | 2 | tx_info->skb | 4096-ptr_max |
| PARAM_VALUE | 2 | tx_info->xdpf | 4096-ptr_max |
| PARAM_VALUE | 3 | ena_tx_ctx | 9016300078269202432 |
| PARAM_VALUE | 3 | ena_tx_ctx->df | 1 |
| PARAM_VALUE | 3 | ena_tx_ctx->ena_meta.l4_hdr_len | 0-15 |
| PARAM_VALUE | 3 | ena_tx_ctx->header_len | 0-255 |
| PARAM_VALUE | 3 | ena_tx_ctx->l3_csum_enable | 1 |
| PARAM_VALUE | 3 | ena_tx_ctx->l3_proto | 8,11 |
| PARAM_VALUE | 3 | ena_tx_ctx->l4_csum_enable | 1 |
| PARAM_VALUE | 3 | ena_tx_ctx->l4_csum_partial | 0-1 |
| PARAM_VALUE | 3 | ena_tx_ctx->l4_proto | 12-13 |
| PARAM_VALUE | 3 | ena_tx_ctx->meta_valid | 0-1 |
| PARAM_VALUE | 3 | ena_tx_ctx->tso_enable | 0-1 |
| CAPPED_DATA | 1 | ring->sgl_size | 1 |
| BIT_INFO | 0 | adapter->msg_enable | 0x0,0xffffffff |
| MEM_ZERO | 3 | ena_tx_ctx | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | tx_info->skb->csum_offset | 0-u16max |
| HOST_DATA | 2 | tx_info->skb->data_len | 0-2147483648[c] |
| HOST_DATA | 2 | tx_info->skb->len | 0-u32max[c] |
| HOST_DATA | 2 | tx_info->skb->tstamp | 500000002-4294967299794967295[c] |
| HOST_DATA | 2 | tx_info->skb->users.refs.counter | s32min-0,2-s32max |
| HOST_DATA | 3 | ena_tx_ctx->header_len | 0-254[c] |
| HOST_DATA | 5 | bytes | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 2 | tx_info->skb->data_len | |
| NO_OVERFLOW_SIMPLE | 2 | tx_info->skb->end | |
| NO_OVERFLOW_SIMPLE | 2 | tx_info->skb->len | |
| NO_OVERFLOW_SIMPLE | 2 | tx_info->skb->tail | |
| NO_OVERFLOW_SIMPLE | 2 | tx_info->skb->truesize | |
| NO_OVERFLOW_SIMPLE | 3 | ena_tx_ctx->header_len | |
| NO_OVERFLOW_SIMPLE | 5 | bytes | |
| UNITS | 5 | bytes | 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/amazon/ena/ena_xdp.c ena_xdp_xmit_frame() -> ena_xmit_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ring->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 1 | ring->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | ring->free_ids | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->tx_buffer_info | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->xdp_tx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | tx_info | 4096-ptr_max |
| PARAM_VALUE | 2 | tx_info->bufs->len | 0-u16max |
| PARAM_VALUE | 2 | tx_info->bufs->paddr | 0-s64max |
| PARAM_VALUE | 2 | tx_info->map_linear_data | 0 |
| PARAM_VALUE | 2 | tx_info->num_of_bufs | 0-1 |
| PARAM_VALUE | 2 | tx_info->skb | 4096-ptr_max |
| PARAM_VALUE | 2 | tx_info->xdpf | 4096-ptr_max |
| PARAM_VALUE | 3 | ena_tx_ctx | 7195956936680804352 |
| PARAM_VALUE | 3 | ena_tx_ctx->df | 0 |
| PARAM_VALUE | 3 | ena_tx_ctx->ena_bufs | 0,4096-ptr_max |
| PARAM_VALUE | 3 | ena_tx_ctx->header_len | 0-255 |
| PARAM_VALUE | 3 | ena_tx_ctx->l3_csum_enable | 0 |
| PARAM_VALUE | 3 | ena_tx_ctx->l3_proto | 0 |
| PARAM_VALUE | 3 | ena_tx_ctx->l4_csum_enable | 0 |
| PARAM_VALUE | 3 | ena_tx_ctx->l4_csum_partial | 0 |
| PARAM_VALUE | 3 | ena_tx_ctx->l4_proto | 0 |
| PARAM_VALUE | 3 | ena_tx_ctx->meta_valid | 0 |
| PARAM_VALUE | 3 | ena_tx_ctx->num_bufs | 0-1 |
| PARAM_VALUE | 3 | ena_tx_ctx->tso_enable | 0 |
| DATA_SOURCE | 0 | adapter | $1 |
| DATA_SOURCE | 1 | ring | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 5 | bytes | unit_byte |
| LOCK2 | 1 | &ring->xdp_tx_lock | |
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct ena_ring)->xdp_tx_lock |