Searched refs:O_SYNC (Results 1 - 22 of 22) sorted by relevance
/freebsd-12-stable/contrib/tcsh/ |
H A D | dotlock.c | 29 #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 D | dir_rd_update.c | 81 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 D | file_write.c | 169 oflag = oflag | O_SYNC;
|
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/ |
H A D | tst.fds.c | 85 O_NOCTTY | O_NONBLOCK | O_NDELAY | O_SYNC | O_TRUNC | 0666);
|
/freebsd-12-stable/lib/libc/db/db/ |
H A D | db.c | 60 O_RDONLY | O_RDWR | O_SHLOCK | O_SYNC | O_TRUNC | O_CLOEXEC)
|
/freebsd-12-stable/tools/regression/security/cap_test/ |
H A D | cap_test_capabilities.c | 222 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 D | mktemp.c | 121 (oflags & ~(O_APPEND | O_DIRECT | O_SHLOCK | O_EXLOCK | O_SYNC |
|
/freebsd-12-stable/lib/libc/tests/stdio/ |
H A D | mkostemp_test.c | 49 #define MISCFLAGS (O_APPEND | O_DIRECT | O_SHLOCK | O_EXLOCK | O_SYNC)
|
/freebsd-12-stable/cddl/lib/libdtrace/ |
H A D | io.d | 110 inline int O_SYNC = 0x0080; 111 #pragma D binding "1.1" O_SYNC
|
/freebsd-12-stable/sys/sys/ |
H A D | fcntl.h | 100 #define O_SYNC 0x0080 /* POSIX synonym for O_FSYNC */ macro
|
/freebsd-12-stable/tests/sys/fs/fusefs/ |
H A D | fsyncdir.cc | 108 ASSERT_EQ(0, aio_fsync(O_SYNC, &iocb)) << strerror(errno);
|
H A D | fsync.cc | 118 ASSERT_EQ(0, aio_fsync(O_SYNC, &iocb)) << strerror(errno);
|
/freebsd-12-stable/sys/compat/cloudabi/ |
H A D | cloudabi_fd.c | 406 if (oflags & O_SYNC) 456 oflags |= O_SYNC;
|
H A D | cloudabi_file.c | 246 fflags |= O_SYNC;
|
/freebsd-12-stable/contrib/netbsd-tests/fs/vfs/ |
H A D | t_io.c | 235 RL(fd = rump_sys_open("file", O_RDONLY | O_SYNC | O_RSYNC));
|
/freebsd-12-stable/contrib/pjdfstest/ |
H A D | pjdfstest.c | 317 #ifdef O_SYNC 318 { O_SYNC, "O_SYNC" },
|
/freebsd-12-stable/tests/sys/aio/ |
H A D | aio_test.c | 1058 /* 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 D | block_if.c | 461 extra |= O_SYNC;
|
/freebsd-12-stable/contrib/sendmail/src/ |
H A D | conf.c | 2020 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 D | vfs_aio.c | 2471 if (op != O_SYNC) /* XXX lack of O_DSYNC */
|
H A D | vfs_syscalls.c | 1021 if (flags & (O_SYNC | O_FSYNC))
|
/freebsd-12-stable/lib/libprocstat/ |
H A D | libprocstat.c | 1623 { O_SYNC, PS_FST_FFLAG_SYNC },
|
Completed in 295 milliseconds