Home
last modified time | relevance | path

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

/DragonOS/kernel/src/net/
H A Dsyscall.rs113 .ok_or(SystemError::EBADF)?; in setsockopt()
139 .ok_or(SystemError::EBADF)?; in getsockopt()
201 .ok_or(SystemError::EBADF)?; in connect()
218 .ok_or(SystemError::EBADF)?; in bind()
248 .ok_or(SystemError::EBADF)?; in sendto()
271 .ok_or(SystemError::EBADF)?; in recvfrom()
302 .ok_or(SystemError::EBADF)?; in recvmsg()
331 .ok_or(SystemError::EBADF)?; in listen()
346 .ok_or(SystemError::EBADF)?; in shutdown()
406 .ok_or(SystemError::EBADF)?; in do_accept()
[all …]
/DragonOS/kernel/src/filesystem/vfs/
H A Dsyscall.rs547 .ok_or(SystemError::EBADF)?; in ioctl()
568 return Err(SystemError::EBADF); in read()
590 .ok_or(SystemError::EBADF)?; in write()
617 .ok_or(SystemError::EBADF)?; in lseek()
637 return Err(SystemError::EBADF); in pread()
659 return Err(SystemError::EBADF); in pwrite()
778 return Err(SystemError::EBADF); in getdents()
786 .ok_or(SystemError::EBADF)?; in getdents()
860 .ok_or(SystemError::EBADF)?; in do_linkat()
1057 .ok_or(SystemError::EBADF)?; in dup()
[all …]
H A Dutils.rs55 .ok_or(SystemError::EBADF)?; in user_path_at()
H A Dfile.rs728 return Err(SystemError::EBADF); in alloc_fd()
760 self.get_file_by_fd(fd).ok_or(SystemError::EBADF)?; in drop_fd()
H A Dopen.rs271 .ok_or(SystemError::EBADF)?;
/DragonOS/kernel/src/bpf/prog/
H A Dverifier.rs60 .ok_or(SystemError::EBADF)?; in relocation()
80 .ok_or(SystemError::EBADF)? in relocation()
/DragonOS/kernel/src/common/
H A Derrno.h20 #define EBADF 9 /* 错误的文件描述符 Bad file descriptor. */ macro
/DragonOS/kernel/src/ipc/
H A Dpipe.rs198 return Err(SystemError::EBADF); in read_at()
312 return Err(SystemError::EBADF); in close()
353 return Err(SystemError::EBADF); in write_at()
/DragonOS/kernel/crates/system_error/src/
H A Dlib.rs28 EBADF = 9, enumerator
/DragonOS/kernel/src/net/event_poll/
H A Dmod.rs295 .ok_or(SystemError::EBADF)?; in do_epoll_ctl()
298 .ok_or(SystemError::EBADF)?; in do_epoll_ctl()
411 .ok_or(SystemError::EBADF)?; in do_epoll_wait()
448 return Err(SystemError::EBADF); in do_epoll_wait()
/DragonOS/kernel/src/perf/
H A Dmod.rs172 .ok_or(SystemError::EBADF)?; in ioctl()
331 .ok_or(SystemError::EBADF)?; in get_perf_event_file()
/DragonOS/kernel/src/bpf/map/
H A Dmod.rs410 .ok_or(SystemError::EBADF)?; in get_map_file()
/DragonOS/kernel/src/mm/
H A Ducontext.rs364 return Err(SystemError::EBADF); in file_mapping()