Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/filesystem/devfs/
Dmod.rs182 return Err(SystemError::ENOENT); in unregister_device()
195 return Err(SystemError::ENOENT); in unregister_device()
311 .ok_or(SystemError::ENOENT)?; in remove()
406 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find()
409 return Ok(inode.parent.upgrade().ok_or(SystemError::ENOENT)?); in find()
413 return Ok(inode.children.get(name).ok_or(SystemError::ENOENT)?.clone()); in find()
456 0=>{return Err(SystemError::ENOENT);} in get_entry_name()
539 return Err(SystemError::ENOENT);
/DragonOS-0.1.9/kernel/src/filesystem/ramfs/
Dmod.rs348 let to_delete = inode.children.get(name).ok_or(SystemError::ENOENT)?; in unlink()
366 let to_delete = inode.children.get(name).ok_or(SystemError::ENOENT)?; in rmdir()
405 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find()
409 return Ok(inode.parent.upgrade().ok_or(SystemError::ENOENT)?); in find()
413 return Ok(inode.children.get(name).ok_or(SystemError::ENOENT)?.clone()); in find()
453 0=>{return Err(SystemError::ENOENT);} in get_entry_name()
/DragonOS-0.1.9/kernel/src/filesystem/vfs/
Dcore.rs194 if errno == SystemError::ENOENT { in do_mkdir()
265 if errno == SystemError::ENOENT { in do_unlink_at()
266 return Err(SystemError::ENOENT); in do_unlink_at()
Dopen.rs107 && errno == SystemError::ENOENT in do_sys_openat2()
Dsyscall.rs466 return Err(SystemError::ENOENT); in chdir()
/DragonOS-0.1.9/kernel/src/common/
Derrno.h13 #define ENOENT 2 /* 没有指定的文件或目录 No such file or directory. */ macro
/DragonOS-0.1.9/kernel/src/filesystem/kernfs/
Dmod.rs217 return Ok(self.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find()
226 .ok_or(SystemError::ENOENT)?); in find()
234 .ok_or(SystemError::ENOENT)? in find()
251 return r.ok_or(SystemError::ENOENT); in get_entry_name()
552 let inode = children.get(name).ok_or(SystemError::ENOENT)?; in remove()
/DragonOS-0.1.9/kernel/src/filesystem/sysfs/
Dsymlink.rs71 let target_inode = target.inode().ok_or(SystemError::ENOENT)?; in do_create_link_sd()
Ddir.rs63 .ok_or(SystemError::ENOENT)?; in create_dir()
/DragonOS-0.1.9/kernel/crates/system_error/src/
Dlib.rs14 ENOENT = 2, enumerator
/DragonOS-0.1.9/kernel/src/filesystem/procfs/
Dmod.rs645 let to_delete = inode.children.get(name).ok_or(SystemError::ENOENT)?; in unlink()
671 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find()
675 return Ok(inode.parent.upgrade().ok_or(SystemError::ENOENT)?); in find()
679 return Ok(inode.children.get(name).ok_or(SystemError::ENOENT)?.clone()); in find()
719 0=>{return Err(SystemError::ENOENT);} in get_entry_name()
/DragonOS-0.1.9/kernel/src/libs/
Dnotifier.rs70 0 => return Err(SystemError::ENOENT), in unregister()
/DragonOS-0.1.9/kernel/src/net/event_poll/
Dmod.rs360 return Err(SystemError::ENOENT); in do_epoll_ctl()
368 return Err(SystemError::ENOENT); in do_epoll_ctl()
/DragonOS-0.1.9/kernel/src/driver/open_firmware/
Dfdt.rs366 let reg = node.property("reg").ok_or(SystemError::ENOENT)?; in reserved_mem_reserve_reg()
/DragonOS-0.1.9/kernel/src/exception/
Dirqdomain.rs353 .ok_or(SystemError::ENOENT)?; in domain_set_hwirq_and_chip()
/DragonOS-0.1.9/kernel/src/filesystem/fat/
Dentry.rs535 return Err(SystemError::ENOENT); in find_entry()
689 if e == SystemError::ENOENT { in check_existence()
866 return Err(SystemError::ENOENT); in rename()
Dfs.rs1677 0=>{return Err(SystemError::ENOENT);} in get_entry_name()
/DragonOS-0.1.9/kernel/src/net/socket/
Dmod.rs460 Err(SystemError::ENOENT) in remove_epoll()