Home
last modified time | relevance | path

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

/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 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 …]
Dmm_types.h222 atomic_t _refcount; member