Searched refs:imp_refcount (Results 1 – 2 of 2) sorted by relevance
937 LASSERT_ATOMIC_ZERO(&imp->imp_refcount); in class_import_destroy()968 atomic_inc(&import->imp_refcount); in class_import_get()970 atomic_read(&import->imp_refcount), in class_import_get()979 LASSERT_ATOMIC_GT_LT(&imp->imp_refcount, 0, LI_POISON); in class_import_put()982 atomic_read(&imp->imp_refcount) - 1, in class_import_put()985 if (atomic_dec_and_test(&imp->imp_refcount)) { in class_import_put()991 LASSERT_ATOMIC_GE_LT(&imp->imp_refcount, 0, LI_POISON); in class_import_put()1029 atomic_set(&imp->imp_refcount, 2); in class_new_import()
162 atomic_t imp_refcount; member