Home
last modified time | relevance | path

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

/linux/include/trace/events/
A Dpage_ref.h32 __entry->count = page_ref_count(page);
81 __entry->count = page_ref_count(page);
/linux/net/core/
A Dpage_pool.c442 if (likely(page_ref_count(page) == 1 && !page_is_pfmemalloc(page))) { in __page_pool_put_page()
535 if (page_ref_count(page) == 1 && !page_is_pfmemalloc(page)) { in page_pool_drain_frag()
610 if (!(page_ref_count(page) == 1)) in page_pool_empty_ring()
612 __func__, page_ref_count(page)); in page_pool_empty_ring()
A Dsock.c2692 if (page_ref_count(pfrag->page) == 1) { in skb_page_frag_refill()
/linux/include/linux/
A Dbootmem_info.h39 VM_BUG_ON_PAGE(page_ref_count(page) != 2, page); in free_bootmem_page()
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()
A Dmm.h737 VM_BUG_ON_PAGE(page_ref_count(page) == 0, page); in put_page_testzero()
1215 if (WARN_ON_ONCE(page_ref_count(page) <= 0)) in try_get_page()
1337 return ((unsigned int)page_ref_count(compound_head(page))) >= in page_maybe_dma_pinned()
/linux/fs/erofs/
A Dcompress.h74 if (page_ref_count(page) > 1) { in z_erofs_put_shortlivedpage()
A Dutils.c14 DBG_BUGON(page_ref_count(page) != 1); in erofs_allocpage()
/linux/mm/
A Ddebug.c92 page, page_ref_count(head), mapcount, mapping, in __dump_page()
A Dinternal.h136 VM_BUG_ON_PAGE(page_ref_count(page), page); in set_page_refcounted()
A Dgup.c52 if (VM_WARN_ON_ONCE_PAGE(page_ref_count(page) < refs, page)) in put_page_refs()
73 if (WARN_ON_ONCE(page_ref_count(head) < 0)) in try_get_compound_head()
A Dpage_alloc.c1162 page_ref_count(page) | in page_expected_state()
1180 if (unlikely(page_ref_count(page) != 0)) in page_bad_reason()
5505 VM_BUG_ON_PAGE(page_ref_count(page) == 0, page); in __page_frag_cache_drain()
8883 if (!page_ref_count(page)) { in has_unmovable_pages()
/linux/arch/powerpc/platforms/512x/
A Dmpc512x_shared.c187 BUG_ON(page_ref_count(page) > 1); in mpc512x_free_bootmem()
/linux/drivers/net/ethernet/cavium/thunder/
A Dnicvf_queues.c104 ref_count = page_ref_count(page); in nicvf_alloc_page()
363 if (pgcache->page && page_ref_count(pgcache->page) != 0) { in nicvf_free_rbdr()
1650 if (page_ref_count(page) != 1) in nicvf_unmap_rcv_buffer()
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()
/linux/fs/nilfs2/
A Dpage.c168 page, page_ref_count(page), in nilfs_page_bug()
/linux/fs/
A Ddax.c372 WARN_ON_ONCE(trunc && page_ref_count(page) > 1); in dax_disassociate_entry()
386 if (page_ref_count(page) > 1) in dax_busy_page()
/linux/drivers/net/ethernet/aquantia/atlantic/
A Daq_ring.c68 if (page_ref_count(rxbuf->rxdata.page) > 1) { in aq_get_rxpages()
/linux/drivers/net/ethernet/cortina/
A Dgemini.c896 pn, page_ref_count(page), 1 << fpp_order); in geth_fill_freeq()
898 if (page_ref_count(page) > 1) { in geth_fill_freeq()
1016 while (page_ref_count(gpage->page) > 0) in geth_cleanup_freeq()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_rx.c256 if (page_ref_count(cache->page_cache[cache->head].page) != 1) { in mlx5e_rx_cache_get()
/linux/drivers/net/ethernet/freescale/enetc/
A Denetc.c712 return (!page_is_pfmemalloc(page) && page_ref_count(page) == 1); in enetc_page_reusable()
/linux/kernel/trace/
A Dring_buffer.c5459 if (page_ref_count(page) > 1) in ring_buffer_free_read_page()
/linux/drivers/net/ethernet/intel/ixgbevf/
A Dixgbevf_main.c795 if (unlikely((page_ref_count(page) - pagecnt_bias) > 1)) in ixgbevf_can_reuse_rx_page()

Completed in 94 milliseconds