Lines Matching refs:DDIR_WRITE
432 ddir = is_random ? DDIR_WRITE: DDIR_READ;
531 return DDIR_WRITE;
619 !(td->io_issues[DDIR_WRITE] % td->o.fsync_blocks) &&
620 td->io_issues[DDIR_WRITE] && should_fsync(td))
627 !(td->io_issues[DDIR_WRITE] % td->o.fdatasync_blocks) &&
628 td->io_issues[DDIR_WRITE] && should_fsync(td))
635 !(td->io_issues[DDIR_WRITE] % td->sync_file_range_nr) &&
636 td->io_issues[DDIR_WRITE] && should_fsync(td))
660 ddir = DDIR_WRITE;
672 if (io_u->ddir == DDIR_WRITE && (td->io_ops->flags & FIO_BARRIER) &&
674 !(td->io_issues[DDIR_WRITE] % td->o.barrier_blocks) &&
675 td->io_issues[DDIR_WRITE])
1487 if (io_u->ddir == DDIR_WRITE) {
1664 if (idx == DDIR_WRITE) {