Searched refs:_refcount (Results 1 – 13 of 13) sorted by relevance
/Linux-v5.10/include/linux/ |
D | page_ref.h | 67 return atomic_read(&page->_refcount); in page_ref_count() 72 return atomic_read(&compound_head(page)->_refcount); in page_count() 77 atomic_set(&page->_refcount, v); in set_page_count() 93 atomic_add(nr, &page->_refcount); in page_ref_add() 100 atomic_sub(nr, &page->_refcount); in page_ref_sub() 107 int ret = atomic_sub_return(nr, &page->_refcount); in page_ref_sub_return() 116 atomic_inc(&page->_refcount); in page_ref_inc() 123 atomic_dec(&page->_refcount); in page_ref_dec() 130 int ret = atomic_sub_and_test(nr, &page->_refcount); in page_ref_sub_and_test() 139 int ret = atomic_inc_return(&page->_refcount); in page_ref_inc_return() [all …]
|
D | mm_types.h | 199 atomic_t _refcount; member
|
/Linux-v5.10/arch/s390/mm/ |
D | pgalloc.c | 203 mask = atomic_read(&page->_refcount) >> 24; in page_table_alloc() 210 atomic_xor_bits(&page->_refcount, in page_table_alloc() 232 atomic_xor_bits(&page->_refcount, 3 << 24); in page_table_alloc() 237 atomic_xor_bits(&page->_refcount, 1 << 24); in page_table_alloc() 256 mask = atomic_xor_bits(&page->_refcount, 1U << (bit + 24)); in page_table_free() 266 atomic_xor_bits(&page->_refcount, 3U << 24); in page_table_free() 290 mask = atomic_xor_bits(&page->_refcount, 0x11U << (bit + 24)); in page_table_free_rcu() 313 mask = atomic_xor_bits(&page->_refcount, mask << (4 + 24)); in __tlb_remove_table() 320 atomic_xor_bits(&page->_refcount, 3 << 24); in __tlb_remove_table()
|
/Linux-v5.10/Documentation/vm/ |
D | transhuge.rst | 120 - get_page()/put_page() and GUP operate on head page's ->_refcount. 122 - ->_refcount in tail pages is always zero: get_page_unless_zero() never 160 split_huge_page uses migration entries to stabilize page->_refcount and 166 All tail pages have zero ->_refcount until atomic_add(). This prevents the 168 atomic_add() we don't care about the ->_refcount value. We already know how
|
/Linux-v5.10/Documentation/core-api/ |
D | pin_user_pages.rst | 105 * Given the above, we can overload the page->_refcount field by using, sort of, 107 rather than dividing page->_refcount into bit fields, we simple add a medium- 109 page->_refcount. This provides fuzzy behavior: if a page has get_page() called
|
/Linux-v5.10/mm/ |
D | memremap.c | 484 wake_up_var(&page->_refcount); in free_devmap_managed_page()
|
/Linux-v5.10/kernel/ |
D | crash_core.c | 475 VMCOREINFO_OFFSET(page, _refcount); in crash_save_vmcoreinfo_init()
|
/Linux-v5.10/fs/xfs/ |
D | xfs_file.c | 785 return ___wait_var_event(&page->_refcount, in xfs_break_dax_layouts() 786 atomic_read(&page->_refcount) == 1, TASK_INTERRUPTIBLE, in xfs_break_dax_layouts()
|
/Linux-v5.10/Documentation/filesystems/ext4/ |
D | attributes.rst | 63 - h\_refcount
|
/Linux-v5.10/fs/fuse/ |
D | dax.c | 680 return ___wait_var_event(&page->_refcount, in __fuse_dax_break_layouts() 681 atomic_read(&page->_refcount) == 1, TASK_INTERRUPTIBLE, in __fuse_dax_break_layouts()
|
/Linux-v5.10/Documentation/admin-guide/kdump/ |
D | vmcoreinfo.rst | 138 (page, flags|_refcount|mapping|lru|_mapcount|private|compound_dtor|compound_order|compound_head)
|
/Linux-v5.10/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_queues.c | 169 prefetch(&page->_refcount); in nicvf_alloc_page()
|
/Linux-v5.10/fs/ext4/ |
D | inode.c | 3966 error = ___wait_var_event(&page->_refcount, in ext4_break_layouts() 3967 atomic_read(&page->_refcount) == 1, in ext4_break_layouts()
|