Searched refs:O_DIRECT (Results 1 – 8 of 8) sorted by relevance
36 #ifndef O_DIRECT37 #define O_DIRECT 00040000 /* direct disk access hint */ macro
6 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ macro
260 #ifdef O_DIRECT in set_o_direct()261 int new_flag = O_DIRECT; in set_o_direct()273 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()
266 #ifdef O_DIRECT267 { O_DIRECT, "O_DIRECT" },
1331 tip->ofd = open(path, O_RDWR | O_DIRECT | oflags); in replay_sub()
1717 * Fix O_DIRECT test to prevent badblocks from screwing up after1780 * Badblocks will attempt to use O_DIRECT if it is safe to do so.
3209 Fix bug in badblocks when using O_DIRECT; we need to make sure that3327 honors the -c option, and to use O_DIRECT when possible to avoid