/external/strace/xlat/ |
D | open_mode_flags.h | 281 #if defined(O_DIRECT) || (defined(HAVE_DECL_O_DIRECT) && HAVE_DECL_O_DIRECT) 283 static_assert((O_DIRECT) == (04000000), "O_DIRECT != 04000000"); 286 # define O_DIRECT 04000000 289 #if defined(O_DIRECT) || (defined(HAVE_DECL_O_DIRECT) && HAVE_DECL_O_DIRECT) 291 static_assert((O_DIRECT) == (0100000), "O_DIRECT != 0100000"); 294 # define O_DIRECT 0100000 297 #if defined(O_DIRECT) || (defined(HAVE_DECL_O_DIRECT) && HAVE_DECL_O_DIRECT) 299 static_assert((O_DIRECT) == (0200000), "O_DIRECT != 0200000"); 302 # define O_DIRECT 0200000 305 #if defined(O_DIRECT) || (defined(HAVE_DECL_O_DIRECT) && HAVE_DECL_O_DIRECT) [all …]
|
D | open_mode_flags.in | 107 O_DIRECT 04000000 109 O_DIRECT 0100000 111 O_DIRECT 0200000 113 O_DIRECT 0400000 115 O_DIRECT 02000000 117 O_DIRECT 040000
|
/external/ltp/testcases/kernel/io/direct_io/ |
D | diotest4.c | 80 #ifdef O_DIRECT 221 if ((fd = open(filename, O_DIRECT | O_RDWR | O_CREAT, 0666)) < 0) { in main() 241 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main() 344 if ((newfd = open("/dev/null", O_DIRECT | O_RDWR)) < 0) { in main() 361 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main() 390 if ((fd = open(filename, O_DIRECT | O_WRONLY)) < 0) { in main() 416 if ((fd = open(filename, O_DIRECT | O_RDONLY)) < 0) { in main() 442 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main() 465 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main() 510 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main() [all …]
|
D | diotest2.c | 63 #ifdef O_DIRECT 185 if ((fd_r = open(filename, O_DIRECT | O_RDONLY, 0666)) < 0) in main() 201 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) == -1) in main() 220 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) == -1) in main() 224 if ((fd_r = open(filename, O_DIRECT | O_RDONLY | O_CREAT, 0666)) == -1) in main() 260 if ((fd1 = open(filename, O_DIRECT, 0600)) == -1) in setup()
|
D | diotest1.c | 48 #ifdef O_DIRECT 122 int fd = open(infile, O_DIRECT | O_RDWR | O_CREAT, 0666); in main() 129 fd1 = SAFE_OPEN(cleanup, infile, O_DIRECT | O_RDWR | O_CREAT, 0666); in main() 130 fd2 = SAFE_OPEN(cleanup, outfile, O_DIRECT | O_RDWR | O_CREAT, 0666); in main()
|
D | diotest3.c | 63 #ifdef O_DIRECT 160 if ((fd_r = open(filename, O_DIRECT | O_RDONLY, 0666)) < 0) { in child_function() 177 open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { in child_function() 198 open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { in child_function() 203 if ((fd_r = open(filename, O_DIRECT | O_RDONLY, 0666)) < 0) { in child_function() 353 if ((fd1 = open(filename, O_DIRECT, 0600)) < 0) in setup()
|
D | diotest5.c | 66 #ifdef O_DIRECT 221 if ((fd_r = open64(filename, O_DIRECT | O_RDONLY | O_CREAT, 0666)) < 0) { in main() 239 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { in main() 260 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { in main() 264 if ((fd_r = open64(filename, O_DIRECT | O_RDONLY | O_CREAT, 0666)) < 0) { in main() 302 if ((fd1 = open(filename, O_DIRECT, 0600)) < 0) { in setup()
|
D | diotest6.c | 54 #ifdef O_DIRECT 185 if ((fd_r = open(filename, O_DIRECT | O_RDONLY, 0666)) < 0) { in child_function() 202 open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { in child_function() 224 open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { in child_function() 229 if ((fd_r = open(filename, O_DIRECT | O_RDONLY, 0666)) < 0) { in child_function() 380 if ((fd1 = open(filename, O_DIRECT, 0600)) < 0) { in setup()
|
/external/ltp/testcases/kernel/fs/fsstress/ |
D | global.h | 62 #ifndef O_DIRECT 63 #define O_DIRECT 040000 macro
|
/external/autotest/client/tests/aio_dio_bugs/src/ |
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); in main()
|
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); in main()
|
/external/ltp/testcases/kernel/io/disktest/ |
D | io.h | 40 #ifndef O_DIRECT 41 #define O_DIRECT 0400000 macro
|
/external/ltp/utils/ffsb-6.0-rc2/ |
D | fh.c | 102 flags |= O_DIRECT; in fhopenread() 112 flags |= O_DIRECT; in fhopenappend() 122 flags |= O_DIRECT; in fhopenwrite() 132 flags |= O_DIRECT; in fhopencreate()
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
D | aiocp.c | 354 source_open_flag |= O_DIRECT; in main() 355 dest_open_flag |= O_DIRECT; in main() 440 if (dest_open_flag & O_DIRECT) { in main() 469 flag = source_open_flag & ~O_DIRECT; in main() 478 ~(O_DIRECT | O_CREAT); in main()
|
D | dio_truncate.c | 80 while ((fd = open(filename, O_DIRECT | O_RDONLY)) < 0) { in dio_read() 112 fd = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666); in dio_append()
|
/external/ltp/testcases/kernel/controllers/io-throttle/ |
D | README | 17 Simple benchmark to generate parallel streams of direct I/O (O_DIRECT). This 19 current working directory, fills it with data using O_DIRECT writes and re-read 20 the whole file always in O_DIRECT mode. Different timestamps are used to
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | fcntl.h | 47 #ifndef O_DIRECT 48 #define O_DIRECT 00040000 /* direct disk access hint */ macro
|
/external/ltp/testcases/kernel/fs/doio/ |
D | open_flags.c | 181 #ifdef O_DIRECT 182 {"O_DIRECT", O_DIRECT},
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
D | fcntl.h | 7 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
|
/external/kernel-headers/original/uapi/asm-arm64/asm/ |
D | fcntl.h | 25 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
|
/external/ltp/testcases/kernel/io/aio/ |
D | aio02.c | 32 DESC_FLAGS_OPR(IO_CMD_PWRITE, O_WRONLY | O_TRUNC | O_DIRECT | O_LARGEFILE | O_CREAT), 35 DESC_FLAGS_OPR(IO_CMD_PREAD, O_RDONLY | O_DIRECT | O_LARGEFILE),
|
/external/e2fsprogs/lib/ext2fs/ |
D | mmp.c | 33 #ifndef O_DIRECT 34 #define O_DIRECT 0 macro 60 fs->mmp_fd = open(fs->device_name, O_RDWR | O_DIRECT); in ext2fs_mmp_read()
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | fcntl.h | 38 #define O_DIRECT 0x8000 /* direct disk access hint */ macro
|
/external/syzkaller/sys/freebsd/ |
D | posix_fs_amd64.const | 7 O_DIRECT = 65536
|
/external/syzkaller/sys/netbsd/ |
D | fs_amd64.const | 8 O_DIRECT = 524288
|