Searched refs:page_ref_count (Results 1 – 19 of 19) sorted by relevance
| /Linux-v4.19/net/core/ |
| D | page_pool.c | 236 if (likely(page_ref_count(page) == 1)) { in __page_pool_put_page() 274 if (!(page_ref_count(page) == 1)) in __page_pool_empty_ring() 276 __func__, page_ref_count(page)); in __page_pool_empty_ring()
|
| D | sock.c | 2200 if (page_ref_count(pfrag->page) == 1) { in skb_page_frag_refill()
|
| /Linux-v4.19/include/trace/events/ |
| D | page_ref.h | 32 __entry->count = page_ref_count(page); 81 __entry->count = page_ref_count(page);
|
| /Linux-v4.19/mm/ |
| D | debug.c | 67 page, page_ref_count(page), mapcount, in __dump_page()
|
| D | internal.h | 77 VM_BUG_ON_PAGE(page_ref_count(page), page); in set_page_refcounted()
|
| D | page_alloc.c | 885 page_ref_count(page) | in page_expected_state() 907 if (unlikely(page_ref_count(page) != 0)) in free_pages_check_bad() 1823 if (unlikely(page_ref_count(page) != 0)) in check_new_page_bad() 4483 VM_BUG_ON_PAGE(page_ref_count(page) == 0, page); in __page_frag_cache_drain() 7713 if (!page_ref_count(page)) { in has_unmovable_pages()
|
| /Linux-v4.19/include/linux/ |
| D | page_ref.h | 65 static inline int page_ref_count(struct page *page) in page_ref_count() function
|
| D | mm.h | 519 VM_BUG_ON_PAGE(page_ref_count(page) == 0, page); in put_page_testzero() 925 VM_BUG_ON_PAGE(page_ref_count(page) <= 0, page); in get_page()
|
| /Linux-v4.19/arch/powerpc/platforms/512x/ |
| D | mpc512x_shared.c | 191 BUG_ON(page_ref_count(page) > 1); in mpc512x_free_bootmem()
|
| /Linux-v4.19/fs/nilfs2/ |
| D | page.c | 169 page, page_ref_count(page), in nilfs_page_bug()
|
| /Linux-v4.19/drivers/net/ethernet/cavium/thunder/ |
| D | nicvf_queues.c | 107 ref_count = page_ref_count(page); in nicvf_alloc_page() 367 if (pgcache->page && page_ref_count(pgcache->page) != 0) { in nicvf_free_rbdr() 1655 if (page_ref_count(page) != 1) in nicvf_unmap_rcv_buffer()
|
| D | nicvf_main.c | 555 if (page_ref_count(page) == 1) { in nicvf_xdp_rx() 586 if (page_ref_count(page) == 1) { in nicvf_xdp_rx() 663 if (page && (page_ref_count(page) == 1)) in nicvf_snd_pkt_handler()
|
| /Linux-v4.19/fs/ |
| D | dax.c | 376 WARN_ON_ONCE(trunc && page_ref_count(page) > 1); in dax_disassociate_entry() 390 if (page_ref_count(page) > 1) in dax_busy_page()
|
| /Linux-v4.19/drivers/net/ethernet/cortina/ |
| D | gemini.c | 901 pn, page_ref_count(page), 1 << fpp_order); in geth_fill_freeq() 903 if (page_ref_count(page) > 1) { in geth_fill_freeq() 1021 while (page_ref_count(gpage->page) > 0) in geth_cleanup_freeq()
|
| /Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_rx.c | 206 if (page_ref_count(cache->page_cache[cache->head].page) != 1) { in mlx5e_rx_cache_get()
|
| /Linux-v4.19/kernel/trace/ |
| D | ring_buffer.c | 4601 if (page_ref_count(page) > 1) in ring_buffer_free_read_page()
|
| /Linux-v4.19/drivers/net/ethernet/intel/ixgbevf/ |
| D | ixgbevf_main.c | 795 if (unlikely((page_ref_count(page) - pagecnt_bias) > 1)) in ixgbevf_can_reuse_rx_page()
|
| /Linux-v4.19/drivers/net/ethernet/intel/igb/ |
| D | igb_main.c | 7979 if (unlikely((page_ref_count(page) - pagecnt_bias) > 1)) in igb_can_reuse_rx_page()
|
| /Linux-v4.19/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_main.c | 1954 if (unlikely((page_ref_count(page) - pagecnt_bias) > 1)) in ixgbe_can_reuse_rx_page()
|