Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dllog_obd.c54 atomic_set(&ctxt->loc_refcount, 1); in llog_new_ctxt()
79 if (!atomic_dec_and_test(&ctxt->loc_refcount)) { in __llog_ctxt_put()
126 LASSERT(atomic_read(&ctxt->loc_refcount) < LI_POISON); in llog_cleanup()
127 LASSERT(atomic_read(&ctxt->loc_refcount) > 1); in llog_cleanup()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_log.h319 atomic_t loc_refcount; member
364 atomic_inc(&ctxt->loc_refcount); in llog_ctxt_get()
366 atomic_read(&ctxt->loc_refcount)); in llog_ctxt_get()
374 LASSERT_ATOMIC_GT_LT(&ctxt->loc_refcount, 0, LI_POISON); in llog_ctxt_put()
376 atomic_read(&ctxt->loc_refcount) - 1); in llog_ctxt_put()