Home
last modified time | relevance | path

Searched refs:KN_DEACTIVATED_BIAS (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/fs/kernfs/
Ddir.c457 if (likely(v != KN_DEACTIVATED_BIAS)) in kernfs_put_active()
486 if (atomic_read(&kn->active) == KN_DEACTIVATED_BIAS && in kernfs_drain()
494 if (atomic_read(&kn->active) != KN_DEACTIVATED_BIAS) in kernfs_drain()
499 atomic_read(&kn->active) == KN_DEACTIVATED_BIAS); in kernfs_drain()
546 WARN_ONCE(atomic_read(&kn->active) != KN_DEACTIVATED_BIAS, in kernfs_put()
627 atomic_set(&kn->active, KN_DEACTIVATED_BIAS); in __kernfs_new_node()
1328 WARN_ON_ONCE(atomic_read(&kn->active) != KN_DEACTIVATED_BIAS); in kernfs_activate_one()
1330 atomic_sub(KN_DEACTIVATED_BIAS, &kn->active); in kernfs_activate_one()
1388 atomic_add(KN_DEACTIVATED_BIAS, &kn->active); in kernfs_show()
1419 atomic_add(KN_DEACTIVATED_BIAS, &pos->active); in __kernfs_remove()
[all …]
Dkernfs-internal.h53 #define KN_DEACTIVATED_BIAS (INT_MIN + 1) macro
Dfile.c818 WARN_ON_ONCE(atomic_read(&kn->active) != KN_DEACTIVATED_BIAS); in kernfs_should_drain_open_files()