Home
last modified time | relevance | path

Searched refs:EBADF (Results 1 – 8 of 8) sorted by relevance

/DragonOS-0.1.7/kernel/src/filesystem/vfs/
Dsyscall.rs238 return SystemError::EBADF.to_posix_errno() as u64; in sys_getdents()
248 return SystemError::EBADF.to_posix_errno() as u64; in sys_getdents()
360 return Err(SystemError::EBADF); in do_dup()
367 return Err(SystemError::EBADF); in do_dup()
369 return Err(SystemError::EBADF); in do_dup()
409 return Err(SystemError::EBADF); in do_dup2()
416 return Err(SystemError::EBADF); in do_dup2()
418 return Err(SystemError::EBADF); in do_dup2()
Dcore.rs271 return Err(SystemError::EBADF); in do_read()
288 return Err(SystemError::EBADF); in do_write()
305 return Err(SystemError::EBADF); in do_lseek()
/DragonOS-0.1.7/kernel/src/net/
Dsyscall.rs110 .ok_or(SystemError::EBADF)?; in do_setsockopt()
161 .ok_or(SystemError::EBADF)?; in do_getsockopt()
234 .ok_or(SystemError::EBADF)?; in do_connect()
262 .ok_or(SystemError::EBADF)?; in do_bind()
318 .ok_or(SystemError::EBADF)?; in do_sendto()
376 .ok_or(SystemError::EBADF)?; in do_recvfrom()
422 .ok_or(SystemError::EBADF)?; in do_recvmsg()
460 .ok_or(SystemError::EBADF)?; in do_listen()
484 .ok_or(SystemError::EBADF)?; in do_shutdown()
510 .ok_or(SystemError::EBADF)?; in do_accept()
[all …]
/DragonOS-0.1.7/kernel/src/common/
Derrno.h20 #define EBADF 9 /* 错误的文件描述符 Bad file descriptor. */ macro
/DragonOS-0.1.7/kernel/src/process/
Dprocess.rs212 return Err(SystemError::EBADF); in alloc_fd()
261 return Err(SystemError::EBADF); in drop_fd()
268 return Err(SystemError::EBADF); in drop_fd()
/DragonOS-0.1.7/user/libs/libc/src/include/export/
Derrno.h26 #define EBADF 9 /* 错误的文件描述符 Bad file descriptor. */ macro
/DragonOS-0.1.7/kernel/src/syscall/
Dmod.rs24 EBADF = 9, enumerator
/DragonOS-0.1.7/docs/userland/libc/apis/api-list/
Derrno.md26 #define EBADF 8 /* 错误的文件描述符 Bad file descriptor.*/