Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dsyscall.rs210 return Err(SystemError::EBADF); in read()
228 return Err(SystemError::EBADF); in write()
246 return Err(SystemError::EBADF); in lseek()
313 return Err(SystemError::EBADF); in getdents()
319 return Err(SystemError::EBADF); in getdents()
384 let file_cp: Box<File> = file.try_clone().ok_or(SystemError::EBADF)?; in dup()
391 return Err(SystemError::EBADF); in dup()
393 return Err(SystemError::EBADF); in dup()
434 return Err(SystemError::EBADF); in dup2()
443 return Err(SystemError::EBADF); in dup2()
[all …]
/DragonOS-0.1.8/kernel/src/net/
Dsyscall.rs82 .ok_or(SystemError::EBADF)?; in setsockopt()
108 .ok_or(SystemError::EBADF)?; in getsockopt()
171 .ok_or(SystemError::EBADF)?; in connect()
189 .ok_or(SystemError::EBADF)?; in bind()
219 .ok_or(SystemError::EBADF)?; in sendto()
242 .ok_or(SystemError::EBADF)?; in recvfrom()
273 .ok_or(SystemError::EBADF)?; in recvmsg()
302 .ok_or(SystemError::EBADF)?; in listen()
317 .ok_or(SystemError::EBADF)?; in shutdown()
333 .ok_or(SystemError::EBADF)?; in accept()
[all …]
/DragonOS-0.1.8/kernel/src/process/
Dprocess.rs214 return Err(SystemError::EBADF); in alloc_fd()
263 return Err(SystemError::EBADF); in drop_fd()
270 return Err(SystemError::EBADF); in drop_fd()
/DragonOS-0.1.8/kernel/src/common/
Derrno.h20 #define EBADF 9 /* 错误的文件描述符 Bad file descriptor. */ macro
/DragonOS-0.1.8/user/libs/libc/src/include/export/
Derrno.h26 #define EBADF 9 /* 错误的文件描述符 Bad file descriptor. */ macro
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Derrno.md26 #define EBADF 8 /* 错误的文件描述符 Bad file descriptor.*/
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs50 EBADF = 9, enumerator