Home
last modified time | relevance | path

Searched refs:_refcount (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/include/linux/
Dpage_ref.h67 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 atomic_inc(&page->_refcount); in page_ref_inc()
114 atomic_dec(&page->_refcount); in page_ref_dec()
121 int ret = atomic_sub_and_test(nr, &page->_refcount); in page_ref_sub_and_test()
130 int ret = atomic_inc_return(&page->_refcount); in page_ref_inc_return()
139 int ret = atomic_dec_and_test(&page->_refcount); in page_ref_dec_and_test()
[all …]
Dmm_types.h183 atomic_t _refcount; member
/Linux-v4.19/arch/s390/mm/
Dpgalloc.c193 mask = atomic_read(&page->_refcount) >> 24; in page_table_alloc()
200 atomic_xor_bits(&page->_refcount, in page_table_alloc()
222 atomic_xor_bits(&page->_refcount, 3 << 24); in page_table_alloc()
227 atomic_xor_bits(&page->_refcount, 1 << 24); in page_table_alloc()
246 mask = atomic_xor_bits(&page->_refcount, 1U << (bit + 24)); in page_table_free()
256 atomic_xor_bits(&page->_refcount, 3U << 24); in page_table_free()
280 mask = atomic_xor_bits(&page->_refcount, 0x11U << (bit + 24)); in page_table_free_rcu()
303 mask = atomic_xor_bits(&page->_refcount, mask << (4 + 24)); in __tlb_remove_table()
310 atomic_xor_bits(&page->_refcount, 3 << 24); in __tlb_remove_table()
/Linux-v4.19/Documentation/vm/
Dtranshuge.rst125 - get_page()/put_page() and GUP operate in head page's ->_refcount.
127 - ->_refcount in tail pages is always zero: get_page_unless_zero() never
165 split_huge_page uses migration entries to stabilize page->_refcount and
171 All tail pages have zero ->_refcount until atomic_add(). This prevents the
173 atomic_add() we don't care about the ->_refcount value. We already known how
/Linux-v4.19/kernel/
Dcrash_core.c426 VMCOREINFO_OFFSET(page, _refcount); in crash_save_vmcoreinfo_init()
/Linux-v4.19/fs/xfs/
Dxfs_file.c747 return ___wait_var_event(&page->_refcount, in xfs_break_dax_layouts()
748 atomic_read(&page->_refcount) == 1, TASK_INTERRUPTIBLE, in xfs_break_dax_layouts()
/Linux-v4.19/Documentation/filesystems/ext4/ondisk/
Dattributes.rst63 - h\_refcount
/Linux-v4.19/drivers/nvdimm/
Dpmem.c334 wake_up_var(&page->_refcount); in fsdax_pagefree()
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c173 prefetch(&page->_refcount); in nicvf_alloc_page()
/Linux-v4.19/fs/ext4/
Dinode.c4221 error = ___wait_var_event(&page->_refcount, in ext4_break_layouts()
4222 atomic_read(&page->_refcount) == 1, in ext4_break_layouts()