Defined in 2 files as a function:
- drivers/net/ethernet/sfc/net_driver.h, line 1706 (as a function)
- drivers/net/ethernet/sfc/siena/net_driver.h, line 1589 (as a function)
Referenced in 4 files:
- drivers/net/ethernet/sfc/rx.c
- drivers/net/ethernet/sfc/rx_common.c
- drivers/net/ethernet/sfc/siena/rx.c
- drivers/net/ethernet/sfc/siena/rx_common.c
Smatch caller information:
drivers/net/ethernet/sfc/siena/rx.c efx_rx_mk_skb() -> efx_rx_buf_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | rx_buf | 4096-ptr_max |
| CAPPED_DATA | 1 | rx_buf->len | 1 |
| DATA_SOURCE | 1 | rx_buf | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/siena/rx.c efx_siena_rx_packet() -> efx_rx_buf_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | rx_buf | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 320 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/rx_common.c efx_free_rx_buffers() -> efx_rx_buf_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | rx_buf | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | (-1),448 |
| BUF_SIZE | 0 | rx_queue | (-1),448 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| DATA_SOURCE | 1 | rx_buf | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/rx_common.c efx_recycle_rx_pages() -> efx_rx_buf_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | rx_buf | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 448 |
| DATA_SOURCE | 0 | rx_queue | r efx_channel_get_rx_queue |
| DATA_SOURCE | 1 | rx_buf | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/rx_common.c efx_rx_packet_gro() -> efx_rx_buf_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | rx_buf | 4096-ptr_max |
| DATA_SOURCE | 1 | rx_buf | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/rx.c efx_rx_mk_skb() -> efx_rx_buf_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | rx_buf | 4096-ptr_max |
| CAPPED_DATA | 1 | rx_buf->len | 1 |
| DATA_SOURCE | 1 | rx_buf | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/rx.c efx_rx_packet() -> efx_rx_buf_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | rx_buf | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 448 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/siena/rx_common.c efx_siena_free_rx_buffers() -> efx_rx_buf_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | rx_buf | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | (-1),320 |
| BUF_SIZE | 0 | rx_queue | (-1),320 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| DATA_SOURCE | 1 | rx_buf | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/siena/rx_common.c efx_siena_recycle_rx_pages() -> efx_rx_buf_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | rx_buf | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 320 |
| DATA_SOURCE | 0 | rx_queue | r efx_channel_get_rx_queue |
| DATA_SOURCE | 1 | rx_buf | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/siena/rx_common.c efx_siena_rx_packet_gro() -> efx_rx_buf_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | rx_buf | 4096-ptr_max |
| DATA_SOURCE | 1 | rx_buf | $1 [m] |
| BIT_INFO | 1 | rx_buf->flags | 0x40,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |