Searched refs:page_ref_count (Results 1 – 24 of 24) sorted by relevance
/Linux-v5.10/include/trace/events/ |
D | page_ref.h | 32 __entry->count = page_ref_count(page); 81 __entry->count = page_ref_count(page);
|
/Linux-v5.10/fs/erofs/ |
D | compress.h | 49 if (page_ref_count(page) > 1) in z_erofs_put_stagingpage()
|
D | utils.c | 16 DBG_BUGON(page_ref_count(page) != 1); in erofs_allocpage()
|
/Linux-v5.10/net/core/ |
D | page_pool.c | 374 if (likely(page_ref_count(page) == 1 && in page_pool_put_page() 418 if (!(page_ref_count(page) == 1)) in page_pool_empty_ring() 420 __func__, page_ref_count(page)); in page_pool_empty_ring()
|
D | sock.c | 2447 if (page_ref_count(pfrag->page) == 1) { in skb_page_frag_refill()
|
/Linux-v5.10/include/linux/ |
D | page_ref.h | 65 static inline int page_ref_count(struct page *page) in page_ref_count() function
|
D | mm.h | 707 VM_BUG_ON_PAGE(page_ref_count(page) == 0, page); in put_page_testzero() 1154 ((unsigned int) page_ref_count(page) + 127u <= 127u) 1172 if (WARN_ON_ONCE(page_ref_count(page) <= 0)) in try_get_page() 1274 return ((unsigned int)page_ref_count(compound_head(page))) >= in page_maybe_dma_pinned()
|
/Linux-v5.10/mm/ |
D | debug.c | 99 page, page_ref_count(head), mapcount, mapping, in __dump_page()
|
D | internal.h | 96 VM_BUG_ON_PAGE(page_ref_count(page), page); in set_page_refcounted()
|
D | gup.c | 55 if (WARN_ON_ONCE(page_ref_count(head) < 0)) in try_get_compound_head() 158 if (WARN_ON_ONCE(page_ref_count(page) <= 0)) in try_grab_page() 2078 VM_BUG_ON_PAGE(page_ref_count(page) < refs, page); in put_compound_head()
|
D | page_alloc.c | 1093 page_ref_count(page) | in page_expected_state() 1111 if (unlikely(page_ref_count(page) != 0)) in page_bad_reason() 5064 VM_BUG_ON_PAGE(page_ref_count(page) == 0, page); in __page_frag_cache_drain() 8350 if (!page_ref_count(page)) { in has_unmovable_pages()
|
/Linux-v5.10/arch/powerpc/platforms/512x/ |
D | mpc512x_shared.c | 187 BUG_ON(page_ref_count(page) > 1); in mpc512x_free_bootmem()
|
/Linux-v5.10/fs/nilfs2/ |
D | page.c | 168 page, page_ref_count(page), in nilfs_page_bug()
|
/Linux-v5.10/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_queues.c | 104 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()
|
D | nicvf_main.c | 576 if (page_ref_count(page) == 1) { in nicvf_xdp_rx() 607 if (page_ref_count(page) == 1) { in nicvf_xdp_rx() 684 if (page && (page_ref_count(page) == 1)) in nicvf_snd_pkt_handler()
|
/Linux-v5.10/fs/ |
D | dax.c | 361 WARN_ON_ONCE(trunc && page_ref_count(page) > 1); in dax_disassociate_entry() 375 if (page_ref_count(page) > 1) in dax_busy_page()
|
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ring.c | 68 if (page_ref_count(rxbuf->rxdata.page) > 1) { in aq_get_rxpages()
|
/Linux-v5.10/drivers/net/ethernet/cortina/ |
D | gemini.c | 896 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-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 254 if (page_ref_count(cache->page_cache[cache->head].page) != 1) { in mlx5e_rx_cache_get()
|
/Linux-v5.10/drivers/net/ethernet/freescale/enetc/ |
D | enetc.c | 602 return (!page_is_pfmemalloc(page) && page_ref_count(page) == 1); in enetc_page_reusable()
|
/Linux-v5.10/kernel/trace/ |
D | ring_buffer.c | 5186 if (page_ref_count(page) > 1) in ring_buffer_free_read_page()
|
/Linux-v5.10/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 800 if (unlikely((page_ref_count(page) - pagecnt_bias) > 1)) in ixgbevf_can_reuse_rx_page()
|
/Linux-v5.10/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 1678 if (unlikely((page_ref_count(page) - pagecnt_bias) > 1)) in igc_can_reuse_rx_page()
|
/Linux-v5.10/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 8246 if (unlikely((page_ref_count(page) - pagecnt_bias) > 1)) in igb_can_reuse_rx_page()
|