Home
last modified time | relevance | path

Searched refs:remove (Results 1 – 6 of 6) sorted by relevance

/DragonOS-0.1.5/kernel/src/filesystem/devfs/
Dmod.rs153 dev_char_inode.remove(name)?; in unregister_device()
166 dev_block_inode.remove(name)?; in unregister_device()
261 pub fn remove(&self, name: &str) -> Result<(), i32> { in remove() method
266 .remove(name) in remove()
396 1=>{return Ok(key.remove(0));} in get_entry_name()
/DragonOS-0.1.5/kernel/src/filesystem/ramfs/
Dmod.rs336 inode.children.remove(name); in unlink()
354 inode.children.remove(name); in rmdir()
424 1=>{return Ok(key.remove(0));} in get_entry_name()
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dfile.rs235 let name: String = self.readdir_subdirs_name.remove(0); in readdir()
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dfs.rs1523 guard.children.remove(&name.to_uppercase()); in unlink()
1539 let r = dir.remove(guard.fs.upgrade().unwrap().clone(), name, true); in unlink()
1551 guard.children.remove(&name.to_uppercase()); in rmdir()
1567 let r: Result<(), i32> = dir.remove(guard.fs.upgrade().unwrap().clone(), name, true); in rmdir()
1605 1=>{return Ok(key.remove(0));} in get_entry_name()
Dentry.rs775 pub fn remove( in remove() method
866 self.remove(fs.clone(), old_dentry.name().as_str(), false)?; in rename()
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs575 inode.children.remove(name); in unlink()
635 1=>{return Ok(key.remove(0));} in get_entry_name()