Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dpage_ref.h67 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, &folio->_refcount); in folio_ref_sub_return()
153 atomic_inc(&page->_refcount); in page_ref_inc()
165 atomic_dec(&page->_refcount); in page_ref_dec()
191 int ret = atomic_inc_return(&page->_refcount); in page_ref_inc_return()
205 int ret = atomic_dec_and_test(&page->_refcount); in page_ref_dec_and_test()
219 int ret = atomic_dec_return(&page->_refcount); in page_ref_dec_return()
[all …]
H A Dmm_types.h189 atomic_t _refcount; member
409 atomic_t _refcount; member
495 FOLIO_MATCH(_refcount, _refcount);
512 FOLIO_MATCH(_refcount, _refcount_1);
596 TABLE_MATCH(_refcount, __page_refcount);
H A Dpage-flags.h256 if (atomic_read_acquire(&page->_refcount) == u) in page_count_writable()
/linux-6.15/mm/
H A Dzpdesc.h46 atomic_t _refcount; member
58 ZPDESC_MATCH(_refcount, _refcount);
H A Dslab.h104 SLAB_MATCH(_refcount, __page_refcount);
/linux-6.15/Documentation/mm/
H A Dtranshuge.rst113 - get_page()/put_page() and GUP operate on the folio->_refcount.
115 - ->_refcount in tail pages is always zero: get_page_unless_zero() never
150 split_huge_page uses migration entries to stabilize page->_refcount and
156 All tail pages have zero ->_refcount until atomic_add(). This prevents the
158 atomic_add() we don't care about the ->_refcount value. We already know how
/linux-6.15/kernel/
H A Dvmcore_info.c173 VMCOREINFO_OFFSET(page, _refcount); in crash_save_vmcoreinfo_init()
/linux-6.15/Documentation/core-api/
H A Dpin_user_pages.rst104 * 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-6.15/Documentation/admin-guide/kdump/
H A Dvmcoreinfo.rst144 (page, flags|_refcount|mapping|lru|_mapcount|private|compound_order|compound_head)
/linux-6.15/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.c170 prefetch(&page->_refcount); in nicvf_alloc_page()