Home
last modified time | relevance | path

Searched refs:new_name (Results 1 – 9 of 9) sorted by relevance

/DragonOS/user/apps/user-manage/src/executor/
H A Dexecutor.rs334 if let Some(new_username) = &info.new_name { in update_passwd_file()
367 if let Some(new_name) = &info.new_name { in update_group_file()
368 name = new_name.clone(); in update_group_file()
413 if let Some(new_name) = &info.new_name { in update_shadow_file()
420 fields[0] = new_name; in update_shadow_file()
437 if let Some(new_name) = &info.new_name { in update_gshadow_file()
438 name = new_name.clone(); in update_gshadow_file()
/DragonOS/kernel/src/filesystem/ramfs/
H A Dmod.rs435 new_name: &str, in move_to()
442 let new_name = DName::from(new_name); in move_to() localVariable
444 inode_to_move.0.lock().name = new_name.clone(); in move_to()
452 self_inode.children.insert(new_name, inode_to_move); in move_to()
466 target.link(new_name.as_ref(), &(inode_to_move as Arc<dyn IndexNode>))?; in move_to()
471 target.unlink(new_name.as_ref())?; in move_to()
/DragonOS/user/apps/user-manage/src/check/
H A Dinfo.rs43 pub new_name: Option<String>, field
H A Dcheck.rs276 username: info.new_name.clone(), in check()
328 info.new_name = Some(arg.clone()); in parse_options()
/DragonOS/kernel/src/filesystem/vfs/
H A Dcore.rs275 let (new_name, new_parent_path) = rsplit_path(&new_remain_path); in do_symlinkat()
285 new_name, in do_symlinkat()
H A Dmount.rs375 new_name: &str, in move_to()
377 return self.inner_inode.move_to(old_name, target, new_name); in move_to()
H A Dsyscall.rs878 let (new_name, new_parent_path) = rsplit_path(&new_remain_path); in do_linkat()
883 return new_parent.link(new_name, &old_inode).map(|_| 0); in do_linkat()
/DragonOS/kernel/src/filesystem/fat/
H A Dentry.rs856 new_name: &str, in rename()
869 self.check_existence(new_name, None, fs.clone())? in rename()
884 new_name, in rename()
905 new_name: &str, in rename_across()
918 target.check_existence(new_name, None, fs.clone())? in rename_across()
933 new_name, in rename_across()
H A Dfs.rs1687 new_name: &str, in move_to()
1712 old_dir.rename(fs, old_name, new_name)?; in move_to()
1748 old_dir.rename_across(fs, new_dir, old_name, new_name)?; in move_to()