Searched refs:__ns_ref_active_read (Results 1 – 2 of 2) sorted by relevance
58 static __always_inline __must_check int __ns_ref_active_read(const struct ns_common *ns) in __ns_ref_active_read() function72 VFS_WARN_ON_ONCE(__ns_ref_active_read(ns) != 1); in __ns_ref_put()76 VFS_WARN_ON_ONCE(__ns_ref_active_read(ns)); in __ns_ref_put()86 VFS_WARN_ON_ONCE(__ns_ref_active_read(ns) != 1); in __ns_ref_get()91 VFS_WARN_ON_ONCE(__ns_ref_active_read(ns)); in __ns_ref_get()99 VFS_WARN_ON_ONCE(__ns_ref_active_read(ns) != 1); in __ns_ref_inc()110 VFS_WARN_ON_ONCE(__ns_ref_active_read(ns) != 1); in __ns_ref_dec_and_lock()127 ((__ns) ? __ns_ref_active_read(to_ns_common(__ns)) : 0)136 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()