| /rt/ |
| A D | tst-shm.c | 57 if (fd == -1) in worker() 62 if (fd == -1) in worker() 63 exit (fd); in worker() 65 if (fstat64 (fd, &st) == -1) in worker() 116 close (fd); in worker() 125 int fd; in do_test() local 135 if (fd != -1) in do_test() 144 if (fd == -1) in do_test() 162 close (fd); in do_test() 186 close (fd); in do_test() [all …]
|
| A D | tst-aio7.c | 45 int fd = -1; in do_test() local 47 cb.aio_fildes = fd; in do_test() 57 if (aio_cancel (fd, &cb) != -1 || errno != EBADF) in do_test() 73 if (aio_cancel (fd, &cb) != -1 || errno != EBADF) in do_test() 80 int fd = -1; in do_test() local 82 cb.aio_fildes = fd; in do_test() 103 int i, r, fd; in do_test() local 110 fd = mkstemp (name); in do_test() 111 if (fd < 0) in do_test() 117 if (write (fd, "01234567", BYTES) != BYTES) in do_test() [all …]
|
| A D | tst-aio64.c | 43 int fd; variable 56 fd = mkstemp (name); in do_prepare() 57 if (fd == -1) in do_prepare() 70 if (fstat (fd, &st) < 0) in test_file() 150 cbs[cnt].aio_fildes = fd; in do_test() 196 if (ftruncate64 (fd, 0) < 0) in do_test() 214 cbs_fsync.aio_fildes = fd; in do_test() 219 if (ftruncate64 (fd, 0) < 0) in do_test() 241 if (ftruncate64 (fd, 0) < 0) in do_test() 252 if (aio_cancel64 (fd, NULL) == -1) in do_test() [all …]
|
| A D | tst-aio.c | 42 int fd; variable 55 fd = mkstemp (name); in do_prepare() 56 if (fd == -1) in do_prepare() 69 if (fstat (fd, &st) < 0) in test_file() 149 cbs[cnt].aio_fildes = fd; in do_test() 195 if (ftruncate (fd, 0) < 0) in do_test() 213 cbs_fsync.aio_fildes = fd; in do_test() 218 if (ftruncate (fd, 0) < 0) in do_test() 240 if (ftruncate (fd, 0) < 0) in do_test() 251 if (aio_cancel (fd, NULL) == -1) in do_test() [all …]
|
| A D | shm_open.c | 40 int fd = __open64_nocancel (dirname.name, oflag, mode); in __shm_open() local 41 if (fd == -1 && __glibc_unlikely (errno == EISDIR)) in __shm_open() 47 return fd; in __shm_open()
|
| A D | tst-aio8.c | 11 int fd = open ("/dev/full", O_RDWR); in do_test() local 12 if (fd == -1) in do_test() 19 req.aio_fildes = fd; in do_test()
|
| A D | tst-aio2.c | 47 int fd; in do_test() local 52 fd = mkstemp (name); in do_test() 53 if (fd == -1) in do_test() 69 cb.aio_fildes = fd; in do_test()
|
| A D | tst-aio3.c | 46 int fd; in do_test() local 51 fd = mkstemp (name); in do_test() 52 if (fd == -1) in do_test() 68 cb.aio_fildes = fd; in do_test()
|
| A D | tst-aio5.c | 60 int fd; in do_test() local 66 fd = mkstemp (name); in do_test() 67 if (fd == -1) in do_test() 77 cb.aio_fildes = fd; in do_test()
|
| A D | tst-aio6.c | 36 int fd[2]; in do_test() local 39 if (pipe (fd) != 0) in do_test() 47 cb.aio_fildes = fd[0]; in do_test()
|
| A D | tst-aio4.c | 64 int fd; in do_test() local 81 fd = mkstemp (name); in do_test() 82 if (fd == -1) in do_test() 95 cb.aio_fildes = fd; in do_test()
|
| A D | tst-shm-cancel.c | 65 int fd = shm_open (shm_name, O_CREAT, 0600); in tf() local 66 if (fd == -1) in tf() 82 if (close (fd) != 0) in tf()
|
| A D | tst-mqueue3.c | 98 int fd = mkstemp (tmpfname); in do_test() local 99 if (fd == -1) in do_test() 114 if (write (fd, data, ps) != (ssize_t) ps) in do_test() 120 void *mem = mmap (NULL, ps, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in do_test()
|
| A D | tst-mqueue5.c | 558 int fd = mkstemp (tmpfname); in do_test() local 559 if (fd == -1) in do_test() 574 if (write (fd, data, ps) != (ssize_t) ps) in do_test() 580 void *mem = mmap (NULL, ps, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in do_test()
|