/external/kernel-headers/original/uapi/asm-arm/asm/ |
H A D | fcntl.h | 7 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
|
/external/kernel-headers/original/uapi/asm-arm64/asm/ |
H A D | fcntl.h | 25 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
|
/external/ltp/testcases/kernel/io/disktest/ |
H A D | io.h | 39 /* for linux on power 2.4 O_DIRECT is only defined in asm/fcntl.h */ 40 #ifndef O_DIRECT 41 #define O_DIRECT 0400000 macro
|
/external/ltp/testcases/kernel/fs/fsstress/ |
H A D | global.h | 62 #ifndef O_DIRECT 63 #define O_DIRECT 040000 macro
|
/external/ltp/testcases/kernel/io/direct_io/ |
H A D | diotest1.c | 48 #ifdef O_DIRECT 121 /* Test for filesystem support of O_DIRECT */ 122 int fd = open(infile, O_DIRECT | O_RDWR | O_CREAT, 0666); 125 tst_brkm(TCONF, cleanup, "O_DIRECT not supported by FS"); 129 fd1 = SAFE_OPEN(cleanup, infile, O_DIRECT | O_RDWR | O_CREAT, 0666); 130 fd2 = SAFE_OPEN(cleanup, outfile, O_DIRECT | O_RDWR | O_CREAT, 0666); 168 #else /* O_DIRECT */ 172 tst_brkm(TCONF, NULL, "O_DIRECT is not defined."); 174 #endif /* O_DIRECT */
|
H A D | diotest4.c | 80 #ifdef O_DIRECT 221 if ((fd = open(filename, O_DIRECT | O_RDWR | O_CREAT, 0666)) < 0) { 241 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { 344 if ((newfd = open("/dev/null", O_DIRECT | O_RDWR)) < 0) { 361 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { 390 if ((fd = open(filename, O_DIRECT | O_WRONLY)) < 0) { 416 if ((fd = open(filename, O_DIRECT | O_RDONLY)) < 0) { 442 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { 465 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { 510 if ((fd = open(filename, O_DIRECT | O_RDW [all...] |
H A D | diotest2.c | 63 #ifdef O_DIRECT 185 if ((fd_r = open(filename, O_DIRECT | O_RDONLY, 0666)) < 0) 187 "open(%s, O_DIRECT|O_RDONLY..) failed", filename); 201 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) == -1) 203 "open(%s, O_DIRECT|O_WRONLY..) failed", filename); 220 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) == -1) 222 "open(%s, O_DIRECT|O_WRONLY|O_CREAT, ..) failed", 224 if ((fd_r = open(filename, O_DIRECT | O_RDONLY | O_CREAT, 0666)) == -1) 226 "open(%s, O_DIRECT|O_RDONLY|O_CREAT, ..) failed", 259 /* Test for filesystem support of O_DIRECT */ [all...] |
H A D | diotest3.c | 63 #ifdef O_DIRECT 160 if ((fd_r = open(filename, O_DIRECT | O_RDONLY, 0666)) < 0) { 162 "open(%s, O_DIRECT|O_RDONLY, ..) failed", 177 open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { 198 open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { 203 if ((fd_r = open(filename, O_DIRECT | O_RDONLY, 0666)) < 0) { 352 /* Test for filesystem support of O_DIRECT */ 353 if ((fd1 = open(filename, O_DIRECT, 0600)) < 0) 354 tst_brkm(TCONF, cleanup, "open(%s, O_DIRECT, ..) failed", 367 #else /* O_DIRECT */ [all...] |
H A D | diotest5.c | 66 #ifdef O_DIRECT 221 if ((fd_r = open64(filename, O_DIRECT | O_RDONLY | O_CREAT, 0666)) < 0) { 239 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { 260 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { 264 if ((fd_r = open64(filename, O_DIRECT | O_RDONLY | O_CREAT, 0666)) < 0) { 301 /* Test for filesystem support of O_DIRECT */ 302 if ((fd1 = open(filename, O_DIRECT, 0600)) < 0) { 304 "O_DIRECT is not supported by this filesystem. %s", 318 #else /* O_DIRECT */ 323 tst_resm(TCONF, "O_DIRECT i [all...] |
H A D | diotest6.c | 54 #ifdef O_DIRECT 185 if ((fd_r = open(filename, O_DIRECT | O_RDONLY, 0666)) < 0) { 202 open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { 224 open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { 229 if ((fd_r = open(filename, O_DIRECT | O_RDONLY, 0666)) < 0) { 379 /* Test for filesystem support of O_DIRECT */ 380 if ((fd1 = open(filename, O_DIRECT, 0600)) < 0) { 382 "O_DIRECT is not supported by this filesystem. %s", 396 #else /* O_DIRECT */ 400 tst_brkm(TCONF, NULL, "O_DIRECT i [all...] |
/external/autotest/client/tests/aio_dio_bugs/src/ |
H A D | aio-dio-invalidate-failure.c | 28 #ifndef O_DIRECT 29 #define O_DIRECT 040000 /* direct disk access hint */ macro 105 fd = open(argv[1], O_DIRECT|O_CREAT|O_RDWR, 0644);
|
H A D | aio-dio-extend-stat.c | 13 #ifndef O_DIRECT 14 #define O_DIRECT 040000 /* direct disk access hint */ macro 70 handle = open(argv[1], O_CREAT | O_TRUNC | O_DIRECT | O_RDWR, 0600);
|
H A D | aio-dio-subblock-eof-read.c | 8 * read of the last block in a file opened with O_DIRECT returns the proper 50 fd = open(filename, O_CREAT|O_RDWR|O_DIRECT, 0600);
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
H A D | fcntl.h | 38 #define O_DIRECT 0x8000 /* direct disk access hint */ macro
|
/external/kernel-headers/original/uapi/asm-generic/ |
H A D | fcntl.h | 47 #ifndef O_DIRECT 48 #define O_DIRECT 00040000 /* direct disk access hint */ macro
|
/external/ltp/testcases/kernel/fs/doio/ |
H A D | open_flags.c | 181 #ifdef O_DIRECT 182 {"O_DIRECT", O_DIRECT},
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
H A D | dio_truncate.c | 80 while ((fd = open(filename, O_DIRECT | O_RDONLY)) < 0) { 112 fd = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666);
|
H A D | dio_append.c | 29 * dio_append - append zeroed data to a file using O_DIRECT while 85 fd = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666);
|
/external/strace/xlat/ |
H A D | open_mode_flags.h | 50 #if defined(O_DIRECT) || (defined(HAVE_DECL_O_DIRECT) && HAVE_DECL_O_DIRECT) 51 XLAT(O_DIRECT),
|
/external/ltp/utils/ffsb-6.0-rc2/ |
H A D | fh.c | 102 flags |= O_DIRECT; 112 flags |= O_DIRECT; 122 flags |= O_DIRECT; 132 flags |= O_DIRECT;
|
/external/ltp/testcases/kernel/io/aio/aio02/ |
H A D | aio_tio.c | 201 O_TRUNC | O_DIRECT | O_WRONLY | O_CREAT | O_LARGEFILE, 208 status = io_tio("file1", O_RDONLY | O_DIRECT | O_LARGEFILE,
|
/external/ltp/testcases/kernel/syscalls/read/ |
H A D | read02.c | 34 * The file was opened with the O_DIRECT flag, and transfer sizes was not 39 * The file was opened with the O_DIRECT flag, and the alignment of the 80 tst_res(TCONF, "O_DIRECT not supported on %s filesystem", 89 "O_DIRECT unaligned reads fallbacks to buffered I/O"); 124 fd4 = SAFE_OPEN("test_file", O_RDWR | O_DIRECT);
|
/external/strace/tests/ |
H A D | openat.c | 86 { ARG_STR(O_DIRECT) },
|
/external/strace/tests-m32/ |
H A D | openat.c | 86 { ARG_STR(O_DIRECT) },
|
/external/strace/tests-mx32/ |
H A D | openat.c | 86 { ARG_STR(O_DIRECT) },
|