O_DSYNC
flags |= O_DSYNC;
flags &= ~O_DSYNC;
flags |= O_DSYNC;
oflag |= O_DSYNC;
fds[n++] = open(file, O_RDWR | O_APPEND | O_CREAT | O_DSYNC |
if ((fd = open64(dumpdev, O_RDWR | O_DSYNC)) == -1) {
if ((fd = open(filename, O_RDWR|O_CREAT|O_DSYNC, mode)) < 0) {
if ((fd = open(filename, O_RDWR|O_CREAT|O_DSYNC, mode)) < 0) {
O_WRONLY | O_CREAT | O_TRUNC | O_DSYNC,
O_WRONLY | O_CREAT | O_TRUNC | O_DSYNC,
O_SYNC | O_DSYNC | O_RSYNC | O_XATTR | \
if (flags & O_DSYNC)
dumpfd = Open(dumpfile, O_RDWR | O_DSYNC, 0644);
dumpfd = Open(dumpfile, O_RDWR | O_DSYNC, 0644);
dumpfd = Open(dumpfile, O_RDWR | O_DSYNC, 0644);
(O_NDELAY|O_APPEND|O_SYNC|O_DSYNC|O_NONBLOCK|O_CREAT|O_TRUNC\
if (arg & O_DSYNC)
if (op != O_DSYNC && op != O_SYNC) {
if (op == O_DSYNC)
if (op != O_DSYNC && op != O_SYNC) {
if (op == O_DSYNC)
if ((fdl = open(LASTLOG, O_RDWR|O_CREAT|O_DSYNC, 0444)) >= 0) {
if (flag & O_DSYNC) {
testdd = open(dirpath, O_RDONLY|O_RSYNC|O_SYNC|O_DSYNC);
int fd = open(dirpath, O_RDONLY|O_RSYNC|O_SYNC|O_DSYNC);