Searched refs:new_name (Results 1 – 9 of 9) sorted by relevance
/DragonOS/user/apps/user-manage/src/executor/ |
H A D | executor.rs | 334 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 D | mod.rs | 435 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 D | info.rs | 43 pub new_name: Option<String>, field
|
H A D | check.rs | 276 username: info.new_name.clone(), in check() 328 info.new_name = Some(arg.clone()); in parse_options()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | core.rs | 275 let (new_name, new_parent_path) = rsplit_path(&new_remain_path); in do_symlinkat() 285 new_name, in do_symlinkat()
|
H A D | mount.rs | 375 new_name: &str, in move_to() 377 return self.inner_inode.move_to(old_name, target, new_name); in move_to()
|
H A D | syscall.rs | 878 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 D | entry.rs | 854 new_name: &str, in rename() 867 self.check_existence(new_name, None, fs.clone())? in rename() 882 new_name, in rename() 903 new_name: &str, in rename_across() 916 target.check_existence(new_name, None, fs.clone())? in rename_across() 931 new_name, in rename_across()
|
H A D | fs.rs | 1689 new_name: &str, in move_to() 1714 old_dir.rename(fs, old_name, new_name)?; in move_to() 1750 old_dir.rename_across(fs, new_dir, old_name, new_name)?; in move_to()
|