Searched refs:_refcount (Results 1 – 13 of 13) sorted by relevance
/linux/include/linux/ |
A D | page_ref.h | 67 return atomic_read(&page->_refcount); in page_ref_count() 99 atomic_set(&page->_refcount, v); in set_page_count() 120 atomic_add(nr, &page->_refcount); in page_ref_add() 132 atomic_sub(nr, &page->_refcount); in page_ref_sub() 144 int ret = atomic_sub_return(nr, &page->_refcount); in page_ref_sub_return() 158 atomic_inc(&page->_refcount); in page_ref_inc() 170 atomic_dec(&page->_refcount); in page_ref_dec() 196 int ret = atomic_inc_return(&page->_refcount); in page_ref_inc_return() 210 int ret = atomic_dec_and_test(&page->_refcount); in page_ref_dec_and_test() 224 int ret = atomic_dec_return(&page->_refcount); in page_ref_dec_return() [all …]
|
A D | mm_types.h | 215 atomic_t _refcount; member 276 atomic_t _refcount; member 295 FOLIO_MATCH(_refcount, _refcount);
|
/linux/arch/s390/mm/ |
A D | pgalloc.c | 194 mask = atomic_read(&page->_refcount) >> 24; in page_table_alloc() 201 atomic_xor_bits(&page->_refcount, in page_table_alloc() 223 atomic_xor_bits(&page->_refcount, 3 << 24); in page_table_alloc() 228 atomic_xor_bits(&page->_refcount, 1 << 24); in page_table_alloc() 247 mask = atomic_xor_bits(&page->_refcount, 1U << (bit + 24)); in page_table_free() 257 atomic_xor_bits(&page->_refcount, 3U << 24); in page_table_free() 281 mask = atomic_xor_bits(&page->_refcount, 0x11U << (bit + 24)); in page_table_free_rcu() 304 mask = atomic_xor_bits(&page->_refcount, mask << (4 + 24)); in __tlb_remove_table() 311 atomic_xor_bits(&page->_refcount, 3 << 24); in __tlb_remove_table()
|
/linux/Documentation/vm/ |
A D | transhuge.rst | 115 - get_page()/put_page() and GUP operate on head page's ->_refcount. 117 - ->_refcount in tail pages is always zero: get_page_unless_zero() never 155 split_huge_page uses migration entries to stabilize page->_refcount and 161 All tail pages have zero ->_refcount until atomic_add(). This prevents the 163 atomic_add() we don't care about the ->_refcount value. We already know how
|
/linux/Documentation/core-api/ |
A 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/kernel/ |
A D | crash_core.c | 442 VMCOREINFO_OFFSET(page, _refcount); in crash_save_vmcoreinfo_init()
|
/linux/mm/ |
A D | memremap.c | 502 wake_up_var(&page->_refcount); in free_devmap_managed_page()
|
/linux/fs/fuse/ |
A D | dax.c | 679 return ___wait_var_event(&page->_refcount, in __fuse_dax_break_layouts() 680 atomic_read(&page->_refcount) == 1, TASK_INTERRUPTIBLE, in __fuse_dax_break_layouts()
|
/linux/fs/xfs/ |
A D | xfs_file.c | 863 return ___wait_var_event(&page->_refcount, in xfs_break_dax_layouts() 864 atomic_read(&page->_refcount) == 1, TASK_INTERRUPTIBLE, in xfs_break_dax_layouts()
|
/linux/Documentation/filesystems/ext4/ |
A D | attributes.rst | 63 - h\_refcount
|
/linux/Documentation/admin-guide/kdump/ |
A D | vmcoreinfo.rst | 144 (page, flags|_refcount|mapping|lru|_mapcount|private|compound_dtor|compound_order|compound_head)
|
/linux/drivers/net/ethernet/cavium/thunder/ |
A D | nicvf_queues.c | 169 prefetch(&page->_refcount); in nicvf_alloc_page()
|
/linux/fs/ext4/ |
A D | inode.c | 3913 error = ___wait_var_event(&page->_refcount, in ext4_break_layouts() 3914 atomic_read(&page->_refcount) == 1, in ext4_break_layouts()
|
Completed in 32 milliseconds