Searched refs:ENOENT (Results 1 – 18 of 18) sorted by relevance
182 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);
348 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()
194 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()
107 && errno == SystemError::ENOENT in do_sys_openat2()
466 return Err(SystemError::ENOENT); in chdir()
13 #define ENOENT 2 /* 没有指定的文件或目录 No such file or directory. */ macro
217 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()
71 let target_inode = target.inode().ok_or(SystemError::ENOENT)?; in do_create_link_sd()
63 .ok_or(SystemError::ENOENT)?; in create_dir()
14 ENOENT = 2, enumerator
645 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()
70 0 => return Err(SystemError::ENOENT), in unregister()
360 return Err(SystemError::ENOENT); in do_epoll_ctl()368 return Err(SystemError::ENOENT); in do_epoll_ctl()
366 let reg = node.property("reg").ok_or(SystemError::ENOENT)?; in reserved_mem_reserve_reg()
353 .ok_or(SystemError::ENOENT)?; in domain_set_hwirq_and_chip()
535 return Err(SystemError::ENOENT); in find_entry()689 if e == SystemError::ENOENT { in check_existence()866 return Err(SystemError::ENOENT); in rename()
1677 0=>{return Err(SystemError::ENOENT);} in get_entry_name()
460 Err(SystemError::ENOENT) in remove_epoll()