Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/devfs/
H A Dmod.rs204 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 Dmod.rs390 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 Dmod.rs234 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 Derrno.h13 #define ENOENT 2 /* 没有指定的文件或目录 No such file or directory. */ macro
/DragonOS/kernel/src/filesystem/sysfs/
H A Dsymlink.rs71 let target_inode = target.inode().ok_or(SystemError::ENOENT)?; in do_create_link_sd()
H A Ddir.rs63 .ok_or(SystemError::ENOENT)?; in create_dir()
/DragonOS/kernel/crates/system_error/src/
H A Dlib.rs14 ENOENT = 2, enumerator
/DragonOS/kernel/src/init/
H A Dinitial_kthread.rs92 if e != SystemError::ENOENT { in try_to_run_init_process()
/DragonOS/kernel/src/filesystem/vfs/
H A Dcore.rs219 if errno == SystemError::ENOENT { in do_unlink_at()
220 return Err(SystemError::ENOENT); in do_unlink_at()
H A Dopen.rs103 && errno == SystemError::ENOENT in do_sys_openat2()
H A Dmount.rs215 .ok_or(SystemError::ENOENT); in do_umount()
369 .ok_or(SystemError::ENOENT), in find()
H A Dmod.rs525 Err(SystemError::ENOENT) => self.create(name, FileType::Dir, mode), in mkdir()
H A Dsyscall.rs726 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 Dmod.rs695 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 Dnotifier.rs68 0 => return Err(SystemError::ENOENT), in unregister()
/DragonOS/kernel/src/filesystem/
H A Deventfd.rs76 Err(SystemError::ENOENT) in remove_epoll()
/DragonOS/kernel/src/filesystem/devpts/
H A Dmod.rs264 Err(SystemError::ENOENT) in find()
/DragonOS/kernel/src/net/event_poll/
H A Dmod.rs373 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 Dfdt.rs406 let reg = node.property("reg").ok_or(SystemError::ENOENT)?; in reserved_mem_reserve_reg()
/DragonOS/kernel/src/ipc/
H A Dpipe.rs123 Err(SystemError::ENOENT) in remove_epoll()
H A Dsyscall.rs286 return Err(SystemError::ENOENT); in shmget()
/DragonOS/kernel/src/filesystem/fat/
H A Dentry.rs530 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 Dfs.rs1784 0=>{return Err(SystemError::ENOENT);} in get_entry_name()
/DragonOS/kernel/src/exception/
H A Dirqdomain.rs360 .ok_or(SystemError::ENOENT)?; in domain_set_hwirq_and_chip()
/DragonOS/kernel/src/net/socket/
H A Dmod.rs445 Err(SystemError::ENOENT) in remove_epoll()