Searched refs:O_SYNC (Results 1 - 22 of 22) sorted by relevance

/freebsd-12-stable/contrib/tcsh/
H A Ddotlock.c29 #ifndef O_SYNC
30 #define O_SYNC 0 macro
79 fd = open(path, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL|O_SYNC, 0);
/freebsd-12-stable/tests/sys/cddl/zfs/bin/
H A Ddir_rd_update.c81 testdd = open(dirpath, O_RDONLY|O_SYNC);
84 "%s: open(<%s>, O_RDONLY|O_SYNC) failed: errno (decimal)=%d\n",
92 int fd = open(dirpath, O_RDONLY|O_SYNC);
H A Dfile_write.c169 oflag = oflag | O_SYNC;
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c85 O_NOCTTY | O_NONBLOCK | O_NDELAY | O_SYNC | O_TRUNC | 0666);
/freebsd-12-stable/lib/libc/db/db/
H A Ddb.c60 O_RDONLY | O_RDWR | O_SHLOCK | O_SYNC | O_TRUNC | O_CLOEXEC)
/freebsd-12-stable/tools/regression/security/cap_test/
H A Dcap_test_capabilities.c222 ret = openat(dfd_cap, "cap_fsync", O_SYNC | O_RDONLY);
223 CHECK_RESULT(openat(O_SYNC | O_RDONLY),
226 ret = openat(dfd_cap, "cap_fsync", O_SYNC | O_WRONLY | O_APPEND);
227 CHECK_RESULT(openat(O_SYNC | O_WRONLY | O_APPEND),
230 ret = openat(dfd_cap, "cap_fsync", O_SYNC | O_RDWR | O_APPEND);
231 CHECK_RESULT(openat(O_SYNC | O_RDWR | O_APPEND),
279 ret = openat(dfd_cap, "cap_fsync", O_SYNC | O_WRONLY);
280 CHECK_RESULT(openat(O_SYNC | O_WRONLY),
283 ret = openat(dfd_cap, "cap_fsync", O_SYNC | O_RDWR);
284 CHECK_RESULT(openat(O_SYNC | O_RDW
[all...]
/freebsd-12-stable/lib/libc/stdio/
H A Dmktemp.c121 (oflags & ~(O_APPEND | O_DIRECT | O_SHLOCK | O_EXLOCK | O_SYNC |
/freebsd-12-stable/lib/libc/tests/stdio/
H A Dmkostemp_test.c49 #define MISCFLAGS (O_APPEND | O_DIRECT | O_SHLOCK | O_EXLOCK | O_SYNC)
/freebsd-12-stable/cddl/lib/libdtrace/
H A Dio.d110 inline int O_SYNC = 0x0080;
111 #pragma D binding "1.1" O_SYNC
/freebsd-12-stable/sys/sys/
H A Dfcntl.h100 #define O_SYNC 0x0080 /* POSIX synonym for O_FSYNC */ macro
/freebsd-12-stable/tests/sys/fs/fusefs/
H A Dfsyncdir.cc108 ASSERT_EQ(0, aio_fsync(O_SYNC, &iocb)) << strerror(errno);
H A Dfsync.cc118 ASSERT_EQ(0, aio_fsync(O_SYNC, &iocb)) << strerror(errno);
/freebsd-12-stable/sys/compat/cloudabi/
H A Dcloudabi_fd.c406 if (oflags & O_SYNC)
456 oflags |= O_SYNC;
H A Dcloudabi_file.c246 fflags |= O_SYNC;
/freebsd-12-stable/contrib/netbsd-tests/fs/vfs/
H A Dt_io.c235 RL(fd = rump_sys_open("file", O_RDONLY | O_SYNC | O_RSYNC));
/freebsd-12-stable/contrib/pjdfstest/
H A Dpjdfstest.c317 #ifdef O_SYNC
318 { O_SYNC, "O_SYNC" },
/freebsd-12-stable/tests/sys/aio/
H A Daio_test.c1058 /* aio_fsync should return EINVAL unless op is O_SYNC */
1067 ATF_CHECK_EQ(-1, aio_fsync(O_SYNC, &iocb));
1127 ATF_REQUIRE(aio_fsync(O_SYNC, &synccb) == 0);
/freebsd-12-stable/usr.sbin/bhyve/
H A Dblock_if.c461 extra |= O_SYNC;
/freebsd-12-stable/contrib/sendmail/src/
H A Dconf.c2020 afd = open(_PATH_AVENRUN, O_RDONLY|O_SYNC);
3010 # ifdef O_SYNC
3011 return fcntl(fd, F_SETFL, O_SYNC);
/freebsd-12-stable/sys/kern/
H A Dvfs_aio.c2471 if (op != O_SYNC) /* XXX lack of O_DSYNC */
H A Dvfs_syscalls.c1021 if (flags & (O_SYNC | O_FSYNC))
/freebsd-12-stable/lib/libprocstat/
H A Dlibprocstat.c1623 { O_SYNC, PS_FST_FFLAG_SYNC },

Completed in 295 milliseconds