Home
last modified time | relevance | path

Searched refs:to_pid_ns (Results 1 – 3 of 3) sorted by relevance

/linux/kernel/
H A Dpid_namespace.c386 put_pid_ns(to_pid_ns(ns)); in pidns_put()
405 struct pid_namespace *new = to_pid_ns(ns); in pidns_install()
433 pid_ns = p = to_pid_ns(ns)->parent; in pidns_get_parent()
447 return to_pid_ns(ns)->user_ns; in pidns_owner()
/linux/fs/
H A Dnsfs.c472 return current_in_namespace(to_pid_ns(ns)); in is_current_namespace()
574 if (!current_in_namespace(to_pid_ns(ns))) { in nsfs_fh_to_dentry()
575 owning_ns = to_pid_ns(ns)->user_ns; in nsfs_fh_to_dentry()
576 } else if (!READ_ONCE(to_pid_ns(ns)->child_reaper)) { in nsfs_fh_to_dentry()
/linux/include/linux/
H A Dpid_namespace.h57 static inline struct pid_namespace *to_pid_ns(struct ns_common *ns) in to_pid_ns() function