Home
last modified time | relevance | path

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

/drivers/staging/lustre/lustre/obdclass/
Dcl_page.c90 LASSERT(atomic_read(&page->cp_ref) > 0); in cl_page_get_trust()
91 atomic_inc(&page->cp_ref); in cl_page_get_trust()
290 atomic_set(&page->cp_ref, 1); in cl_page_alloc()
292 atomic_inc(&page->cp_ref); in cl_page_alloc()
578 PASSERT(env, page, atomic_read(&page->cp_ref) > !!page->cp_parent); in cl_page_put()
581 atomic_read(&page->cp_ref)); in cl_page_put()
583 if (atomic_dec_and_test(&page->cp_ref)) { in cl_page_put()
586 LASSERT(atomic_read(&page->cp_ref) == 0); in cl_page_put()
1438 pg, atomic_read(&pg->cp_ref), pg->cp_obj, in cl_page_header_print()
/drivers/staging/lustre/lustre/include/
Dcl_object.h721 atomic_t cp_ref; member
1119 LASSERT(atomic_read(&page->cp_ref) > 0); in __page_in_use()
1120 return (atomic_read(&page->cp_ref) > refc); in __page_in_use()