Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/wangxun/libwx/wx_hw.c, line 2006
- drivers/net/ethernet/wangxun/libwx/wx_lib.c, line 684
- drivers/net/ethernet/wangxun/libwx/wx_vf_lib.c, line 302
Smatch caller information:
drivers/net/ethernet/wangxun/libwx/wx_vf_lib.c wx_configure_rx_ring_vf() -> wx_alloc_rx_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | rx_ring->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | rx_ring->next_to_alloc | 0 |
| PARAM_VALUE | 0 | rx_ring->next_to_clean | 0 |
| PARAM_VALUE | 0 | rx_ring->next_to_use | 0 |
| PARAM_VALUE | 0 | rx_ring->tail | 4096-ptr_max |
| DATA_SOURCE | 0 | rx_ring | $1 |
| MEM_ZERO | 0 | rx_ring->rx_buffer_info | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &wx->reset_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_configure_rx_ring() -> wx_alloc_rx_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | rx_ring->next_to_clean | 0 |
| PARAM_VALUE | 0 | rx_ring->next_to_use | 0 |
| PARAM_VALUE | 0 | rx_ring->tail | 4096-ptr_max |
| DATA_SOURCE | 0 | rx_ring | $1 |
| MEM_ZERO | 0 | rx_ring->rx_buffer_info | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &wx->reset_lock |
drivers/net/ethernet/wangxun/libwx/wx_lib.c wx_clean_rx_irq() -> wx_alloc_rx_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | rx_ring->page_pool->p.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 1 | cleaned_count | 16-u16max |
| DATA_SOURCE | 0 | rx_ring | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |