/external/ltp/testcases/kernel/io/direct_io/ |
D | diotest4.c | 79 #ifdef O_DIRECT 220 if ((fd = open(filename, O_DIRECT | O_RDWR | O_CREAT, 0666)) < 0) { in main() 240 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main() 346 if ((newfd = open("/dev/null", O_DIRECT | O_RDWR)) < 0) { in main() 363 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main() 392 if ((fd = open(filename, O_DIRECT | O_WRONLY)) < 0) { in main() 418 if ((fd = open(filename, O_DIRECT | O_RDONLY)) < 0) { in main() 444 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main() 467 if ((fd = open(filename, O_DIRECT | O_RDWR)) < 0) { in main() 512 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/bison/lib/ |
D | fcntl.in.h | 189 #if !defined O_DIRECT && defined O_DIRECTIO 191 # define O_DIRECT O_DIRECTIO 203 #ifndef O_DIRECT 204 # define O_DIRECT 0
|
/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 | 353 source_open_flag |= O_DIRECT; in main() 354 dest_open_flag |= O_DIRECT; in main() 439 if (dest_open_flag & O_DIRECT) { in main() 468 flag = source_open_flag & ~O_DIRECT; in main() 477 ~(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/kernel-headers/original/uapi/asm-generic/ |
D | fcntl.h | 46 #ifndef O_DIRECT 47 #define O_DIRECT 00040000 /* direct disk access hint */ macro
|
/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/bison/linux-lib/ |
D | fcntl.h | 501 #if !defined O_DIRECT && defined O_DIRECTIO 503 # define O_DIRECT O_DIRECTIO macro 515 #ifndef O_DIRECT 516 # define O_DIRECT 0 macro
|
/external/bison/darwin-lib/ |
D | fcntl.h | 501 #if !defined O_DIRECT && defined O_DIRECTIO 503 # define O_DIRECT O_DIRECTIO macro 515 #ifndef O_DIRECT 516 # define O_DIRECT 0 macro
|
/external/fio/examples/ |
D | dev-dax.fio | 27 # not use the O_DIRECT flag because the device is naturally direct 28 # access. The O_DIRECT flags will result in failure. The engine
|
/external/strace/xlat/ |
D | open_mode_flags.h | 48 #if defined(O_DIRECT) || (defined(HAVE_DECL_O_DIRECT) && HAVE_DECL_O_DIRECT) 49 XLAT(O_DIRECT),
|
/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 | 6 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
|
/external/kernel-headers/original/uapi/asm-arm64/asm/ |
D | fcntl.h | 24 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
|
/external/ltp/testcases/kernel/io/aio/aio02/ |
D | aio_tio.c | 201 O_TRUNC | O_DIRECT | O_WRONLY | O_CREAT | O_LARGEFILE, in test_main() 208 status = io_tio("file1", O_RDONLY | O_DIRECT | O_LARGEFILE, in test_main()
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | fcntl.h | 37 #define O_DIRECT 0x8000 /* direct disk access hint */ macro
|