Lines Matching refs:curr_cons
525 struct sw_rx_data *curr_cons) in qede_reuse_page() argument
532 *curr_prod = *curr_cons; in qede_reuse_page()
541 curr_cons->data = NULL; in qede_reuse_page()
549 struct sw_rx_data *curr_cons; in qede_recycle_rx_bd_ring() local
552 curr_cons = &rxq->sw_rx_ring[rxq->sw_rx_cons & NUM_RX_BDS_MAX]; in qede_recycle_rx_bd_ring()
553 qede_reuse_page(rxq, curr_cons); in qede_recycle_rx_bd_ring()
559 struct sw_rx_data *curr_cons) in qede_realloc_rx_buffer() argument
562 curr_cons->page_offset += rxq->rx_buf_seg_size; in qede_realloc_rx_buffer()
564 if (curr_cons->page_offset == PAGE_SIZE) { in qede_realloc_rx_buffer()
569 curr_cons->page_offset -= rxq->rx_buf_seg_size; in qede_realloc_rx_buffer()
574 dma_unmap_page(rxq->dev, curr_cons->mapping, in qede_realloc_rx_buffer()
581 page_ref_inc(curr_cons->data); in qede_realloc_rx_buffer()
582 qede_reuse_page(rxq, curr_cons); in qede_realloc_rx_buffer()