/DragonOS-0.1.5/kernel/src/filesystem/ramfs/ |
D | mod.rs | 13 EEXIST, EINVAL, EISDIR, ENOBUFS, ENOENT, ENOTDIR, ENOTEMPTY, EPERM, 245 return Err(-(ENOTDIR as i32)); in create_with_data() 295 return Err(-(ENOTDIR as i32)); in link() 321 return Err(-(ENOTDIR as i32)); in unlink() 344 return Err(-(ENOTDIR as i32)); in rmdir() 349 return Err(-(ENOTDIR as i32)); in rmdir() 381 return Err(-(ENOTDIR as i32)); in find() 402 return Err(-(ENOTDIR as i32)); in get_entry_name() 434 return Err(-(ENOTDIR as i32)); in list()
|
/DragonOS-0.1.5/kernel/src/common/ |
D | errno.h | 74 #define ENOTDIR 57 /* 不是目录 Not a directory. */ macro
|
/DragonOS-0.1.5/kernel/src/filesystem/vfs/ |
D | mod.rs | 14 include::bindings::bindings::{ENOTDIR, ENOTSUP}, 366 return Err(-(ENOTDIR as i32)); in lookup_follow_symlink() 383 return Err(-(ENOTDIR as i32)); in lookup_follow_symlink() 417 ::core::str::from_utf8(&content[..len]).map_err(|_| -(ENOTDIR as i32))?, in lookup_follow_symlink()
|
D | core.rs | 19 include::bindings::bindings::{EBADF, ENAMETOOLONG, ENOENT, ENOTDIR, EPERM, PAGE_4K_SIZE}, 220 return Err(-(ENOTDIR as i32)); in do_open() 344 return Err(-(ENOTDIR as i32)); in do_remove_dir() 349 return Err(-(ENOTDIR as i32)); in do_remove_dir() 384 return Err(-(ENOTDIR as i32)); in do_unlink_at()
|
D | mount.rs | 9 include::bindings::bindings::{EBUSY, ENOTDIR}, 331 return Err(-(ENOTDIR as i32)); in mount()
|
D | syscall.rs | 8 pt_regs, verify_area, AT_REMOVEDIR, EBADF, EFAULT, EINVAL, ENAMETOOLONG, ENOENT, ENOTDIR, 214 return (-(ENOTDIR as i32)) as u64; in sys_chdir()
|
/DragonOS-0.1.5/user/libs/libc/src/include/export/ |
D | errno.h | 79 #define ENOTDIR 57 /* 不是目录 Not a directory. */ macro
|
/DragonOS-0.1.5/kernel/src/filesystem/procfs/ |
D | mod.rs | 18 pid_t, process_find_pcb_by_pid, EEXIST, EINVAL, EISDIR, ENOBUFS, ENOENT, ENOTDIR, 482 return Err(-(ENOTDIR as i32)); in create_with_data() 537 return Err(-(ENOTDIR as i32)); in link() 563 return Err(-(ENOTDIR as i32)); in unlink() 592 return Err(-(ENOTDIR as i32)); in find() 613 return Err(-(ENOTDIR as i32)); in get_entry_name() 645 return Err(-(ENOTDIR as i32)); in list()
|
/DragonOS-0.1.5/kernel/src/filesystem/devfs/ |
D | mod.rs | 10 include::bindings::bindings::{EEXIST, EISDIR, ENOENT, ENOTDIR, ENOTSUP}, 278 return Err(-(ENOTDIR as i32)); in do_create_with_data() 350 return Err(-(ENOTDIR as i32)); in find() 374 return Err(-(ENOTDIR as i32)); in get_entry_name() 410 return Err(-(ENOTDIR as i32)); in list()
|
/DragonOS-0.1.5/kernel/src/filesystem/fat/ |
D | fs.rs | 17 EFAULT, EINVAL, EISDIR, ENOENT, ENOSPC, ENOTDIR, ENOTEMPTY, ENOTSUP, EPERM, EROFS, 155 return Err(-(ENOTDIR as i32)); in find() 1426 return Err(-(ENOTDIR as i32)); in create() 1465 return Err(-(ENOTDIR as i32)); in list() 1527 return Err(-(ENOTDIR as i32)); in unlink() 1555 return Err(-(ENOTDIR as i32)); in rmdir() 1584 return Err(-(ENOTDIR as i32)); in get_entry_name()
|
D | entry.rs | 12 EEXIST, EILSEQ, EINVAL, EISDIR, ENAMETOOLONG, ENOENT, ENOSPC, ENOTDIR, ENOTEMPTY, EPERM, 509 return Err(-(ENOTDIR as i32)); in find_entry() 546 if err_val == (-(EISDIR as i32)) || err_val == (-(ENOTDIR as i32)) { in create_file() 586 if err_val == (-(EISDIR as i32)) || err_val == (-(ENOTDIR as i32)) { in create_dir() 1767 return Err(-(ENOTDIR as i32)); in to_dir()
|
/DragonOS-0.1.5/docs/userland/libc/apis/api-list/ |
D | errno.md | 131 #define ENOTDIR 57 /* 不是目录 Not a directory.*/
|