Searched refs:O_SYNC (Results 1 – 16 of 16) sorted by relevance
82 testdd = open(dirpath, O_RDONLY|O_RSYNC|O_SYNC|O_DSYNC); in main()92 int fd = open(dirpath, O_RDONLY|O_RSYNC|O_SYNC|O_DSYNC); in main()
34 #define FSYNC O_SYNC
50 #define O_DSYNC O_SYNC
154 ci->cd[core].msr_fd = open(proc_file, O_RDWR | O_SYNC); in add_core_to_monitor()220 ci->cd[core].msr_fd = open(proc_file, O_RDWR | O_SYNC); in remove_core_from_monitor()
234 zio->io_error = zfs_file_fsync(vf->vf_file, O_SYNC | O_DSYNC); in vdev_file_io_fsync()274 O_SYNC | O_DSYNC); in vdev_file_io_start()
202 flags |= O_SYNC; in zfs_io_flags()
214 if (flag & O_SYNC) in zfs_open()232 if (flag & O_SYNC) in zfs_close()
100 #define O_SYNC 0x0080 /* POSIX synonym for O_FSYNC */ macro
190 oflag = oflag | O_SYNC; in main()
174 (void) zfs_file_fsync(fp, O_SYNC); in spa_config_remove()219 err = zfs_file_fsync(fp, O_SYNC); in spa_config_write()
556 else if (ioflag & (O_SYNC | O_DSYNC)) in zfs_log_write()613 if (!(ioflag & (O_SYNC | O_DSYNC)) && (zp->z_sync_cnt == 0) && in zfs_log_write()
681 if (ioflag & (O_SYNC | O_DSYNC) || in zfs_write()
259 O_SYNC|O_DSYNC); in vdev_file_io_start()
165 # PERF_SYNC_TYPES: Whether to use (O_SYNC) or not. 1 is sync IO, 0 is async IO.
2592 case O_SYNC: in kern_aio_fsync()
1051 if (flags & (O_SYNC | O_FSYNC)) in flags_to_rights()