Home
last modified time | relevance | path

Searched refs:ENOENT (Results 1 – 15 of 15) sorted by relevance

/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dcore.rs214 if errno == SystemError::ENOENT { in do_mkdir()
243 if errno == SystemError::ENOENT { in do_remove_dir()
244 return Err(SystemError::ENOENT); in do_remove_dir()
279 if errno == SystemError::ENOENT { in do_unlink_at()
280 return Err(SystemError::ENOENT); in do_unlink_at()
Dsyscall.rs143 && errno == SystemError::ENOENT in open()
280 return Err(SystemError::ENOENT); in chdir()
288 return Err(SystemError::ENOENT); in chdir()
/DragonOS-0.1.8/kernel/src/filesystem/devfs/
Dmod.rs159 return Err(SystemError::ENOENT); in unregister_device()
172 return Err(SystemError::ENOENT); in unregister_device()
282 .ok_or(SystemError::ENOENT)?; in remove()
377 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find()
380 return Ok(inode.parent.upgrade().ok_or(SystemError::ENOENT)?); in find()
384 return Ok(inode.children.get(name).ok_or(SystemError::ENOENT)?.clone()); in find()
417 0=>{return Err(SystemError::ENOENT);} in get_entry_name()
507 return Err(SystemError::ENOENT);
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/
Dmod.rs325 let to_delete = inode.children.get(name).ok_or(SystemError::ENOENT)?; in unlink()
343 let to_delete = inode.children.get(name).ok_or(SystemError::ENOENT)?; in rmdir()
382 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find()
386 return Ok(inode.parent.upgrade().ok_or(SystemError::ENOENT)?); in find()
390 return Ok(inode.children.get(name).ok_or(SystemError::ENOENT)?.clone()); in find()
419 0=>{return Err(SystemError::ENOENT);} in get_entry_name()
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/
Dmod.rs232 0=>{return Err(SystemError::ENOENT);} in get_entry_name()
249 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find()
252 return Ok(inode.parent.upgrade().ok_or(SystemError::ENOENT)?); in find()
260 return Ok(inode.children.get(name).ok_or(SystemError::ENOENT)?.clone()); in find()
392 .ok_or(SystemError::ENOENT)?; in remove()
/DragonOS-0.1.8/kernel/src/common/
Derrno.h13 #define ENOENT 2 /* 没有指定的文件或目录 No such file or directory. */ macro
/DragonOS-0.1.8/user/libs/libc/src/include/export/
Derrno.h19 #define ENOENT 2 /* 没有指定的文件或目录 No such file or directory. */ macro
/DragonOS-0.1.8/user/libs/libc/src/
Dunistd.c155 errno = -ENOENT; in execv()
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs571 let to_delete = inode.children.get(name).ok_or(SystemError::ENOENT)?; in unlink()
597 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find()
601 return Ok(inode.parent.upgrade().ok_or(SystemError::ENOENT)?); in find()
605 return Ok(inode.children.get(name).ok_or(SystemError::ENOENT)?.clone()); in find()
634 0=>{return Err(SystemError::ENOENT);} in get_entry_name()
/DragonOS-0.1.8/kernel/src/libs/
Dnotifier.rs69 0 => return Err(SystemError::ENOENT), in unregister()
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Derrno.md105 #define ENOENT 45 /* 没有指定的文件或目录 No such file or directory.*/
/DragonOS-0.1.8/user/apps/shell/
Dcmd.c381 case -ENOENT: in shell_cmd_touch()
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dentry.rs537 return Err(SystemError::ENOENT); in find_entry()
694 if e == SystemError::ENOENT { in check_existence()
871 return Err(SystemError::ENOENT); in rename()
Dfs.rs1650 0=>{return Err(SystemError::ENOENT);} in get_entry_name()
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs36 ENOENT = 2, enumerator