Searched refs:page_ref_count (Results 1 – 21 of 21) sorted by relevance
32 __entry->count = page_ref_count(page);81 __entry->count = page_ref_count(page);
65 static inline int page_ref_count(const struct page *page) in page_ref_count() function89 return page_ref_count(&folio->page); in folio_ref_count()
214 return page && page_ref_count(page) == 0; in dax_page_is_idle()
1036 VM_BUG_ON_PAGE(page_ref_count(page) == 0, page); in put_page_testzero()1338 if (WARN_ON_ONCE(page_ref_count(page) <= 0)) in try_get_page()
239 return page_ref_count(netmem_to_page(netmem)); in netmem_ref_count()
191 DBG_BUGON(page && page_ref_count(page) != 1); in __erofs_allocpage()
173 BUG_ON(page_ref_count(page) > 1); in mpc512x_free_bootmem()
110 if (!page_ref_count(page)) { in has_unmovable_pages()
512 VM_BUG_ON_PAGE(page_ref_count(page), page); in set_page_refcounted()
1041 page_ref_count(page) |1060 if (unlikely(page_ref_count(page) != 0))
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()
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()
150 VM_WARN_ON_ONCE_PAGE(!page_ref_count(page), page); in p2pmem_alloc_mmap()
284 if (unlikely(page_ref_count(page) != 1 || page_is_pfmemalloc(page))) in ocelot_fdma_add_rx_frag()
780 (page_ref_count(netmem_to_page(netmem)) == 1 && in __page_pool_page_can_be_recycled()
3118 if (page_ref_count(pfrag->page) == 1) { in skb_page_frag_refill()
94 if (page_ref_count(rxbuf->rxdata.page) > 1) { in aq_get_rxpages()
216 ASSERT(page_ref_count(page) == 1); in btrfs_compr_pool_scan()
1091 return (!page_is_pfmemalloc(page) && page_ref_count(page) == 1); in enetc_page_reusable()
795 if (unlikely((page_ref_count(page) - pagecnt_bias) > 1)) in ixgbevf_can_reuse_rx_page()
6535 if (page_ref_count(page) > 1 || data_page->order != buffer->subbuf_order) in ring_buffer_free_read_page()