O_SYNC
extra |= O_SYNC;
oflag |= O_SYNC;
O_SYNC | O_TRUNC | O_XATTR);
oflags &= ~O_SYNC;
return (fmd_log_xopen(root, name, tag, O_RDWR | O_SYNC));
return (fmd_log_xopen(root, name, tag, O_RDWR | O_CREAT | O_SYNC));
O_SYNC | O_DSYNC | O_RSYNC | O_XATTR | \
if (flags & O_SYNC)
afd = open(_PATH_AVENRUN, O_RDONLY|O_SYNC);
# ifdef O_SYNC
return fcntl(fd, F_SETFL, O_SYNC);
mapfd = open(ondiskname, O_RDWR|O_CREAT|O_SYNC, S_IRUSR | S_IWUSR);
(O_NDELAY|O_APPEND|O_SYNC|O_DSYNC|O_NONBLOCK|O_CREAT|O_TRUNC\
if (arg & O_SYNC)
#if defined(O_SYNC)
| O_SYNC
} else if (arg->offset == O_SYNC) {
if (op != O_DSYNC && op != O_SYNC) {
if (op != O_DSYNC && op != O_SYNC) {
return (di_dli_open(path, O_RDWR | O_SYNC | O_TRUNC | O_CREAT,
if (flag & O_SYNC) {
if (!oclo_pipe2("pipe2(): O_SYNC|O_CLOXEC", O_SYNC | O_CLOEXEC)) {
testdd = open(dirpath, O_RDONLY|O_RSYNC|O_SYNC|O_DSYNC);
int fd = open(dirpath, O_RDONLY|O_RSYNC|O_SYNC|O_DSYNC);
oflag = oflag | O_SYNC;
if ((fd = open(fname, O_LARGEFILE | O_RDWR | O_CREAT | O_SYNC,