Home
last modified time | relevance | path

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

/DragonOS/kernel/src/namespaces/
H A Dpid_namespace.rs97 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()
[all …]
H A Dmnt_namespace.rs138 let pid_ns = MntNamespace::ns_common_to_ns(ns_common); in put() localVariable