Home
last modified time | relevance | path

Searched refs:__ns_ref_read (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Dns_common.h63 static __always_inline __must_check int __ns_ref_read(const struct ns_common *ns) in __ns_ref_read() function
71 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)))
/linux/kernel/
H A Dnscommon.c176 VFS_WARN_ON_ONCE(!__ns_ref_read(ns)); in __ns_ref_active_put()