Home
last modified time | relevance | path

Searched refs:_count (Results 1 – 21 of 21) sorted by relevance

/linux-3.4.99/mm/
Dinternal.h21 atomic_set(&page->_count, v); in set_page_count()
31 VM_BUG_ON(atomic_read(&page->_count)); in set_page_refcounted()
37 atomic_dec(&page->_count); in __put_page()
54 VM_BUG_ON(atomic_read(&page->first_page->_count) <= 0); in __get_page_tail_foll()
55 VM_BUG_ON(atomic_read(&page->_count) != 0); in __get_page_tail_foll()
58 atomic_inc(&page->first_page->_count); in __get_page_tail_foll()
81 VM_BUG_ON(atomic_read(&page->_count) <= 0); in get_page_foll()
82 atomic_inc(&page->_count); in get_page_foll()
Dswap.c166 VM_BUG_ON(atomic_read(&page_head->_count) <= 0); in put_compound_page()
167 VM_BUG_ON(atomic_read(&page->_count) != 0); in put_compound_page()
Dmemory_hotplug.c102 atomic_inc(&page->_count); in get_page_bootmem()
115 if (atomic_dec_return(&page->_count) == 1) { in put_page_bootmem()
Dhuge_memory.c1246 BUG_ON(atomic_read(&page_tail->_count) != 0); in __split_huge_page_refcount()
1261 &page_tail->_count); in __split_huge_page_refcount()
1311 atomic_sub(tail_count, &page->_count); in __split_huge_page_refcount()
1312 BUG_ON(atomic_read(&page->_count) <= 0); in __split_huge_page_refcount()
Dslob.c103 atomic_t _count; /* mandatory */ member
Dpage_alloc.c610 (atomic_read(&page->_count) != 0) | in free_pages_check()
808 (atomic_read(&page->_count) != 0) | in check_new_page()
5703 page, atomic_read(&page->_count), page_mapcount(page), in dump_page()
Dvmscan.c1265 !atomic_read(&cursor_page->_count)) in isolate_lru_pages()
/linux-3.4.99/drivers/media/dvb/ddbridge/
Dddbridge.h178 #define ddbcpyto(_adr, _src, _count) memcpy_toio((char *) \ argument
179 (dev->regs+(_adr)), (_src), (_count))
180 #define ddbcpyfrom(_dst, _adr, _count) memcpy_fromio((_dst), (char *) \ argument
181 (dev->regs+(_adr)), (_count))
/linux-3.4.99/include/linux/
Dpagemap.h150 atomic_inc(&page->_count); in page_cache_get_speculative()
179 atomic_add(count, &page->_count); in page_cache_add_speculative()
182 if (unlikely(!atomic_add_unless(&page->_count, count, 0))) in page_cache_add_speculative()
192 return likely(atomic_cmpxchg(&page->_count, count, 0) == count); in page_freeze_refs()
200 atomic_set(&page->_count, count); in page_unfreeze_refs()
Dmm.h277 VM_BUG_ON(atomic_read(&page->_count) == 0); in put_page_testzero()
278 return atomic_dec_and_test(&page->_count); in put_page_testzero()
287 return atomic_inc_not_zero(&page->_count); in get_page_unless_zero()
378 return atomic_read(&compound_head(page)->_count); in page_count()
388 VM_BUG_ON(atomic_read(&page->_count) != 0); in get_huge_page_tail()
403 VM_BUG_ON(atomic_read(&page->_count) <= 0); in get_page()
404 atomic_inc(&page->_count); in get_page()
419 atomic_set(&page->_count, 1); in init_page_count()
Dmm_types.h99 atomic_t _count; /* Usage count, see below. */ member
/linux-3.4.99/arch/powerpc/platforms/512x/
Dmpc512x_shared.c200 BUG_ON(atomic_read(&page->_count) > 1); in mpc512x_free_bootmem()
201 atomic_set(&page->_count, 1); in mpc512x_free_bootmem()
/linux-3.4.99/arch/powerpc/kvm/
Dbook3s_hv_builtin.c168 atomic_inc(&pg->_count); in kvm_linear_init_one()
/linux-3.4.99/arch/mips/mm/
Dgup.c66 atomic_add(nr, &page->_count); in get_head_page_multiple()
/linux-3.4.99/arch/x86/mm/
Dgup.c107 atomic_add(nr, &page->_count); in get_head_page_multiple()
/linux-3.4.99/drivers/net/wimax/i2400m/
Dfw.c219 int i2400m_zrealloc_2x(void **ptr, size_t *_count, size_t el_size, in i2400m_zrealloc_2x() argument
222 size_t old_count = *_count, in i2400m_zrealloc_2x()
234 *_count = new_count; in i2400m_zrealloc_2x()
/linux-3.4.99/fs/nilfs2/
Dpage.c185 page, atomic_read(&page->_count), in nilfs_page_bug()
/linux-3.4.99/arch/tile/mm/
Dinit.c726 p->_count.counter = 0; in init_free_pfn_range()
/linux-3.4.99/kernel/
Dkexec.c1491 VMCOREINFO_OFFSET(page, _count); in crash_save_vmcoreinfo_init()
/linux-3.4.99/drivers/usb/gadget/
Df_mass_storage.c3140 &prefix ## params.name ## _count, \
/linux-3.4.99/drivers/net/ethernet/sun/
Dniu.c3342 &compound_head(page)->_count); in niu_rbr_add_page()