Home
last modified time | relevance | path

Searched refs:__ns_ref (Results 1 – 4 of 4) sorted by relevance

/linux/include/linux/
H A Dns_common.h36 .__ns_ref = REFCOUNT_INIT(1), \
67 return refcount_read(&ns->__ns_ref); in __ns_ref_read()
77 if (refcount_dec_and_test(&ns->__ns_ref)) { in __ns_ref_put()
91 if (refcount_inc_not_zero(&ns->__ns_ref)) in __ns_ref_get()
104 refcount_inc(&ns->__ns_ref); in __ns_ref_inc()
115 return refcount_dec_and_lock(&ns->__ns_ref, ns_lock); in __ns_ref_dec_and_lock()
/linux/kernel/
H A Dnscommon.c60 refcount_set(&ns->__ns_ref, 1); in __ns_common_init()
/linux/include/linux/ns/
H A Dns_common_types.h112 refcount_t __ns_ref; /* do not use directly */ member
/linux/security/
H A Dcommoncap_test.c155 refcount_set(&ns->ns.__ns_ref, 1); in create_test_user_ns_with_mapping()