Searched refs:_refcount (Results 1 – 13 of 13) sorted by relevance
/Linux-v6.6/include/linux/ |
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() 182 int ret = atomic_sub_and_test(nr, &page->_refcount); in page_ref_sub_and_test() 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() [all …]
|
D | mm_types.h | 181 atomic_t _refcount; member 317 atomic_t _refcount; member 372 FOLIO_MATCH(_refcount, _refcount); 438 atomic_t _refcount; member 452 TABLE_MATCH(_refcount, _refcount);
|
/Linux-v6.6/arch/s390/mm/ |
D | pgalloc.c | 255 mask = atomic_read(&ptdesc->_refcount) >> 24; in page_table_alloc() 271 atomic_xor_bits(&ptdesc->_refcount, in page_table_alloc() 294 atomic_xor_bits(&ptdesc->_refcount, 0x03U << 24); in page_table_alloc() 299 atomic_xor_bits(&ptdesc->_refcount, 0x01U << 24); in page_table_alloc() 346 mask = atomic_xor_bits(&ptdesc->_refcount, 0x11U << (bit + 24)); in page_table_free() 360 mask = atomic_xor_bits(&ptdesc->_refcount, 0x10U << (bit + 24)); in page_table_free() 367 mask = atomic_xor_bits(&ptdesc->_refcount, 0x03U << 24); in page_table_free() 399 mask = atomic_xor_bits(&ptdesc->_refcount, 0x11U << (bit + 24)); in page_table_free_rcu() 430 mask = atomic_xor_bits(&ptdesc->_refcount, mask << (4 + 24)); in __tlb_remove_table() 436 mask = atomic_xor_bits(&ptdesc->_refcount, 0x03U << 24); in __tlb_remove_table()
|
/Linux-v6.6/Documentation/mm/ |
D | transhuge.rst | 113 - get_page()/put_page() and GUP operate on the folio->_refcount. 115 - ->_refcount in tail pages is always zero: get_page_unless_zero() never 137 split_huge_page uses migration entries to stabilize page->_refcount and 143 All tail pages have zero ->_refcount until atomic_add(). This prevents the 145 atomic_add() we don't care about the ->_refcount value. We already know how
|
/Linux-v6.6/Documentation/core-api/ |
D | pin_user_pages.rst | 104 * Given the above, we can overload the page->_refcount field by using, sort of, 106 rather than dividing page->_refcount into bit fields, we simple add a medium- 108 page->_refcount. This provides fuzzy behavior: if a page has get_page() called
|
/Linux-v6.6/mm/ |
D | memremap.c | 546 wake_up_var(&page->_refcount); in __put_devmap_managed_page_refs()
|
D | slab.h | 108 SLAB_MATCH(_refcount, __page_refcount);
|
/Linux-v6.6/fs/xfs/ |
D | xfs_file.c | 852 return ___wait_var_event(&page->_refcount, in xfs_break_dax_layouts() 853 atomic_read(&page->_refcount) == 1, TASK_INTERRUPTIBLE, in xfs_break_dax_layouts()
|
/Linux-v6.6/fs/fuse/ |
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-v6.6/kernel/ |
D | crash_core.c | 641 VMCOREINFO_OFFSET(page, _refcount); in crash_save_vmcoreinfo_init()
|
/Linux-v6.6/Documentation/admin-guide/kdump/ |
D | vmcoreinfo.rst | 144 (page, flags|_refcount|mapping|lru|_mapcount|private|compound_order|compound_head)
|
/Linux-v6.6/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_queues.c | 170 prefetch(&page->_refcount); in nicvf_alloc_page()
|
/Linux-v6.6/fs/ext4/ |
D | inode.c | 3871 error = ___wait_var_event(&page->_refcount, in ext4_break_layouts() 3872 atomic_read(&page->_refcount) == 1, in ext4_break_layouts()
|