Searched refs:O_FSYNC (Results 1 – 10 of 10) sorted by relevance
/freebsd/tools/regression/security/cap_test/ |
H A D | cap_test_capabilities.c | 207 ret = openat(dfd_cap, "cap_fsync", O_FSYNC | O_RDONLY); in try_file_ops() 208 CHECK_RESULT(openat(O_FSYNC | O_RDONLY), in try_file_ops() 211 ret = openat(dfd_cap, "cap_fsync", O_FSYNC | O_WRONLY | O_APPEND); in try_file_ops() 212 CHECK_RESULT(openat(O_FSYNC | O_WRONLY | O_APPEND), in try_file_ops() 215 ret = openat(dfd_cap, "cap_fsync", O_FSYNC | O_RDWR | O_APPEND); in try_file_ops() 216 CHECK_RESULT(openat(O_FSYNC | O_RDWR | O_APPEND), in try_file_ops() 268 ret = openat(dfd_cap, "cap_fsync", O_FSYNC | O_WRONLY); in try_file_ops() 269 CHECK_RESULT(openat(O_FSYNC | O_WRONLY), in try_file_ops() 272 ret = openat(dfd_cap, "cap_fsync", O_FSYNC | O_RDWR); in try_file_ops() 273 CHECK_RESULT(openat(O_FSYNC | O_RDWR), in try_file_ops()
|
/freebsd/sys/sys/ |
H A D | fcntl.h | 95 #define O_FSYNC 0x0080 /* synchronous writes */ macro 192 #define FFSYNC O_FSYNC /* kernel */
|
/freebsd/bin/dd/ |
H A D | dd.c | 173 oflags |= O_FSYNC; in setup() 182 oflags |= O_FSYNC; in setup()
|
/freebsd/contrib/capsicum-test/ |
H A D | capability-fd.cc | 715 rc = openat(dfd_cap, "cap_fsync", O_FSYNC | O_RDONLY); in TryDirOps() 720 rc = openat(dfd_cap, "cap_fsync", O_FSYNC | O_WRONLY | O_APPEND); in TryDirOps() 725 rc = openat(dfd_cap, "cap_fsync", O_FSYNC | O_RDWR | O_APPEND); in TryDirOps() 783 rc = openat(dfd_cap, "cap_fsync", O_FSYNC | O_WRONLY); in TryDirOps() 789 rc = openat(dfd_cap, "cap_fsync", O_FSYNC | O_RDWR); in TryDirOps()
|
/freebsd/sbin/ggate/ggatel/ |
H A D | ggatel.c | 179 fd = open(path, g_gate_openflags(flags) | O_DIRECT | O_FSYNC); in g_gatel_create()
|
/freebsd/contrib/pjdfstest/ |
H A D | pjdfstest.c | 314 #ifdef O_FSYNC 315 { O_FSYNC, "O_FSYNC" },
|
/freebsd/sys/compat/linux/ |
H A D | linux_file.c | 128 bsd_flags |= O_FSYNC; in linux_common_openflags() 1340 if (result & O_FSYNC) in fcntl_common() 1361 arg |= O_FSYNC; in fcntl_common()
|
/freebsd/sys/fs/devfs/ |
H A D | devfs_vnops.c | 1933 ioflag = fp->f_flag & (O_NONBLOCK | O_DIRECT | O_FSYNC); in devfs_write_f() 2141 CTASSERT(O_FSYNC == IO_SYNC);
|
/freebsd/sys/kern/ |
H A D | vfs_vnops.c | 945 if ((fp->f_flag & O_FSYNC) != 0 || in get_write_ioflag() 1655 error = vn_truncate_locked(vp, length, (fp->f_flag & O_FSYNC) != 0, in vn_truncate()
|
H A D | vfs_syscalls.c | 1110 if (flags & (O_SYNC | O_FSYNC)) in flags_to_rights()
|