Searched refs:__ns_ref_active_read (Results 1 – 2 of 2) sorted by relevance
60 static __always_inline __must_check int __ns_ref_active_read(const struct ns_common *ns) in __ns_ref_active_read() function74 VFS_WARN_ON_ONCE(__ns_ref_active_read(ns) != 1); in __ns_ref_put()78 VFS_WARN_ON_ONCE(__ns_ref_active_read(ns)); in __ns_ref_put()88 VFS_WARN_ON_ONCE(__ns_ref_active_read(ns) != 1); in __ns_ref_get()93 VFS_WARN_ON_ONCE(__ns_ref_active_read(ns)); in __ns_ref_get()101 VFS_WARN_ON_ONCE(__ns_ref_active_read(ns) != 1); in __ns_ref_inc()112 VFS_WARN_ON_ONCE(__ns_ref_active_read(ns) != 1); in __ns_ref_dec_and_lock()129 ((__ns) ? __ns_ref_active_read(to_ns_common(__ns)) : 0)138 if (!__ns_ref_active_read(ns)) { in ns_get_unless_inactive()
171 VFS_WARN_ON_ONCE(__ns_ref_active_read(ns) < 0); in __ns_ref_active_put()184 VFS_WARN_ON_ONCE(__ns_ref_active_read(ns) < 0); in __ns_ref_active_put()