Searched defs:O_DIRECT (Results 1 - 7 of 7) sorted by relevance

/external/kernel-headers/original/asm-arm/
H A Dfcntl.h6 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
/external/kernel-headers/original/asm-mips/
H A Dfcntl.h21 #define O_DIRECT 0x8000 /* direct disk access hint */ macro
/external/bison/darwin-lib/
H A Dfcntl.h501 #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/linux-lib/
H A Dfcntl.h501 #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/kernel-headers/original/asm-generic/
H A Dfcntl.h46 #ifndef O_DIRECT
47 #define O_DIRECT 00040000 /* direct disk access hint */ macro
/external/qemu/block/
H A Draw-posix.c90 /* Approximate O_DIRECT with O_DSYNC if O_DIRECT isn't available */
91 #ifndef O_DIRECT
92 #define O_DIRECT O_DSYNC macro
145 * and O_DIRECT for no caching. */
147 s->open_flags |= O_DIRECT;
228 * opened with O_DIRECT. buf must be aligned to 512 bytes then.
231 * that O_DIRECT is not in effect.
281 * opened with O_DIRECT. buf must be aligned to 512 bytes then.
284 * that O_DIRECT i
[all...]
/external/stressapptest/src/
H A Dworker.cc119 #if !defined(O_DIRECT)
122 #define O_DIRECT 0 macro
1605 int fd = open(filename_.c_str(), flags | O_DIRECT, 0644);
1606 if (O_DIRECT != 0 && fd < 0 && errno == EINVAL) {
1608 fd = open(filename_.c_str(), flags, 0644); // Try without O_DIRECT
1617 os_->ActivateFlushPageCache(); // Not using O_DIRECT fixed EINVAL
1688 return os_->FlushPageCache(); // If O_DIRECT worked, this will be a NOP.
2702 int fd = open(device_name_.c_str(), flags | O_DIRECT, 0);
2703 if (O_DIRECT != 0 && fd < 0 && errno == EINVAL) {
2705 fd = open(device_name_.c_str(), flags, 0); // Try without O_DIRECT
[all...]

Completed in 242 milliseconds