Searched refs:nsset (Results 1 – 5 of 5) sorted by relevance
21 fn install(&self, nsset: &mut NsSet, ns_common: Arc<NsCommon>) -> Result<(), SystemError>; in install()109 pub fn commit_nsset(nsset: NsSet) { in commit_nsset()110 let flags = CloneFlags::from_bits_truncate(nsset.flags); in commit_nsset()114 let nsset_fs = nsset.fs.lock(); in commit_nsset()118 switch_task_namespace(current, nsset.nsproxy); // 转移所有权 in commit_nsset()
43 let nsset = prepare_nsset(flags)?; in sys_setns() localVariable46 commit_nsset(nsset) in sys_setns()
119 nsset: &mut super::NsSet, in install()122 let nsproxy = &mut nsset.nsproxy; in install()129 nsset.fs.lock().set_pwd(ROOT_INODE()); in install()130 nsset.fs.lock().set_root(ROOT_INODE()); in install()
84 nsset: &mut super::NsSet, in install()
190 fn install(&self, nsset: &mut NsSet, ns_common: Arc<NsCommon>) -> Result<(), SystemError> { in install()191 let nsproxy = &mut nsset.nsproxy; in install()