Lines Matching refs:rx_bi
1355 return &rx_ring->rx_bi[idx]; in i40e_rx_bi()
1462 memset(rx_ring->rx_bi, 0, sizeof(*rx_ring->rx_bi) * rx_ring->count); in i40e_clear_rx_bi()
1474 if (!rx_ring->rx_bi) in i40e_clean_rx_ring()
1487 struct i40e_rx_buffer *rx_bi = i40e_rx_bi(rx_ring, i); in i40e_clean_rx_ring() local
1489 if (!rx_bi->page) in i40e_clean_rx_ring()
1496 rx_bi->dma, in i40e_clean_rx_ring()
1497 rx_bi->page_offset, in i40e_clean_rx_ring()
1502 dma_unmap_page_attrs(rx_ring->dev, rx_bi->dma, in i40e_clean_rx_ring()
1507 __page_frag_cache_drain(rx_bi->page, rx_bi->pagecnt_bias); in i40e_clean_rx_ring()
1509 rx_bi->page = NULL; in i40e_clean_rx_ring()
1510 rx_bi->page_offset = 0; in i40e_clean_rx_ring()
1539 kfree(rx_ring->rx_bi); in i40e_free_rx_resources()
1540 rx_ring->rx_bi = NULL; in i40e_free_rx_resources()
1588 rx_ring->rx_bi = in i40e_setup_rx_descriptors()
1589 kcalloc(rx_ring->count, sizeof(*rx_ring->rx_bi), GFP_KERNEL); in i40e_setup_rx_descriptors()
1590 if (!rx_ring->rx_bi) in i40e_setup_rx_descriptors()