Home
last modified time | relevance | path

Searched refs:buf_states (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/google/gve/
Dgve_rx_dqo.c42 buf_state = &rx->dqo.buf_states[buffer_id]; in gve_alloc_buf_state()
56 s16 buffer_id = buf_state - rx->dqo.buf_states; in gve_buf_state_is_allocated()
64 s16 buffer_id = buf_state - rx->dqo.buf_states; in gve_free_buf_state()
80 buf_state = &rx->dqo.buf_states[buffer_id]; in gve_dequeue_buf_state()
97 s16 buffer_id = buf_state - rx->dqo.buf_states; in gve_enqueue_buf_state()
107 rx->dqo.buf_states[tail].next = buffer_id; in gve_enqueue_buf_state()
197 struct gve_rx_buf_state_dqo *bs = &rx->dqo.buf_states[i]; in gve_rx_free_ring_dqo()
218 kvfree(rx->dqo.buf_states); in gve_rx_free_ring_dqo()
219 rx->dqo.buf_states = NULL; in gve_rx_free_ring_dqo()
247 rx->dqo.buf_states = kvcalloc(rx->dqo.num_buf_states, in gve_rx_alloc_ring_dqo()
[all …]
Dgve.h177 struct gve_rx_buf_state_dqo *buf_states; member