Lines Matching refs:pid_ns
97 let mut pid_ns = ns.clone(); // 当前正在处理的命名空间 in alloc_pid() localVariable
109 nr = pid_ns in alloc_pid()
120 ns: pid_ns.clone(), in alloc_pid()
124 if let Some(parent_ns) = &pid_ns.parent { in alloc_pid()
125 pid_ns = parent_ns.clone(); in alloc_pid()
167 let pid_ns = PidNamespace::ns_common_to_ns(ns_common); in owner() localVariable
168 pid_ns.user_ns.clone() in owner()
175 let mut pid_ns = &PidNamespace::ns_common_to_ns(ns_common).parent; in get_parent() localVariable
177 while let Some(ns) = pid_ns { in get_parent()
181 pid_ns = &ns.parent; in get_parent()
195 let mut pid_ns = PidNamespace::ns_common_to_ns(ns_common); in install() localVariable
196 if pid_ns.level < active.level { in install()
199 while pid_ns.level > active.level { in install()
200 if let Some(ns) = &pid_ns.parent { in install()
201 pid_ns = ns.clone(); in install()
206 if Arc::ptr_eq(&pid_ns, &active) { in install()
209 nsproxy.pid_namespace = pid_ns.clone(); in install()