Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/amazon/ena/ena_com.c ena_com_init_io_sq() -> ena_com_get_next_bounce_buffer()

Type Parameter Key Value
PARAM_VALUE 0 bounce_buf_ctrl 4096-ptr_max
PARAM_VALUE 0 bounce_buf_ctrl->base_buffer 1-u64max
PARAM_VALUE 0 bounce_buf_ctrl->buffers_num 4
PARAM_VALUE 0 bounce_buf_ctrl->next_to_use 0
MEM_ZERO 0 bounce_buf_ctrl
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/amazon/ena/ena_eth_com.c ena_com_close_bounce_buffer() -> ena_com_get_next_bounce_buffer()

Type Parameter Key Value
PARAM_VALUE 0 bounce_buf_ctrl 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ring->xdp_tx_lock
HALF_LOCKED2 rcu_read

drivers/net/ethernet/amazon/ena/ena_eth_com.c ena_com_sq_update_llq_tail() -> ena_com_get_next_bounce_buffer()

Type Parameter Key Value
PARAM_VALUE 0 bounce_buf_ctrl 4096-ptr_max
PARAM_VALUE 0 bounce_buf_ctrl->buffers_num 0,4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING