/bionic/libc/kernel/uapi/asm-arm/asm/ |
fcntl.h | 23 #define O_DIRECT 0200000
|
/bionic/libc/kernel/uapi/asm-arm64/asm/ |
fcntl.h | 23 #define O_DIRECT 0200000
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
fcntl.h | 7 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */
|
/external/kernel-headers/original/uapi/asm-arm64/asm/ |
fcntl.h | 25 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */
|
/external/ltp/testcases/kernel/io/disktest/ |
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
|
/external/ltp/testcases/kernel/fs/fsstress/ |
global.h | 62 #ifndef O_DIRECT 63 #define O_DIRECT 040000
|
/external/ltp/testcases/kernel/io/direct_io/ |
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 */
|
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_RDWR)) < 0) [all...] |
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...] |
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...] |
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 is not defined.") [all...] |
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 is not defined.") [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/asm-generic/ |
fcntl.h | 46 #ifndef O_DIRECT 47 #define O_DIRECT 00040000 /* direct disk access hint */
|
/external/autotest/client/tests/aio_dio_bugs/src/ |
aio-dio-invalidate-failure.c | 28 #ifndef O_DIRECT 29 #define O_DIRECT 040000 /* direct disk access hint */ 105 fd = open(argv[1], O_DIRECT|O_CREAT|O_RDWR, 0644);
|
aio-dio-extend-stat.c | 13 #ifndef O_DIRECT 14 #define O_DIRECT 040000 /* direct disk access hint */ 70 handle = open(argv[1], O_CREAT | O_TRUNC | O_DIRECT | O_RDWR, 0600);
|
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);
|
/system/update_engine/payload_consumer/ |
file_descriptor.cc | 102 // Ensure the |fd_| is in O_DIRECT mode during this operation, so the write 110 if ((flags & O_DIRECT) == 0 && fcntl(fd_, F_SETFL, flags | O_DIRECT) == -1) { 111 PLOG(WARNING) << "Couldn't set O_DIRECT on fd " << fd_; 118 if ((flags & O_DIRECT) == 0 && fcntl(fd_, F_SETFL, flags) == -1) { 119 PLOG(WARNING) << "Couldn't remove O_DIRECT on fd " << fd_;
|
/bionic/libc/kernel/uapi/asm-mips/asm/ |
fcntl.h | 33 #define O_DIRECT 0x8000
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
fcntl.h | 38 #define O_DIRECT 0x8000 /* direct disk access hint */
|
/bionic/libc/kernel/uapi/asm-generic/ |
fcntl.h | 50 #ifndef O_DIRECT 51 #define O_DIRECT 00040000
|
/external/kernel-headers/original/uapi/asm-generic/ |
fcntl.h | 47 #ifndef O_DIRECT 48 #define O_DIRECT 00040000 /* direct disk access hint */
|
/external/ltp/testcases/kernel/fs/doio/ |
open_flags.c | 181 #ifdef O_DIRECT 182 {"O_DIRECT", O_DIRECT},
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
dio_truncate.c | 80 while ((fd = open(filename, O_DIRECT | O_RDONLY)) < 0) { 112 fd = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666);
|
/external/strace/xlat/ |
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/ |
fh.c | 102 flags |= O_DIRECT; 112 flags |= O_DIRECT; 122 flags |= O_DIRECT; 132 flags |= O_DIRECT;
|