Home
last modified time | relevance | path

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

12345678910>>...13

/external/syzkaller/sys/linux/test/
Dfd_assignment3 close(0x3) # EBADF
4 close(0x4) # EBADF
5 close(0x5) # EBADF
9 close(0x5) # EBADF
/external/syzkaller/sys/fuchsia/test/
Dfd_assignment3 close(0x3) # EBADF
4 close(0x4) # EBADF
5 close(0x5) # EBADF
9 close(0x5) # EBADF
/external/ltp/testcases/kernel/syscalls/dup2/
Ddup201.c90 &badfd, &goodfd, EBADF, NULL},
93 &maxfd, &goodfd, EBADF, NULL},
96 &mystdout, &badfd, EBADF, NULL},
99 &mystdout, &maxfd, EBADF, NULL},};
/external/bsdiff/
Dfile.cc40 errno = EBADF; in Read()
52 errno = EBADF; in Write()
64 errno = EBADF; in Seek()
80 errno = EBADF; in Close()
/external/ltp/testcases/kernel/syscalls/fadvise/
Dposix_fadvise02.c57 if (TST_RET == EBADF) { in verify_fadvise()
65 tst_strerrno(TST_RET), EBADF); in verify_fadvise()
75 if (errno == EBADF) {} /* Good. Do nothing. */ in setup()
/external/strace/tests-mx32/
Dioctl_evdev.c224 errno = EBADF; in main()
242 errno = EBADF; in main()
252 errno = EBADF; in main()
266 errno = EBADF; in main()
274 errno = EBADF; in main()
280 errno = EBADF; in main()
Dioctl_rtc.c107 errno = EBADF; in main()
117 errno = EBADF; in main()
157 errno = EBADF; in main()
/external/strace/tests/
Dioctl_evdev.c224 errno = EBADF; in main()
242 errno = EBADF; in main()
252 errno = EBADF; in main()
266 errno = EBADF; in main()
274 errno = EBADF; in main()
280 errno = EBADF; in main()
Dioctl_rtc.c107 errno = EBADF; in main()
117 errno = EBADF; in main()
157 errno = EBADF; in main()
/external/strace/tests-m32/
Dioctl_evdev.c224 errno = EBADF; in main()
242 errno = EBADF; in main()
252 errno = EBADF; in main()
266 errno = EBADF; in main()
274 errno = EBADF; in main()
280 errno = EBADF; in main()
Dioctl_rtc.c107 errno = EBADF; in main()
117 errno = EBADF; in main()
157 errno = EBADF; in main()
Dpreadv2-pwritev2.c206 if (rc != -1 || (ENOSYS != errno && EBADF != errno)) in main()
208 test_dumpio = EBADF == errno; in main()
221 if (rc != -1 || (ENOSYS != errno && EBADF != errno)) in main()
/external/ltp/testcases/kernel/syscalls/lseek/
Dlseek02.c52 {&bad_fd, SEEK_SET, EBADF},
53 {&bad_fd, SEEK_CUR, EBADF},
54 {&bad_fd, SEEK_END, EBADF},
/external/ltp/testcases/kernel/syscalls/splice/
Dsplice03.c67 { &badfd, NULL, &pipes[1], NULL, EBADF },
68 { &pipes[0], NULL, &badfd, NULL, EBADF },
69 { &wrfd, NULL, &pipes[1], NULL, EBADF },
/external/ltp/testcases/kernel/syscalls/io_submit/
Dio_submit01.c72 {&ctx, 1, inv_fd_iocbs, -EBADF, "invalid fd"},
73 {&ctx, 1, rdonly_fd_iocbs, -EBADF, "readonly fd for write"},
74 {&ctx, 1, wronly_fd_iocbs, -EBADF, "writeonly fd for read"},
/external/ltp/testcases/kernel/syscalls/sendfile/
Dsendfile03.c81 "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}
/external/ltp/testcases/kernel/syscalls/pipe/
Dpipe03.c40 if (TST_RET == -1 && errno == EBADF) { in verify_pipe()
49 if (TST_RET == -1 && errno == EBADF) { in verify_pipe()
/external/ltp/testcases/kernel/syscalls/mq_timedreceive/
Dmq_timedreceive01.c75 .err = EBADF,
81 .err = EBADF,
87 .err = EBADF,
/external/u-boot/drivers/mtd/ubi/
Dkapi.c396 return -EBADF; in leb_read_sanity_check()
541 return -EBADF; in ubi_leb_write()
585 return -EBADF; in ubi_leb_change()
621 return -EBADF; in ubi_leb_erase()
681 return -EBADF; in ubi_leb_unmap()
717 return -EBADF; in ubi_leb_map()
752 return -EBADF; in ubi_is_mapped()
/external/ltp/testcases/kernel/syscalls/mq_timedsend/
Dmq_timedsend01.c68 .err = EBADF,
74 .err = EBADF,
80 .err = EBADF,
/external/ltp/testcases/kernel/syscalls/sockioctl/
Dsockioctl01.c84 EBADF, setup0, cleanup0, "bad file descriptor"}
173 if (tdat[testno].experrno == EBADF) { in setup0()
200 if (tdat[testno].experrno != EBADF) { in cleanup0()
/external/ltp/testcases/kernel/syscalls/mq_notify/
Dmq_notify01.c72 .err = EBADF,
78 .err = EBADF,
84 .err = EBADF,
/external/ltp/testcases/kernel/syscalls/vmsplice/
Dvmsplice02.c59 { &notvalidfd, &ivc, 1, EBADF },
60 { &filefd, &ivc, 1, EBADF },
/external/ltp/testcases/kernel/syscalls/pwritev/
Dpwritev02.c76 {&fd3, wr_iovec2, 1, 0, EBADF},
77 {&fd2, wr_iovec2, 1, 0, EBADF},
/external/ltp/testcases/kernel/syscalls/readahead/
Dreadahead01.c59 check_errno(EBADF); in test_bad_fd()
69 check_errno(EBADF); in test_bad_fd()

12345678910>>...13