Searched refs:imp_refcount (Results 1 – 2 of 2) sorted by relevance
839 LASSERT_ATOMIC_ZERO(&imp->imp_refcount); in class_import_destroy()870 atomic_inc(&import->imp_refcount); in class_import_get()872 atomic_read(&import->imp_refcount), in class_import_get()881 LASSERT_ATOMIC_GT_LT(&imp->imp_refcount, 0, LI_POISON); in class_import_put()884 atomic_read(&imp->imp_refcount) - 1, in class_import_put()887 if (atomic_dec_and_test(&imp->imp_refcount)) { in class_import_put()893 LASSERT_ATOMIC_GE_LT(&imp->imp_refcount, 0, LI_POISON); in class_import_put()933 atomic_set(&imp->imp_refcount, 2); in class_new_import()
160 atomic_t imp_refcount; member