Home
last modified time | relevance | path

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

12

/linux/mm/kasan/
A Dcommon.c301 return (u8)obj_to_index(cache, virt_to_head_page(object), (void *)object); in assign_tag()
344 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()
A Dquarantine.c120 return virt_to_head_page(qlink)->slab_cache; in qlink_to_cache()
A Dreport.c149 return virt_to_head_page(addr); in kasan_addr_to_page()
/linux/mm/
A Dusercopy.c197 endpage = virt_to_head_page(end); in check_page_span()
212 page = virt_to_head_page(ptr); in check_page_span()
A 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()
A Dslab_common.c558 page = virt_to_head_page(object); in kmem_valid_obj()
588 page = virt_to_head_page(object); in kmem_dump_obj()
A 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()
A Dslub.c3520 do_slab_free(cache, virt_to_head_page(x), x, NULL, 1, addr); in ___cache_free()
3530 slab_free(s, virt_to_head_page(x), x, NULL, 1, _RET_IP_); in kmem_cache_free()
3586 page = virt_to_head_page(object); in build_detached_freelist()
3621 if (df->page == virt_to_head_page(object)) { in build_detached_freelist()
4535 page = virt_to_head_page(object); in __ksize()
4556 page = virt_to_head_page(x); in kfree()
A Dnommu.c83 page = virt_to_head_page(objp); in kobjsize()
/linux/drivers/net/
A Dvirtio_net.c683 p = virt_to_head_page(buf); in xdp_linearize_page()
723 struct page *page = virt_to_head_page(buf); in receive_small()
886 struct page *page = virt_to_head_page(buf); in receive_mergeable()
1059 page = virt_to_head_page(buf); in receive_mergeable()
1116 page = virt_to_head_page(buf); in receive_mergeable()
1139 put_page(virt_to_head_page(buf)); in receive_buf()
1143 put_page(virt_to_head_page(buf)); in receive_buf()
1212 put_page(virt_to_head_page(buf)); in add_recvbuf_small()
1319 put_page(virt_to_head_page(buf)); in add_recvbuf_mergeable()
2825 put_page(virt_to_head_page(buf)); in free_unused_bufs()
[all …]
A Dtun.c1466 page = virt_to_head_page(frag); in tun_napi_alloc_frags()
2410 put_page(virt_to_head_page(xdp->data)); in tun_xdp_one()
2423 page = virt_to_head_page(xdp->data); in tun_xdp_one()
/linux/net/core/
A Dxdp.c351 page = virt_to_head_page(data); in __xdp_return()
454 page = virt_to_head_page(data); in __xdp_release_frame()
A Dpage_pool.c494 struct page *page = virt_to_head_page(data[i]); in page_pool_put_page_bulk()
A Dskbuff.c260 if (page_is_pfmemalloc(virt_to_head_page(data))) in build_skb()
283 if (page_is_pfmemalloc(virt_to_head_page(data))) in build_skb_around()
330 skb_propagate_pfmemalloc(virt_to_head_page(data), skb); in napi_build_skb()
3135 page = virt_to_head_page(from->head); in skb_zerocopy()
3828 page = virt_to_head_page(frag_skb->head); in skb_head_frag_to_page_desc()
4351 struct page *page = virt_to_head_page(skb->head); in skb_gro_receive()
5403 page = virt_to_head_page(from->head); in skb_try_coalesce()
/linux/drivers/net/ethernet/broadcom/
A 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/drivers/net/wireless/mediatek/mt76/
A Dsdio_txrx.c70 page = virt_to_head_page(data); in mt76s_build_rx_skb()
A 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()
A Ddma.c534 struct page *page = virt_to_head_page(data); in mt76_add_fragment()
/linux/include/linux/
A Dmemcontrol.h1478 struct page *page = virt_to_head_page(p); in __mod_lruvec_kmem_state()
1486 struct page *page = virt_to_head_page(p); in mod_lruvec_kmem_state()
/linux/drivers/net/ethernet/socionext/
A 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/mm/kfence/
A Dkfence_test.c285 struct page *page = virt_to_head_page(alloc); in test_alloc()
/linux/net/xdp/
A Dxsk.c1275 qpg = virt_to_head_page(q->ring); in xsk_mmap()
/linux/kernel/
A Dresource.c166 if (!PageSlab(virt_to_head_page(res))) { in free_resource()
/linux/net/wireless/
A Dutil.c678 frag_page = virt_to_head_page(skb->head); in __ieee80211_amsdu_copy_frag()
/linux/drivers/net/ethernet/marvell/mvpp2/
A Dmvpp2_main.c376 page_pool_put_full_page(page_pool, virt_to_head_page(data), false); in mvpp2_frag_free()
3808 page = virt_to_head_page(xdp->data); in mvpp2_run_xdp()
3818 page = virt_to_head_page(xdp->data); in mvpp2_run_xdp()
3829 page = virt_to_head_page(xdp->data); in mvpp2_run_xdp()

Completed in 106 milliseconds

12