/DragonOS/kernel/src/filesystem/devfs/ |
H A D | mod.rs | 204 return Err(SystemError::ENOENT); in unregister_device() 217 return Err(SystemError::ENOENT); in unregister_device() 336 .ok_or(SystemError::ENOENT)?; in remove() 432 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find() 435 return Ok(inode.parent.upgrade().ok_or(SystemError::ENOENT)?); in find() 442 .ok_or(SystemError::ENOENT)? in find() 481 0=>{return Err(SystemError::ENOENT);} in get_entry_name() 584 return Err(SystemError::ENOENT);
|
/DragonOS/kernel/src/filesystem/ramfs/ |
H A D | mod.rs | 390 let to_delete = inode.children.get(&name).ok_or(SystemError::ENOENT)?; in unlink() 409 let to_delete = inode.children.get(&name).ok_or(SystemError::ENOENT)?; in rmdir() 476 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find() 480 return Ok(inode.parent.upgrade().ok_or(SystemError::ENOENT)?); in find() 488 .ok_or(SystemError::ENOENT)? in find() 523 0=>{return Err(SystemError::ENOENT);} in get_entry_name()
|
/DragonOS/kernel/src/filesystem/kernfs/ |
H A D | mod.rs | 234 return Ok(self.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find() 243 .ok_or(SystemError::ENOENT)?); in find() 251 .ok_or(SystemError::ENOENT)? in find() 268 return r.ok_or(SystemError::ENOENT); in get_entry_name() 568 let inode = children.get(name).ok_or(SystemError::ENOENT)?; in remove()
|
/DragonOS/kernel/src/common/ |
H A D | errno.h | 13 #define ENOENT 2 /* 没有指定的文件或目录 No such file or directory. */ macro
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | symlink.rs | 71 let target_inode = target.inode().ok_or(SystemError::ENOENT)?; in do_create_link_sd()
|
H A D | dir.rs | 63 .ok_or(SystemError::ENOENT)?; in create_dir()
|
/DragonOS/kernel/crates/system_error/src/ |
H A D | lib.rs | 14 ENOENT = 2, enumerator
|
/DragonOS/kernel/src/init/ |
H A D | initial_kthread.rs | 92 if e != SystemError::ENOENT { in try_to_run_init_process()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | core.rs | 219 if errno == SystemError::ENOENT { in do_unlink_at() 220 return Err(SystemError::ENOENT); in do_unlink_at()
|
H A D | open.rs | 103 && errno == SystemError::ENOENT in do_sys_openat2()
|
H A D | mount.rs | 215 .ok_or(SystemError::ENOENT); in do_umount() 369 .ok_or(SystemError::ENOENT), in find()
|
H A D | mod.rs | 525 Err(SystemError::ENOENT) => self.create(name, FileType::Dir, mode), in mkdir()
|
H A D | syscall.rs | 726 return Err(SystemError::ENOENT); in chdir() 884 return Err(SystemError::ENOENT); in link() 917 return Err(SystemError::ENOENT); in linkat()
|
/DragonOS/kernel/src/filesystem/procfs/ |
H A D | mod.rs | 695 let to_delete = inode.children.get(&name).ok_or(SystemError::ENOENT)?; in unlink() 724 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find() 728 return Ok(inode.parent.upgrade().ok_or(SystemError::ENOENT)?); in find() 735 .ok_or(SystemError::ENOENT)? in find() 770 0=>{return Err(SystemError::ENOENT);} in get_entry_name()
|
/DragonOS/kernel/src/libs/ |
H A D | notifier.rs | 68 0 => return Err(SystemError::ENOENT), in unregister()
|
/DragonOS/kernel/src/filesystem/ |
H A D | eventfd.rs | 76 Err(SystemError::ENOENT) in remove_epoll()
|
/DragonOS/kernel/src/filesystem/devpts/ |
H A D | mod.rs | 264 Err(SystemError::ENOENT) in find()
|
/DragonOS/kernel/src/net/event_poll/ |
H A D | mod.rs | 373 return Err(SystemError::ENOENT); in do_epoll_ctl() 381 return Err(SystemError::ENOENT); in do_epoll_ctl()
|
/DragonOS/kernel/src/driver/open_firmware/ |
H A D | fdt.rs | 406 let reg = node.property("reg").ok_or(SystemError::ENOENT)?; in reserved_mem_reserve_reg()
|
/DragonOS/kernel/src/ipc/ |
H A D | pipe.rs | 123 Err(SystemError::ENOENT) in remove_epoll()
|
H A D | syscall.rs | 286 return Err(SystemError::ENOENT); in shmget()
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | entry.rs | 530 return Err(SystemError::ENOENT); in find_entry() 686 if e == SystemError::ENOENT { in check_existence() 865 return Err(SystemError::ENOENT); in rename() 914 return Err(SystemError::ENOENT); in rename_across()
|
H A D | fs.rs | 1784 0=>{return Err(SystemError::ENOENT);} in get_entry_name()
|
/DragonOS/kernel/src/exception/ |
H A D | irqdomain.rs | 360 .ok_or(SystemError::ENOENT)?; in domain_set_hwirq_and_chip()
|
/DragonOS/kernel/src/net/socket/ |
H A D | mod.rs | 445 Err(SystemError::ENOENT) in remove_epoll()
|