Home
last modified time | relevance | path

Searched refs:ENOTDIR (Results 1 – 12 of 12) sorted by relevance

/DragonOS-0.1.5/kernel/src/filesystem/ramfs/
Dmod.rs13 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/
Derrno.h74 #define ENOTDIR 57 /* 不是目录 Not a directory. */ macro
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dmod.rs14 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()
Dcore.rs19 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()
Dmount.rs9 include::bindings::bindings::{EBUSY, ENOTDIR},
331 return Err(-(ENOTDIR as i32)); in mount()
Dsyscall.rs8 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/
Derrno.h79 #define ENOTDIR 57 /* 不是目录 Not a directory. */ macro
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs18 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/
Dmod.rs10 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/
Dfs.rs17 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()
Dentry.rs12 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/
Derrno.md131 #define ENOTDIR 57 /* 不是目录 Not a directory.*/