Lines Matching refs:DDIR_WRITE
235 if (bytes_done[DDIR_WRITE])
236 ret |= __check_min_rate(td, now, DDIR_WRITE);
512 } else if (io_u->ddir == DDIR_WRITE) {
651 bytes = td->this_io_bytes[DDIR_READ] + td->this_io_bytes[DDIR_WRITE];
653 bytes = td->this_io_bytes[DDIR_WRITE];
772 if (td_write(td) && io_u->ddir == DDIR_WRITE &&
817 __should_check_rate(td, DDIR_WRITE) ||
870 __should_check_rate(td, DDIR_WRITE) ||
956 return bytes_done[DDIR_WRITE] + bytes_done[DDIR_TRIM];
988 min_write = td->o.min_bs[DDIR_WRITE];
1241 if (td_write(td) && io_u->ddir == DDIR_WRITE &&
1251 return bytes_done[DDIR_WRITE] + bytes_done[DDIR_TRIM];
1464 if (o->ratemin[DDIR_READ] || o->ratemin[DDIR_WRITE] ||
1468 memcpy(&td->lastrate[DDIR_WRITE], &td->bw_sample_time,
1490 if (td_write(td) && td->io_bytes[DDIR_WRITE]) {
1492 td->ts.runtime[DDIR_WRITE] += elapsed;
1521 td->ts.runtime[DDIR_WRITE] = (td->ts.runtime[DDIR_WRITE] + 999) / 1000;
1525 td->ts.io_bytes[DDIR_WRITE] = td->io_bytes[DDIR_WRITE];
2029 setup_log(&agg_io_log[DDIR_WRITE], 0, IO_LOG_TYPE_BW);
2050 __finish_log(agg_io_log[DDIR_WRITE],