Searched refs:td_ddir (Results 1 – 9 of 9) sorted by relevance
28 enum td_ddir { enum40 #define td_read(td) ((td)->o.td_ddir & TD_DDIR_READ)41 #define td_write(td) ((td)->o.td_ddir & TD_DDIR_WRITE)42 #define td_trim(td) ((td)->o.td_ddir & TD_DDIR_TRIM)43 #define td_rw(td) (((td)->o.td_ddir & TD_DDIR_RW) == TD_DDIR_RW)44 #define td_random(td) ((td)->o.td_ddir & TD_DDIR_RAND)58 static inline const char *ddir_str(enum td_ddir ddir) in ddir_str()
47 enum td_ddir td_ddir; member276 uint32_t td_ddir; member
440 td->o.td_ddir = TD_DDIR_READ; in load_blktrace()443 td->o.td_ddir = TD_DDIR_WRITE; in load_blktrace()446 td->o.td_ddir = TD_DDIR_RW; in load_blktrace()
75 o->td_ddir = le32_to_cpu(top->td_ddir); in convert_thread_options_to_cpu()284 top->td_ddir = cpu_to_le32(o->td_ddir); in convert_thread_options_to_net()
451 td->o.td_ddir = TD_DDIR_READ; in read_iolog2()453 td->o.td_ddir = TD_DDIR_WRITE; in read_iolog2()455 td->o.td_ddir = TD_DDIR_RW; in read_iolog2()
608 sprintf(tmp, "%s %s", o->odirect ? "direct" : "buffered", ddir_str(o->td_ddir));
1297 ddir_str(o->td_ddir)); in add_job()
1368 .off1 = td_var_offset(td_ddir),
180 if (td->o.td_ddir == TD_DDIR_READ || in fio_windowsaio_open_file()181 td->o.td_ddir == TD_DDIR_WRITE) in fio_windowsaio_open_file()