Searched refs:O_DIRECT (Results 1 – 15 of 15) sorted by relevance
189 #if !defined O_DIRECT && defined O_DIRECTIO191 # define O_DIRECT O_DIRECTIO203 #ifndef O_DIRECT204 # define O_DIRECT 0
46 #ifndef O_DIRECT47 #define O_DIRECT 00040000 /* direct disk access hint */ macro
501 #if !defined O_DIRECT && defined O_DIRECTIO503 # define O_DIRECT O_DIRECTIO macro515 #ifndef O_DIRECT516 # define O_DIRECT 0 macro
6 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
21 #define O_DIRECT 0x8000 /* direct disk access hint */ macro
263 #ifdef O_DIRECT in set_o_direct()264 int new_flag = O_DIRECT; in set_o_direct()276 flag = (flag & ~O_DIRECT) | new_flag; in set_o_direct()
91 #ifndef O_DIRECT92 #define O_DIRECT O_DSYNC macro147 s->open_flags |= O_DIRECT; in raw_open_common()
119 #if !defined(O_DIRECT)122 #define O_DIRECT 0 macro1605 int fd = open(filename_.c_str(), flags | O_DIRECT, 0644); in OpenFile()1606 if (O_DIRECT != 0 && fd < 0 && errno == EINVAL) { in OpenFile()2702 int fd = open(device_name_.c_str(), flags | O_DIRECT, 0); in OpenDevice()2703 if (O_DIRECT != 0 && fd < 0 && errno == EINVAL) { in OpenDevice()
104 O_APPEND | O_ASYNC | O_CLOEXEC | O_CREAT | O_DIRECT | in IsAllowedOpenFlags()
468 #if !defined(O_DIRECT) && defined(F_NOCACHE) in unix_open()471 open_flags |= O_DIRECT; in unix_open()
301 #ifdef O_DIRECT302 { O_DIRECT, "O_DIRECT" },
1331 tip->ofd = open(path, O_RDWR | O_DIRECT | oflags); in replay_sub()
1830 * Fix O_DIRECT test to prevent badblocks from screwing up after1893 * Badblocks will attempt to use O_DIRECT if it is safe to do so.
3493 Fix bug in badblocks when using O_DIRECT; we need to make sure that3611 honors the -c option, and to use O_DIRECT when possible to avoid