Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dusercopy.c200 endpage = virt_to_head_page(end); in check_page_span()
215 page = virt_to_head_page(ptr); in check_page_span()
234 page = virt_to_head_page(ptr); in check_heap_object()
Dslab.h372 page = virt_to_head_page(x); in cache_from_obj()
Dlist_lru.c68 page = virt_to_head_page(ptr); in mem_cgroup_from_kmem()
Dslab.c399 struct page *page = virt_to_head_page(obj); in virt_to_cache()
1639 struct page *page = virt_to_head_page(objp); in check_poison_obj()
2795 page = virt_to_head_page(objp); in cache_free_debugcheck()
3415 page = virt_to_head_page(objp); in free_block()
3531 struct page *page = virt_to_head_page(objp); in ___cache_free()
Dslub.c2960 do_slab_free(cache, virt_to_head_page(x), x, NULL, 1, addr); in ___cache_free()
2969 slab_free(s, virt_to_head_page(x), x, NULL, 1, _RET_IP_); in kmem_cache_free()
3014 page = virt_to_head_page(object); in build_detached_freelist()
3044 if (df->page == virt_to_head_page(object)) { in build_detached_freelist()
3868 page = virt_to_head_page(object); in __ksize()
3899 page = virt_to_head_page(x); in kfree()
Dnommu.c83 page = virt_to_head_page(objp); in kobjsize()
Dpage_alloc.c4555 struct page *page = virt_to_head_page(addr); in page_frag_free()
/Linux-v4.19/mm/kasan/
Dkasan.c499 if (unlikely(nearest_obj(cache, virt_to_head_page(object), object) != in __kasan_slab_free()
586 page = virt_to_head_page(object); in kasan_krealloc()
598 page = virt_to_head_page(ptr); in kasan_poison_kfree()
614 if (ptr != page_address(virt_to_head_page(ptr))) in kasan_kfree_large()
Dquarantine.c127 return virt_to_head_page(qlink)->slab_cache; in qlink_to_cache()
Dreport.c201 return virt_to_head_page(addr); in addr_to_page()
/Linux-v4.19/drivers/net/
Dvirtio_net.c581 p = virt_to_head_page(buf); in xdp_linearize_page()
621 struct page *page = virt_to_head_page(buf); in receive_small()
766 struct page *page = virt_to_head_page(buf); in receive_mergeable()
919 page = virt_to_head_page(buf); in receive_mergeable()
976 page = virt_to_head_page(buf); in receive_mergeable()
999 put_page(virt_to_head_page(buf)); in receive_buf()
1003 put_page(virt_to_head_page(buf)); in receive_buf()
1071 put_page(virt_to_head_page(buf)); in add_recvbuf_small()
1178 put_page(virt_to_head_page(buf)); in add_recvbuf_mergeable()
2560 put_page(virt_to_head_page(buf)); in free_unused_bufs()
[all …]
/Linux-v4.19/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-v4.19/net/core/
Dxdp.c324 page = virt_to_head_page(data); in __xdp_return()
Dskbuff.c316 if (page_is_pfmemalloc(virt_to_head_page(data))) in build_skb()
2739 page = virt_to_head_page(from->head); in skb_zerocopy()
3488 page = virt_to_head_page(frag_skb->head); in skb_head_frag_to_page_desc()
3872 struct page *page = virt_to_head_page(skb->head); in skb_gro_receive()
4853 page = virt_to_head_page(from->head); in skb_try_coalesce()
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Ddma.c396 struct page *page = virt_to_head_page(data); in mt76_add_fragment()
Dusb.c234 page = virt_to_head_page(data); in mt76u_fill_rx_sg()
/Linux-v4.19/net/xdp/
Dxsk.c667 qpg = virt_to_head_page(q->ring); in xsk_mmap()
/Linux-v4.19/kernel/
Dresource.c154 if (!PageSlab(virt_to_head_page(res))) { in free_resource()
/Linux-v4.19/net/wireless/
Dutil.c557 frag_page = virt_to_head_page(skb->head); in __ieee80211_amsdu_copy_frag()
/Linux-v4.19/drivers/net/ethernet/aurora/
Dnb8800.c212 page = virt_to_head_page(data); in nb8800_alloc_rx()
/Linux-v4.19/include/linux/
Dmm.h656 static inline struct page *virt_to_head_page(const void *x) in virt_to_head_page() function
/Linux-v4.19/drivers/staging/fsl-dpaa2/ethernet/
Ddpaa2-eth.c176 head_page = virt_to_head_page(sg_vaddr); in build_frag_skb()
/Linux-v4.19/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c1793 head_page = virt_to_head_page(sg_vaddr); in sg_fd_to_skb()
/Linux-v4.19/drivers/staging/mt7621-eth/
Dmtk_eth_soc.c1095 put_page(virt_to_head_page(new_data)); in mtk_poll_rx()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c1558 page_ref_inc(virt_to_head_page(rxbuf->frag)); in nfp_net_rx_drop()