Home
last modified time | relevance | path

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

12

/Linux-v5.15/mm/kasan/
Dcommon.c344 if (unlikely(nearest_obj(cache, virt_to_head_page(object), object) != in ____kasan_slab_free()
379 if (ptr != page_address(virt_to_head_page(ptr))) { in ____kasan_kfree_large()
406 page = virt_to_head_page(ptr); in __kasan_slab_free_mempool()
575 page = virt_to_head_page(object); in __kasan_krealloc()
Dquarantine.c120 return virt_to_head_page(qlink)->slab_cache; in qlink_to_cache()
Dreport.c158 return virt_to_head_page(addr); in kasan_addr_to_page()
/Linux-v5.15/mm/
Dusercopy.c197 endpage = virt_to_head_page(end); in check_page_span()
212 page = virt_to_head_page(ptr); in check_page_span()
Dslab.h310 page = virt_to_head_page(p[i]); in memcg_slab_post_alloc_hook()
348 page = virt_to_head_page(p[i]); in memcg_slab_free_hook()
412 page = virt_to_head_page(obj); in virt_to_cache()
Dslab_common.c566 page = virt_to_head_page(object); in kmem_valid_obj()
596 page = virt_to_head_page(object); in kmem_dump_obj()
Dslab.c1556 struct page *page = virt_to_head_page(objp); in check_poison_obj()
2717 page = virt_to_head_page(objp); in cache_free_debugcheck()
3346 page = virt_to_head_page(objp); in free_block()
3484 struct page *page = virt_to_head_page(objp); in ___cache_free()
3672 page = virt_to_head_page(objp); in kmem_obj_info()
Dslub.c3499 do_slab_free(cache, virt_to_head_page(x), x, NULL, 1, addr); in ___cache_free()
3508 slab_free(s, virt_to_head_page(x), x, NULL, 1, _RET_IP_); in kmem_cache_free()
3563 page = virt_to_head_page(object); in build_detached_freelist()
3598 if (df->page == virt_to_head_page(object)) { in build_detached_freelist()
4526 page = virt_to_head_page(object); in __ksize()
4547 page = virt_to_head_page(x); in kfree()
Dnommu.c84 page = virt_to_head_page(objp); in kobjsize()
/Linux-v5.15/drivers/net/
Dvirtio_net.c680 p = virt_to_head_page(buf); in xdp_linearize_page()
720 struct page *page = virt_to_head_page(buf); in receive_small()
879 struct page *page = virt_to_head_page(buf); in receive_mergeable()
1045 page = virt_to_head_page(buf); in receive_mergeable()
1102 page = virt_to_head_page(buf); in receive_mergeable()
1125 put_page(virt_to_head_page(buf)); in receive_buf()
1129 put_page(virt_to_head_page(buf)); in receive_buf()
1198 put_page(virt_to_head_page(buf)); in add_recvbuf_small()
1305 put_page(virt_to_head_page(buf)); in add_recvbuf_mergeable()
2793 put_page(virt_to_head_page(buf)); in free_unused_bufs()
[all …]
Dtun.c1410 page = virt_to_head_page(frag); in tun_napi_alloc_frags()
2359 put_page(virt_to_head_page(xdp->data)); in tun_xdp_one()
2372 page = virt_to_head_page(xdp->data); in tun_xdp_one()
/Linux-v5.15/net/core/
Dxdp.c353 page = virt_to_head_page(data); in __xdp_return()
456 page = virt_to_head_page(data); in __xdp_release_frame()
Dpage_pool.c494 struct page *page = virt_to_head_page(data[i]); in page_pool_put_page_bulk()
Dskbuff.c262 if (page_is_pfmemalloc(virt_to_head_page(data))) in build_skb()
285 if (page_is_pfmemalloc(virt_to_head_page(data))) in build_skb_around()
332 skb_propagate_pfmemalloc(virt_to_head_page(data), skb); in napi_build_skb()
3135 page = virt_to_head_page(from->head); in skb_zerocopy()
3839 page = virt_to_head_page(frag_skb->head); in skb_head_frag_to_page_desc()
4362 struct page *page = virt_to_head_page(skb->head); in skb_gro_receive()
5408 page = virt_to_head_page(from->head); in skb_try_coalesce()
/Linux-v5.15/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-v5.15/drivers/net/wireless/mediatek/mt76/mt7615/
Dsdio_txrx.c71 page = virt_to_head_page(data); in mt7663s_build_rx_skb()
/Linux-v5.15/include/linux/
Dmemcontrol.h1432 struct page *page = virt_to_head_page(p); in __mod_lruvec_kmem_state()
1440 struct page *page = virt_to_head_page(p); in mod_lruvec_kmem_state()
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/
Dusb.c388 page = virt_to_head_page(data); in mt76u_fill_rx_sg()
547 page = virt_to_head_page(data); in mt76u_build_rx_skb()
Ddma.c534 struct page *page = virt_to_head_page(data); in mt76_add_fragment()
/Linux-v5.15/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-v5.15/mm/kfence/
Dkfence_test.c280 struct page *page = virt_to_head_page(alloc); in test_alloc()
/Linux-v5.15/net/xdp/
Dxsk.c1290 qpg = virt_to_head_page(q->ring); in xsk_mmap()
/Linux-v5.15/kernel/
Dresource.c154 if (!PageSlab(virt_to_head_page(res))) { in free_resource()
/Linux-v5.15/net/wireless/
Dutil.c676 frag_page = virt_to_head_page(skb->head); in __ieee80211_amsdu_copy_frag()
/Linux-v5.15/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()
3807 page = virt_to_head_page(xdp->data); in mvpp2_run_xdp()
3817 page = virt_to_head_page(xdp->data); in mvpp2_run_xdp()
3828 page = virt_to_head_page(xdp->data); in mvpp2_run_xdp()

12