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
202 #ifdef O_DIRECT in set_o_direct()203 int new_flag = O_DIRECT; in set_o_direct()215 flag = (flag & ~O_DIRECT) | new_flag; in set_o_direct()
88 #ifndef O_DIRECT89 #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()
1059 * Fix O_DIRECT test to prevent badblocks from screwing up after1122 * Badblocks will attempt to use O_DIRECT if it is safe to do so.
1773 Fix bug in badblocks when using O_DIRECT; we need to make sure that1891 honors the -c option, and to use O_DIRECT when possible to avoid