Home
last modified time | relevance | path

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

12

/openbmc/linux/include/trace/events/
H A Dpage_ref.h32 __entry->count = page_ref_count(page);
81 __entry->count = page_ref_count(page);
/openbmc/linux/include/linux/
H A Dbootmem_info.h40 VM_BUG_ON_PAGE(page_ref_count(page) != 2, page); in free_bootmem_page()
H A Dpage_ref.h65 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 Dmm.h1095 VM_BUG_ON_PAGE(page_ref_count(page) == 0, page); in put_page_testzero()
1455 if (WARN_ON_ONCE(page_ref_count(page) <= 0)) in try_get_page()
/openbmc/linux/fs/erofs/
H A Dcompress.h76 if (page_ref_count(page) > 1) { in z_erofs_put_shortlivedpage()
H A Dutils.c13 DBG_BUGON(page_ref_count(page) != 1); in erofs_allocpage()
/openbmc/linux/net/core/
H A Dpage_pool.c605 if (likely(page_ref_count(page) == 1 && !page_is_pfmemalloc(page))) { in __page_pool_put_page()
720 if (page_ref_count(page) == 1 && !page_is_pfmemalloc(page)) { in page_pool_drain_frag()
797 if (!(page_ref_count(page) == 1)) in page_pool_empty_ring()
799 __func__, page_ref_count(page)); in page_pool_empty_ring()
H A Dsock.c2917 if (page_ref_count(pfrag->page) == 1) { in skb_page_frag_refill()
/openbmc/linux/mm/
H A Ddebug.c99 page, page_ref_count(head), mapcount, mapping, in __dump_page()
H A Dpage_isolation.c103 if (!page_ref_count(page)) { in has_unmovable_pages()
H A Dinternal.h175 VM_BUG_ON_PAGE(page_ref_count(page), page); in set_page_refcounted()
H A Dpage_alloc.c914 page_ref_count(page) | in page_expected_state()
932 if (unlikely(page_ref_count(page) != 0)) in page_bad_reason()
4568 VM_BUG_ON_PAGE(page_ref_count(page) == 0, page); in __page_frag_cache_drain()
/openbmc/linux/arch/powerpc/platforms/512x/
H A Dmpc512x_shared.c173 BUG_ON(page_ref_count(page) > 1); in mpc512x_free_bootmem()
/openbmc/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_rx.c76 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()
/openbmc/linux/fs/nilfs2/
H A Dpage.c168 page, page_ref_count(page), in nilfs_page_bug()
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.c105 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 Dnicvf_main.c573 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()
/openbmc/linux/fs/
H A Ddax.c390 WARN_ON_ONCE(trunc && page_ref_count(page) > 1); in dax_disassociate_entry()
409 if (page_ref_count(page) > 1) in dax_busy_page()
/openbmc/linux/drivers/net/ethernet/cortina/
H A Dgemini.c898 pn, page_ref_count(page), 1 << fpp_order); in geth_fill_freeq()
900 if (page_ref_count(page) > 1) { in geth_fill_freeq()
1018 while (page_ref_count(gpage->page) > 0) in geth_cleanup_freeq()
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_fdma.c284 if (unlikely(page_ref_count(page) != 1 || page_is_pfmemalloc(page))) in ocelot_fdma_add_rx_frag()
/openbmc/linux/drivers/iommu/iommufd/
H A Dselftest.c591 count = page_ref_count(pages[0]); in iommufd_test_md_check_refs()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ring.c94 if (page_ref_count(rxbuf->rxdata.page) > 1) { in aq_get_rxpages()
/openbmc/linux/fs/xfs/
H A Dxfs_inode.c3584 if (page && page_ref_count(page) != 1) { in xfs_mmaplock_two_inodes_and_break_dax_layout()
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c733 return (!page_is_pfmemalloc(page) && page_ref_count(page) == 1); in enetc_page_reusable()
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c795 if (unlikely((page_ref_count(page) - pagecnt_bias) > 1)) in ixgbevf_can_reuse_rx_page()

12