Home
last modified time | relevance | path

Searched refs:O_FSYNC (Results 1 – 11 of 11) sorted by relevance

/NextBSD/tools/regression/security/cap_test/
HDcap_test_capabilities.c210 ret = openat(dfd_cap, "cap_fsync", O_FSYNC | O_RDONLY); in try_file_ops()
211 CHECK_RESULT(openat(O_FSYNC | O_RDONLY), in try_file_ops()
214 ret = openat(dfd_cap, "cap_fsync", O_FSYNC | O_WRONLY | O_APPEND); in try_file_ops()
215 CHECK_RESULT(openat(O_FSYNC | O_WRONLY | O_APPEND), in try_file_ops()
218 ret = openat(dfd_cap, "cap_fsync", O_FSYNC | O_RDWR | O_APPEND); in try_file_ops()
219 CHECK_RESULT(openat(O_FSYNC | O_RDWR | O_APPEND), in try_file_ops()
271 ret = openat(dfd_cap, "cap_fsync", O_FSYNC | O_WRONLY); in try_file_ops()
272 CHECK_RESULT(openat(O_FSYNC | O_WRONLY), in try_file_ops()
275 ret = openat(dfd_cap, "cap_fsync", O_FSYNC | O_RDWR); in try_file_ops()
276 CHECK_RESULT(openat(O_FSYNC | O_RDWR), in try_file_ops()
/NextBSD/sys/sys/
HDfcntl.h96 #define O_FSYNC 0x0080 /* synchronous writes */ macro
180 #define FFSYNC O_FSYNC /* kernel */
/NextBSD/sys/i386/ibcs2/
HDibcs2_fcntl.c68 if (flags & IBCS2_O_SYNC) r |= O_FSYNC;
146 if (flags & IBCS2_O_SYNC) r |= O_FSYNC;
167 if (flags & O_FSYNC) r |= IBCS2_O_SYNC;
/NextBSD/sbin/ggate/ggatel/
HDggatel.c173 fd = open(path, g_gate_openflags(flags) | O_DIRECT | O_FSYNC); in g_gatel_create()
/NextBSD/sys/compat/svr4/
HDsvr4_fcntl.c112 r |= (l & SVR4_O_SYNC) ? O_FSYNC : 0;
132 r |= (l & O_FSYNC) ? SVR4_O_SYNC : 0;
/NextBSD/contrib/pjdfstest/
HDpjdfstest.c255 #ifdef O_FSYNC
256 { O_FSYNC, "O_FSYNC" },
/NextBSD/sys/compat/linux/
HDlinux_file.c113 bsd_flags |= O_FSYNC; in linux_common_open()
1307 if (result & O_FSYNC) in fcntl_common()
1328 arg |= O_FSYNC; in fcntl_common()
/NextBSD/sys/fs/devfs/
HDdevfs_vnops.c1741 ioflag = fp->f_flag & (O_NONBLOCK | O_DIRECT | O_FSYNC); in devfs_write_f()
1925 CTASSERT(O_FSYNC == IO_SYNC);
/NextBSD/usr.bin/truss/
HDsyscalls.c593 X(O_APPEND) X(O_ASYNC) X(O_FSYNC) X(O_NONBLOCK) X(O_NOFOLLOW)
616 X(O_APPEND) X(O_SHLOCK) X(O_EXLOCK) X(O_ASYNC) X(O_FSYNC)
/NextBSD/sys/kern/
HDvfs_vnops.c856 if ((fp->f_flag & O_FSYNC) ||
HDvfs_syscalls.c909 if (flags & (O_SYNC | O_FSYNC)) in flags_to_rights()