Searched refs:PidNamespace (Results 1 – 2 of 2) sorted by relevance
19 pub struct PidNamespace { struct23 impl PidNamespace { implementation44 unsafe impl AlwaysRefCounted for PidNamespace { implementation52 unsafe fn dec_ref(obj: ptr::NonNull<PidNamespace>) { in dec_ref() argument61 unsafe impl Send for PidNamespace {} implementation65 unsafe impl Sync for PidNamespace {} implementation
10 pid_namespace::PidNamespace,236 pub fn get_pid_ns(&self) -> Option<ARef<PidNamespace>> { in get_pid_ns() argument245 Some(unsafe { ARef::from_raw(ptr::NonNull::new_unchecked(ptr.cast::<PidNamespace>())) }) in get_pid_ns()252 pub fn tgid_nr_ns(&self, pidns: Option<&PidNamespace>) -> Pid { in tgid_nr_ns()311 pub fn active_pid_ns(&self) -> Option<&PidNamespace> { in active_pid_ns() argument333 Some(unsafe { PidNamespace::from_ptr(active_ns) }) in active_pid_ns()