Home
last modified time | relevance | path

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

12

/Linux-v5.4/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.h472 page = virt_to_head_page(obj); in virt_to_cache()
Dlist_lru.c66 page = virt_to_head_page(ptr); in mem_cgroup_from_kmem()
Dslub.c3011 do_slab_free(cache, virt_to_head_page(x), x, NULL, 1, addr); in ___cache_free()
3020 slab_free(s, virt_to_head_page(x), x, NULL, 1, _RET_IP_); in kmem_cache_free()
3065 page = virt_to_head_page(object); in build_detached_freelist()
3095 if (df->page == virt_to_head_page(object)) { in build_detached_freelist()
3924 page = virt_to_head_page(object); in __ksize()
3945 page = virt_to_head_page(x); in kfree()
Dslab.c1548 struct page *page = virt_to_head_page(objp); in check_poison_obj()
2723 page = virt_to_head_page(objp); in cache_free_debugcheck()
3342 page = virt_to_head_page(objp); in free_block()
3460 struct page *page = virt_to_head_page(objp); in ___cache_free()
Dnommu.c84 page = virt_to_head_page(objp); in kobjsize()
/Linux-v5.4/mm/kasan/
Dcommon.c448 if (unlikely(nearest_obj(cache, virt_to_head_page(object), object) != in __kasan_slab_free()
560 page = virt_to_head_page(object); in kasan_krealloc()
573 page = virt_to_head_page(ptr); in kasan_poison_kfree()
588 if (ptr != page_address(virt_to_head_page(ptr))) in kasan_kfree_large()
Dquarantine.c128 return virt_to_head_page(qlink)->slab_cache; in qlink_to_cache()
Dreport.c118 return virt_to_head_page(addr); in kasan_addr_to_page()
/Linux-v5.4/net/core/
Dxdp.c404 page = virt_to_head_page(data); in __xdp_return()
462 page = virt_to_head_page(data); in __xdp_release_frame()
Dskbuff.c330 if (page_is_pfmemalloc(virt_to_head_page(data))) in build_skb()
353 if (page_is_pfmemalloc(virt_to_head_page(data))) in build_skb_around()
2960 page = virt_to_head_page(from->head); in skb_zerocopy()
3633 page = virt_to_head_page(frag_skb->head); in skb_head_frag_to_page_desc()
4036 struct page *page = virt_to_head_page(skb->head); in skb_gro_receive()
5064 page = virt_to_head_page(from->head); in skb_try_coalesce()
/Linux-v5.4/drivers/net/
Dvirtio_net.c603 p = virt_to_head_page(buf); in xdp_linearize_page()
643 struct page *page = virt_to_head_page(buf); in receive_small()
789 struct page *page = virt_to_head_page(buf); in receive_mergeable()
943 page = virt_to_head_page(buf); in receive_mergeable()
1000 page = virt_to_head_page(buf); in receive_mergeable()
1023 put_page(virt_to_head_page(buf)); in receive_buf()
1027 put_page(virt_to_head_page(buf)); in receive_buf()
1096 put_page(virt_to_head_page(buf)); in add_recvbuf_small()
1203 put_page(virt_to_head_page(buf)); in add_recvbuf_mergeable()
2712 put_page(virt_to_head_page(buf)); in free_unused_bufs()
[all …]
Dtun.c1503 page = virt_to_head_page(frag); in tun_napi_alloc_frags()
2444 put_page(virt_to_head_page(xdp->data)); in tun_xdp_one()
2457 page = virt_to_head_page(xdp->data); in tun_xdp_one()
/Linux-v5.4/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.4/drivers/net/wireless/mediatek/mt76/
Dusb.c287 page = virt_to_head_page(data); in mt76u_fill_rx_sg()
437 page = virt_to_head_page(data); in mt76u_build_rx_skb()
Ddma.c448 struct page *page = virt_to_head_page(data); in mt76_add_fragment()
/Linux-v5.4/include/linux/
Dmemcontrol.h1126 struct page *page = virt_to_head_page(p); in __mod_lruvec_slab_state()
Dmm.h744 static inline struct page *virt_to_head_page(const void *x) in virt_to_head_page() function
/Linux-v5.4/net/xdp/
Dxsk.c991 qpg = virt_to_head_page(q->ring); in xsk_mmap()
/Linux-v5.4/kernel/
Dresource.c155 if (!PageSlab(virt_to_head_page(res))) { in free_resource()
/Linux-v5.4/drivers/net/ethernet/aurora/
Dnb8800.c202 page = virt_to_head_page(data); in nb8800_alloc_rx()
/Linux-v5.4/net/wireless/
Dutil.c584 frag_page = virt_to_head_page(skb->head); in __ieee80211_amsdu_copy_frag()
/Linux-v5.4/fs/
Dio_uring.c3266 page = virt_to_head_page(ptr); in io_mem_free()
3643 page = virt_to_head_page(ptr); in io_uring_mmap()
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c1791 head_page = virt_to_head_page(sg_vaddr); in sg_fd_to_skb()
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c176 head_page = virt_to_head_page(sg_vaddr); in build_frag_skb()

12