Searched refs:ENOENT (Results 1 – 15 of 15) sorted by relevance
214 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()
143 && errno == SystemError::ENOENT in open()280 return Err(SystemError::ENOENT); in chdir()288 return Err(SystemError::ENOENT); in chdir()
159 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);
325 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()
232 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()
13 #define ENOENT 2 /* 没有指定的文件或目录 No such file or directory. */ macro
19 #define ENOENT 2 /* 没有指定的文件或目录 No such file or directory. */ macro
155 errno = -ENOENT; in execv()
571 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()
69 0 => return Err(SystemError::ENOENT), in unregister()
105 #define ENOENT 45 /* 没有指定的文件或目录 No such file or directory.*/
381 case -ENOENT: in shell_cmd_touch()
537 return Err(SystemError::ENOENT); in find_entry()694 if e == SystemError::ENOENT { in check_existence()871 return Err(SystemError::ENOENT); in rename()
1650 0=>{return Err(SystemError::ENOENT);} in get_entry_name()
36 ENOENT = 2, enumerator