| /linux-6.15/include/trace/events/ |
| H A D | page_ref.h | 32 __entry->count = page_ref_count(page); 81 __entry->count = page_ref_count(page);
|
| /linux-6.15/include/linux/ |
| H A D | page_ref.h | 65 static inline int page_ref_count(const struct page *page) in page_ref_count() function 89 return page_ref_count(&folio->page); in folio_ref_count()
|
| H A D | bootmem_info.h | 51 VM_BUG_ON_PAGE(page_ref_count(page) != 2, page); in free_bootmem_page()
|
| H A D | dax.h | 212 return page && page_ref_count(page) == 0; in dax_page_is_idle()
|
| H A D | mm.h | 1258 VM_BUG_ON_PAGE(page_ref_count(page) == 0, page); in put_page_testzero() 1558 if (WARN_ON_ONCE(page_ref_count(page) <= 0)) in try_get_page()
|
| /linux-6.15/include/net/ |
| H A D | netmem.h | 160 return page_ref_count(netmem_to_page(netmem)); in netmem_ref_count()
|
| /linux-6.15/mm/ |
| H A D | page_frag_cache.c | 86 VM_BUG_ON_PAGE(page_ref_count(page) == 0, page); in __page_frag_cache_drain()
|
| H A D | page_isolation.c | 110 if (!page_ref_count(page)) { in has_unmovable_pages()
|
| H A D | internal.h | 488 VM_BUG_ON_PAGE(page_ref_count(page), page); in set_page_refcounted()
|
| H A D | page_alloc.c | 897 page_ref_count(page) | in page_expected_state() 918 if (unlikely(page_ref_count(page) != 0)) in page_bad_reason()
|
| /linux-6.15/fs/erofs/ |
| H A D | zutil.c | 191 DBG_BUGON(page && page_ref_count(page) != 1); in __erofs_allocpage()
|
| /linux-6.15/arch/powerpc/platforms/512x/ |
| H A D | mpc512x_shared.c | 173 BUG_ON(page_ref_count(page) > 1); in mpc512x_free_bootmem()
|
| /linux-6.15/drivers/net/ethernet/fungible/funeth/ |
| H A D | funeth_rx.c | 76 if (page_ref_count(buf->page) == buf->pg_refs) { in cache_get() 267 if ((page_ref_count(buf->page) == buf->pg_refs && in get_buf()
|
| /linux-6.15/drivers/net/ethernet/cavium/thunder/ |
| H A D | nicvf_queues.c | 105 ref_count = page_ref_count(page); in nicvf_alloc_page() 364 if (pgcache->page && page_ref_count(pgcache->page) != 0) { in nicvf_free_rbdr() 1651 if (page_ref_count(page) != 1) in nicvf_unmap_rcv_buffer()
|
| H A D | nicvf_main.c | 573 if (page_ref_count(page) == 1) { in nicvf_xdp_rx() 604 if (page_ref_count(page) == 1) { in nicvf_xdp_rx() 681 if (page && (page_ref_count(page) == 1)) in nicvf_snd_pkt_handler()
|
| /linux-6.15/drivers/pci/ |
| H A D | p2pdma.c | 150 VM_WARN_ON_ONCE_PAGE(!page_ref_count(page), page); in p2pmem_alloc_mmap()
|
| /linux-6.15/drivers/net/ethernet/cortina/ |
| H A D | gemini.c | 894 pn, page_ref_count(page), 1 << fpp_order); in geth_fill_freeq() 896 if (page_ref_count(page) > 1) { in geth_fill_freeq() 1014 while (page_ref_count(gpage->page) > 0) in geth_cleanup_freeq()
|
| /linux-6.15/drivers/net/ethernet/mscc/ |
| H A D | ocelot_fdma.c | 284 if (unlikely(page_ref_count(page) != 1 || page_is_pfmemalloc(page))) in ocelot_fdma_add_rx_frag()
|
| /linux-6.15/net/core/ |
| H A D | page_pool.c | 747 (page_ref_count(netmem_to_page(netmem)) == 1 && in __page_pool_page_can_be_recycled()
|
| H A D | sock.c | 3087 if (page_ref_count(pfrag->page) == 1) { in skb_page_frag_refill()
|
| /linux-6.15/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_ring.c | 94 if (page_ref_count(rxbuf->rxdata.page) > 1) { in aq_get_rxpages()
|
| /linux-6.15/fs/btrfs/ |
| H A D | compression.c | 216 ASSERT(page_ref_count(page) == 1); in btrfs_compr_pool_scan()
|
| /linux-6.15/drivers/iommu/iommufd/ |
| H A D | selftest.c | 1170 count = page_ref_count(pages[0]); in iommufd_test_md_check_refs()
|
| /linux-6.15/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc.c | 1055 return (!page_is_pfmemalloc(page) && page_ref_count(page) == 1); in enetc_page_reusable()
|
| /linux-6.15/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | ixgbevf_main.c | 795 if (unlikely((page_ref_count(page) - pagecnt_bias) > 1)) in ixgbevf_can_reuse_rx_page()
|