/third_party/ltp/testcases/kernel/syscalls/dup2/ |
D | dup201.c | 86 {&badfd, &goodfd, EBADF, NULL}, 88 {&maxfd, &goodfd, EBADF, NULL}, 90 {&mystdout, &badfd, EBADF, NULL}, 92 {&mystdout, &maxfd, EBADF, NULL},
|
/third_party/NuttX/fs/vfs/ |
D | fs_read.c | 82 int ret = -EBADF; in file_read() 194 set_errno(EBADF); in read() 207 set_errno(EBADF); in read() 225 set_errno(EBADF); in read()
|
D | fs_write.c | 105 err = EBADF; in file_write() 215 set_errno(EBADF); in write() 230 set_errno(EBADF); in write() 244 set_errno(EBADF); in write()
|
D | fs_fcntl.c | 92 err = EBADF; in file_vfcntl() 201 err = EBADF; /* Only valid on socket descriptors */ in file_vfcntl() 324 ret = EBADF; in fcntl() 384 reval = EBADF; in fcntl64()
|
D | fs_dup2.c | 82 set_errno(EBADF); /* When net_dupsd2 is still closed,errno should set */ in dup2() 89 set_errno(EBADF); in dup2()
|
D | fs_dup.c | 97 set_errno(EBADF); /* When net_dupsd is still closed,errno should set */ in dup() 106 set_errno(EBADF); in dup()
|
D | fs_truncate64.c | 147 set_errno(EBADF); in ftruncate64() 165 set_errno(EBADF); in ftruncate64()
|
D | fs_truncate.c | 148 set_errno(EBADF); in ftruncate() 167 set_errno(EBADF); in ftruncate()
|
D | fs_ioctl.c | 121 err = EBADF; in fs_ioctl() 134 err = EBADF; in fs_ioctl()
|
/third_party/ltp/testcases/kernel/syscalls/fadvise/ |
D | posix_fadvise02.c | 56 if (TST_RET == EBADF) { in verify_fadvise() 64 tst_strerrno(TST_RET), EBADF); in verify_fadvise() 74 if (errno == EBADF) {} /* Good. Do nothing. */ in setup()
|
/third_party/mingw-w64/mingw-w64-crt/stdio/ |
D | ftruncate64.c | 126 _set_errno(EBADF); in xp_getfilepath() 145 _set_errno(EBADF); in checkfreespace() 167 _set_errno(EBADF); in checkfreespace() 174 _set_errno(EBADF); in checkfreespace() 188 _set_errno(EBADF); in checkfreespace() 202 _set_errno(EBADF); in checkfreespace() 261 _set_errno(EBADF); in ftruncate64()
|
D | fseeko64.c | 56 { ERROR_ACCESS_DENIED, EACCES }, { ERROR_INVALID_HANDLE, EBADF }, 68 { ERROR_DISK_FULL, ENOSPC }, { ERROR_INVALID_TARGET_HANDLE, EBADF }, 70 { ERROR_CHILD_NOT_COMPLETE, ECHILD }, { ERROR_DIRECT_ACCESS_HANDLE, EBADF },
|
/third_party/ltp/testcases/kernel/syscalls/lseek/ |
D | lseek02.c | 35 {&bad_fd, SEEK_SET, EBADF}, 36 {&bad_fd, SEEK_CUR, EBADF}, 37 {&bad_fd, SEEK_END, EBADF},
|
/third_party/ltp/testcases/kernel/syscalls/splice/ |
D | splice03.c | 56 { &badfd, NULL, &pipes[1], NULL, EBADF }, 57 { &pipes[0], NULL, &badfd, NULL, EBADF }, 58 { &wrfd, NULL, &pipes[1], NULL, EBADF },
|
/third_party/ltp/testcases/kernel/syscalls/io_submit/ |
D | io_submit01.c | 59 {&ctx, 1, inv_fd_iocbs, -EBADF, "invalid fd"}, 60 {&ctx, 1, rdonly_fd_iocbs, -EBADF, "readonly fd for write"}, 61 {&ctx, 1, wronly_fd_iocbs, -EBADF, "writeonly fd for read"},
|
/third_party/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile03.c | 81 "Test for EBADF, in_fd = -1", NULL, 8, -1, NULL, 0, EBADF}, { 82 "Test for EBADF, out_fd = -1", NULL, -1, 7, NULL, 0, EBADF}, { 84 0, EBADF}
|
/third_party/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe03.c | 28 if (TST_RET == -1 && errno == EBADF) { in verify_pipe() 37 if (TST_RET == -1 && errno == EBADF) { in verify_pipe()
|
/third_party/lwip/src/core/distributed_net/ |
D | distributed_net_core.c | 41 CHECK_PARA(SOCKET_TO_INDEX(sock) >= 0 && SOCKET_TO_INDEX(sock) < NUM_SOCKETS, EBADF); in distributed_net_connect() 78 CHECK_PARA(SOCKET_TO_INDEX(sock) >= 0 && SOCKET_TO_INDEX(sock) < NUM_SOCKETS, EBADF); in distributed_net_close() 98 CHECK_PARA(SOCKET_TO_INDEX(sock) >= 0 && SOCKET_TO_INDEX(sock) < NUM_SOCKETS, EBADF); in distributed_net_sendto() 139 CHECK_PARA(SOCKET_TO_INDEX(sock) >= 0 && SOCKET_TO_INDEX(sock) < NUM_SOCKETS, EBADF); in distributed_net_sendmsg() 185 CHECK_PARA(SOCKET_TO_INDEX(sock) >= 0 && SOCKET_TO_INDEX(sock) < NUM_SOCKETS, EBADF); in distributed_net_recvfrom()
|
/third_party/ltp/testcases/kernel/syscalls/fsync/ |
D | fsync03.c | 36 {&pipe_fd[0], EBADF}, 38 {&bad_fd, EBADF},
|
/third_party/ltp/testcases/kernel/syscalls/mq_timedreceive/ |
D | mq_timedreceive01.c | 75 .err = EBADF, 81 .err = EBADF, 87 .err = EBADF,
|
/third_party/ltp/testcases/kernel/syscalls/vmsplice/ |
D | vmsplice02.c | 48 { ¬validfd, &ivc, 1, EBADF }, 49 { &filefd, &ivc, 1, EBADF },
|
/third_party/ltp/testcases/kernel/syscalls/mq_timedsend/ |
D | mq_timedsend01.c | 68 .err = EBADF, 74 .err = EBADF, 80 .err = EBADF,
|
/third_party/ltp/testcases/kernel/syscalls/pwritev/ |
D | pwritev02.c | 68 {&fd3, wr_iovec2, 1, 0, EBADF}, 69 {&fd2, wr_iovec2, 1, 0, EBADF},
|
/third_party/ltp/testcases/kernel/syscalls/readahead/ |
D | readahead01.c | 59 check_errno(EBADF); in test_bad_fd() 69 check_errno(EBADF); in test_bad_fd()
|
/third_party/ltp/testcases/kernel/syscalls/mq_notify/ |
D | mq_notify01.c | 60 .err = EBADF, 66 .err = EBADF, 72 .err = EBADF,
|