Lines Matching refs:page_info
2307 struct be_rx_page_info *page_info; in be_rx_compl_discard() local
2311 page_info = get_rx_page_info(rxo); in be_rx_compl_discard()
2312 put_page(page_info->page); in be_rx_compl_discard()
2313 memset(page_info, 0, sizeof(*page_info)); in be_rx_compl_discard()
2324 struct be_rx_page_info *page_info; in skb_fill_rx_data() local
2329 page_info = get_rx_page_info(rxo); in skb_fill_rx_data()
2330 start = page_address(page_info->page) + page_info->page_offset; in skb_fill_rx_data()
2340 put_page(page_info->page); in skb_fill_rx_data()
2347 skb_frag_set_page(skb, 0, page_info->page); in skb_fill_rx_data()
2349 page_info->page_offset + hdr_len); in skb_fill_rx_data()
2356 page_info->page = NULL; in skb_fill_rx_data()
2366 page_info = get_rx_page_info(rxo); in skb_fill_rx_data()
2370 if (page_info->page_offset == 0) { in skb_fill_rx_data()
2373 skb_frag_set_page(skb, j, page_info->page); in skb_fill_rx_data()
2375 page_info->page_offset); in skb_fill_rx_data()
2379 put_page(page_info->page); in skb_fill_rx_data()
2387 page_info->page = NULL; in skb_fill_rx_data()
2434 struct be_rx_page_info *page_info; in be_rx_compl_process_gro() local
2447 page_info = get_rx_page_info(rxo); in be_rx_compl_process_gro()
2452 if (i == 0 || page_info->page_offset == 0) { in be_rx_compl_process_gro()
2455 skb_frag_set_page(skb, j, page_info->page); in be_rx_compl_process_gro()
2457 page_info->page_offset); in be_rx_compl_process_gro()
2460 put_page(page_info->page); in be_rx_compl_process_gro()
2465 memset(page_info, 0, sizeof(*page_info)); in be_rx_compl_process_gro()
2591 struct be_rx_page_info *page_info = NULL, *prev_page_info = NULL; in be_post_rx_frags() local
2599 page_info = &rxo->page_info_tbl[rxq->head]; in be_post_rx_frags()
2600 for (posted = 0; posted < frags_needed && !page_info->page; posted++) { in be_post_rx_frags()
2621 page_info->page_offset = page_offset; in be_post_rx_frags()
2622 page_info->page = pagep; in be_post_rx_frags()
2625 frag_dmaaddr = page_dmaaddr + page_info->page_offset; in be_post_rx_frags()
2633 page_info->last_frag = true; in be_post_rx_frags()
2634 dma_unmap_addr_set(page_info, bus, page_dmaaddr); in be_post_rx_frags()
2636 dma_unmap_addr_set(page_info, bus, frag_dmaaddr); in be_post_rx_frags()
2639 prev_page_info = page_info; in be_post_rx_frags()
2641 page_info = &rxo->page_info_tbl[rxq->head]; in be_post_rx_frags()
2814 struct be_rx_page_info *page_info; in be_rxq_clean() local
2817 page_info = get_rx_page_info(rxo); in be_rxq_clean()
2818 put_page(page_info->page); in be_rxq_clean()
2819 memset(page_info, 0, sizeof(*page_info)); in be_rxq_clean()