Searched refs:__ns_ref_read (Results 1 – 2 of 2) sorted by relevance
63 static __always_inline __must_check int __ns_ref_read(const struct ns_common *ns) in __ns_ref_read() function71 VFS_WARN_ON_ONCE(__ns_ref_read(ns) != 1); in __ns_ref_put()85 VFS_WARN_ON_ONCE(__ns_ref_read(ns) != 1); in __ns_ref_get()98 VFS_WARN_ON_ONCE(__ns_ref_read(ns) != 1); in __ns_ref_inc()109 VFS_WARN_ON_ONCE(__ns_ref_read(ns) != 1); in __ns_ref_dec_and_lock()116 #define ns_ref_read(__ns) __ns_ref_read(to_ns_common((__ns)))
176 VFS_WARN_ON_ONCE(!__ns_ref_read(ns)); in __ns_ref_active_put()