Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/alibaba/eea/eea_net.c eea_alloc_rxtx_q_mem() -> eea_free_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx->dma_dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | rx->dma_dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | rx->ering->cq.desc | 1-ptr_max |
| PARAM_VALUE | 0 | rx->ering->cq.desc_size | 32 |
| PARAM_VALUE | 0 | rx->ering->cq.desc_size_shift | 0-31 |
| PARAM_VALUE | 0 | rx->ering->cq.dma_size | 1024-1048576 |
| PARAM_VALUE | 0 | rx->ering->cq.phase | 128 |
| PARAM_VALUE | 0 | rx->ering->edev | 4096-ptr_max |
| PARAM_VALUE | 0 | rx->ering->index | 0 |
| PARAM_VALUE | 0 | rx->ering->num | 64-32768 |
| PARAM_VALUE | 0 | rx->ering->num_free | 64-32768 |
| PARAM_VALUE | 0 | rx->ering->sq.desc | 1-ptr_max |
| PARAM_VALUE | 0 | rx->ering->sq.desc_size | 16,32 |
| PARAM_VALUE | 0 | rx->ering->sq.desc_size_shift | 0-31 |
| PARAM_VALUE | 0 | rx->ering->sq.dma_size | 1024-1048576 |
| PARAM_VALUE | 0 | rx->free->id | 0-s16max |
| PARAM_VALUE | 0 | rx->free->next | 0 |
| PARAM_VALUE | 1 | cfg | 476482893793308672,2489073592086052864,3613851977605398528,3971091533481553920 |
| PARAM_VALUE | 1 | cfg->rx_cq_desc_size | 32 |
| PARAM_VALUE | 1 | cfg->rx_sq_desc_size | 16,32 |
| PARAM_VALUE | 1 | cfg->tx_cq_desc_size | 16 |
| PARAM_VALUE | 1 | cfg->tx_sq_desc_size | 32 |
| MEM_ZERO | 1 | cfg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | rx->ering->num | |
| NO_OVERFLOW_SIMPLE | 0 | rx->ering->num_free | |
| NO_OVERFLOW_SIMPLE | 0 | rx->free->id | |
| NO_OVERFLOW_SIMPLE | 0 | rx->index | |
| NO_OVERFLOW_SIMPLE | 1 | cfg->rx_ring_depth | |
| NO_OVERFLOW_SIMPLE | 1 | cfg->rx_ring_num | |
| NO_OVERFLOW_SIMPLE | 1 | cfg->tx_ring_depth | |
| NO_OVERFLOW_SIMPLE | 1 | cfg->tx_ring_num | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/alibaba/eea/eea_net.c eea_free_rxtx_q_mem() -> eea_free_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cfg | 476482893793308672,1792959128699355136,2489073592086052864,3502485846985699328,3613851977605398528,3971091533481553920 |
| PARAM_VALUE | 1 | cfg->rx_cq_desc_size | 0,32 |
| PARAM_VALUE | 1 | cfg->rx_ring_num | 1-s32max |
| PARAM_VALUE | 1 | cfg->rx_sq_desc_size | 0,16,32 |
| PARAM_VALUE | 1 | cfg->tx_cq_desc_size | 0,16 |
| PARAM_VALUE | 1 | cfg->tx_sq_desc_size | 0,32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | cfg->rx_ring_num | |
| NO_OVERFLOW_SIMPLE | 1 | cfg->tx_ring_num | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/alibaba/eea/eea_rx.c eea_alloc_rx() -> eea_free_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx | 4096-ptr_max |
| PARAM_VALUE | 0 | rx->index | 0 |
| PARAM_VALUE | 1 | cfg | 476482893793308672,2489073592086052864,3613851977605398528 |
| PARAM_VALUE | 1 | cfg->rx_cq_desc_size | 32 |
| PARAM_VALUE | 1 | cfg->rx_ring_depth | 64-32768 |
| PARAM_VALUE | 1 | cfg->rx_sq_desc_size | 16,32 |
| PARAM_VALUE | 1 | cfg->tx_cq_desc_size | 16 |
| PARAM_VALUE | 1 | cfg->tx_sq_desc_size | 32 |
| BUF_SIZE | 0 | rx | 168 |
| BUF_SIZE | 0 | rx->ering | (-1),120 |
| BUF_SIZE | 0 | rx->meta | 88,u64max |
| DATA_SOURCE | 0 | rx | r _kzalloc_noprof |
| STR_LEN | 0 | rx->ering->name | (-1),15 |
| STR_LEN | 0 | rx->name | 15 |
| MEM_ZERO | 1 | cfg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | rx->ering->num | |
| NO_OVERFLOW_SIMPLE | 0 | rx->ering->num_free | |
| NO_OVERFLOW_SIMPLE | 0 | rx->free->id | |
| NO_OVERFLOW_SIMPLE | 0 | rx->index | |
| NO_OVERFLOW_SIMPLE | 1 | cfg->rx_ring_depth | |
| NO_OVERFLOW_SIMPLE | 1 | cfg->rx_ring_num | |
| NO_OVERFLOW_SIMPLE | 1 | cfg->tx_ring_num | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |