Lines Matching refs:DDIR_WRITE
239 if (bytes_done[DDIR_WRITE]) in check_min_rate()
240 ret |= __check_min_rate(td, now, DDIR_WRITE); in check_min_rate()
436 __should_check_rate(td, DDIR_WRITE) || in wait_for_completions()
544 } else if (io_u->ddir == DDIR_WRITE) { in do_verify()
672 bytes = td->io_issue_bytes[DDIR_READ] + td->io_issue_bytes[DDIR_WRITE]; in io_issue_bytes_exceeded()
674 bytes = td->io_issue_bytes[DDIR_WRITE]; in io_issue_bytes_exceeded()
694 bytes = td->this_io_bytes[DDIR_READ] + td->this_io_bytes[DDIR_WRITE]; in io_complete_bytes_exceeded()
696 bytes = td->this_io_bytes[DDIR_WRITE]; in io_complete_bytes_exceeded()
826 if (td_write(td) && io_u->ddir == DDIR_WRITE && in do_io()
871 __should_check_rate(td, DDIR_WRITE) || in do_io()
990 return bytes_done[DDIR_WRITE] + bytes_done[DDIR_TRIM]; in do_io()
1025 min_write = td->o.min_bs[DDIR_WRITE]; in init_io_u()
1286 if (td_write(td) && io_u->ddir == DDIR_WRITE && in do_dry_run()
1296 return bytes_done[DDIR_WRITE] + bytes_done[DDIR_TRIM]; in do_dry_run()
1507 if (o->ratemin[DDIR_READ] || o->ratemin[DDIR_WRITE] || in thread_main()
1511 memcpy(&td->lastrate[DDIR_WRITE], &td->bw_sample_time, in thread_main()
1534 if (td_write(td) && td->io_bytes[DDIR_WRITE]) { in thread_main()
1536 td->ts.runtime[DDIR_WRITE] += elapsed; in thread_main()
1571 td->ts.io_bytes[DDIR_WRITE] = td->io_bytes[DDIR_WRITE]; in thread_main()
2206 setup_log(&agg_io_log[DDIR_WRITE], &p, "agg-write_bw.log"); in fio_backend()