Searched refs:KN_DEACTIVATED_BIAS (Results 1 – 2 of 2) sorted by relevance
451 if (likely(v != KN_DEACTIVATED_BIAS)) in kernfs_put_active()477 if (atomic_read(&kn->active) != KN_DEACTIVATED_BIAS) in kernfs_drain()483 atomic_read(&kn->active) == KN_DEACTIVATED_BIAS); in kernfs_drain()533 WARN_ONCE(atomic_read(&kn->active) != KN_DEACTIVATED_BIAS, in kernfs_put()664 atomic_set(&kn->active, KN_DEACTIVATED_BIAS); in __kernfs_new_node()1273 WARN_ON_ONCE(atomic_read(&pos->active) != KN_DEACTIVATED_BIAS); in kernfs_activate()1275 atomic_sub(KN_DEACTIVATED_BIAS, &pos->active); in kernfs_activate()1302 atomic_add(KN_DEACTIVATED_BIAS, &pos->active); in __kernfs_remove()1325 WARN_ON_ONCE(atomic_read(&kn->active) != KN_DEACTIVATED_BIAS); in __kernfs_remove()1471 atomic_read(&kn->active) == KN_DEACTIVATED_BIAS) in kernfs_remove_self()
30 #define KN_DEACTIVATED_BIAS (INT_MIN + 1) macro