Searched refs:KN_DEACTIVATED_BIAS (Results 1 – 3 of 3) sorted by relevance
464 if (likely(v != KN_DEACTIVATED_BIAS)) in kernfs_put_active()493 if (atomic_read(&kn->active) == KN_DEACTIVATED_BIAS && in kernfs_drain()501 if (atomic_read(&kn->active) != KN_DEACTIVATED_BIAS) in kernfs_drain()506 atomic_read(&kn->active) == KN_DEACTIVATED_BIAS); in kernfs_drain()553 WARN_ONCE(atomic_read(&kn->active) != KN_DEACTIVATED_BIAS, in kernfs_put()634 atomic_set(&kn->active, KN_DEACTIVATED_BIAS); in __kernfs_new_node()1371 WARN_ON_ONCE(atomic_read(&kn->active) != KN_DEACTIVATED_BIAS); in kernfs_activate_one()1373 atomic_sub(KN_DEACTIVATED_BIAS, &kn->active); in kernfs_activate_one()1431 atomic_add(KN_DEACTIVATED_BIAS, &kn->active); in kernfs_show()1462 atomic_add(KN_DEACTIVATED_BIAS, &pos->active); in __kernfs_remove()[all …]
55 #define KN_DEACTIVATED_BIAS (INT_MIN + 1) macro
822 WARN_ON_ONCE(atomic_read(&kn->active) != KN_DEACTIVATED_BIAS); in kernfs_should_drain_open_files()