Home
last modified time | relevance | path

Searched refs:virt_to_head_page (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.1.9/drivers/net/ethernet/broadcom/
Dbgmac.c356 put_page(virt_to_head_page(buf)); in bgmac_dma_rx_skb_for_slot()
452 put_page(virt_to_head_page(buf)); in bgmac_dma_rx_read()
460 put_page(virt_to_head_page(buf)); in bgmac_dma_rx_read()
472 put_page(virt_to_head_page(buf)); in bgmac_dma_rx_read()
567 put_page(virt_to_head_page(slot->buf)); in bgmac_dma_rx_ring_free()
/linux-6.1.9/net/core/
Dxdp.c382 page = virt_to_head_page(data); in __xdp_return()
540 page = virt_to_head_page(data); in __xdp_release_frame()
Dgro.c218 struct page *page = virt_to_head_page(skb->head); in skb_gro_receive()
Dpage_pool.c620 struct page *page = virt_to_head_page(data[i]); in page_pool_put_page_bulk()
Dskbuff.c343 if (page_is_pfmemalloc(virt_to_head_page(data))) in build_skb()
366 if (page_is_pfmemalloc(virt_to_head_page(data))) in build_skb_around()
413 skb_propagate_pfmemalloc(virt_to_head_page(data), skb); in napi_build_skb()
3324 page = virt_to_head_page(from->head); in skb_zerocopy()
4013 page = virt_to_head_page(frag_skb->head); in skb_head_frag_to_page_desc()
5454 page = virt_to_head_page(from->head); in skb_try_coalesce()
/linux-6.1.9/drivers/net/
Dvirtio_net.c745 p = virt_to_head_page(buf); in xdp_linearize_page()
785 struct page *page = virt_to_head_page(buf); in receive_small()
948 struct page *page = virt_to_head_page(buf); in receive_mergeable()
1142 page = virt_to_head_page(buf); in receive_mergeable()
1199 page = virt_to_head_page(buf); in receive_mergeable()
1251 put_page(virt_to_head_page(buf)); in receive_buf()
1255 put_page(virt_to_head_page(buf)); in receive_buf()
1326 put_page(virt_to_head_page(buf)); in add_recvbuf_small()
1434 put_page(virt_to_head_page(buf)); in add_recvbuf_mergeable()
3388 put_page(virt_to_head_page(buf)); in virtnet_rq_free_unused_buf()
[all …]
Dtun.c1497 page = virt_to_head_page(frag); in tun_napi_alloc_frags()
2454 put_page(virt_to_head_page(xdp->data)); in tun_xdp_one()
2467 page = virt_to_head_page(xdp->data); in tun_xdp_one()
/linux-6.1.9/mm/kmsan/
Dhooks.c117 page = virt_to_head_page((void *)ptr); in kmsan_kfree_large()
/linux-6.1.9/mm/kasan/
Dcommon.c249 if (ptr != page_address(virt_to_head_page(ptr))) { in ____kasan_kfree_large()
Dreport.c208 return virt_to_head_page(addr); in addr_to_page()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dsdio_txrx.c70 page = virt_to_head_page(data); in mt76s_build_rx_skb()
Dusb.c335 page = virt_to_head_page(data); in mt76u_fill_rx_sg()
494 page = virt_to_head_page(data); in mt76u_build_rx_skb()
Ddma.c625 struct page *page = virt_to_head_page(data); in mt76_add_fragment()
/linux-6.1.9/include/linux/
Dmemcontrol.h1517 struct page *page = virt_to_head_page(p); in __mod_lruvec_kmem_state()
1525 struct page *page = virt_to_head_page(p); in mod_lruvec_kmem_state()
/linux-6.1.9/drivers/net/wwan/t7xx/
Dt7xx_hif_dpmaif_rx.c388 page = virt_to_head_page(data); in t7xx_dpmaif_rx_frag_alloc()
394 put_page(virt_to_head_page(data)); in t7xx_dpmaif_rx_frag_alloc()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c48 tx_buf->page = virt_to_head_page(xdp->data); in bnxt_xmit_bd()
/linux-6.1.9/drivers/net/ethernet/socionext/
Dnetsec.c921 page = virt_to_head_page(xdp->data); in netsec_run_xdp()
931 page = virt_to_head_page(xdp->data); in netsec_run_xdp()
943 page = virt_to_head_page(xdp->data); in netsec_run_xdp()
/linux-6.1.9/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1534 virt_to_head_page(data), napi); in mtk_rx_put_buff()
1556 struct page *page = virt_to_head_page(data); in mtk_xdp_frame_map()
1769 virt_to_head_page(xdp->data), true); in mtk_xdp_run()
1831 struct page *page = virt_to_head_page(data); in mtk_poll_rx()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfd3/
Ddp.c795 page_ref_inc(virt_to_head_page(rxbuf->frag)); in nfp_nfd3_rx_drop()
/linux-6.1.9/net/xdp/
Dxsk.c1322 qpg = virt_to_head_page(q->ring); in xsk_mmap()
/linux-6.1.9/mm/
Dnommu.c82 page = virt_to_head_page(objp); in kobjsize()
/linux-6.1.9/kernel/
Dresource.c161 if (res && PageSlab(virt_to_head_page(res))) in free_resource()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c791 page_ref_inc(virt_to_head_page(rxbuf->frag)); in nfp_nfdk_rx_drop()
/linux-6.1.9/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c376 page_pool_put_full_page(page_pool, virt_to_head_page(data), false); in mvpp2_frag_free()
3811 page = virt_to_head_page(xdp->data); in mvpp2_run_xdp()
3821 page = virt_to_head_page(xdp->data); in mvpp2_run_xdp()
3832 page = virt_to_head_page(xdp->data); in mvpp2_run_xdp()
/linux-6.1.9/io_uring/
Dio_uring.c2446 page = virt_to_head_page(ptr); in io_mem_free()
3039 page = virt_to_head_page(ptr); in io_uring_validate_mmap_request()

12