Home | History | Annotate | Download | only in fio

Lines Matching defs:ddir

64 static int bssplit_ddir(struct thread_options *o, int ddir, char *str)
72 o->bssplit_nr[ddir] = 4;
87 if (i == o->bssplit_nr[ddir]) {
88 o->bssplit_nr[ddir] <<= 1;
89 bssplit = realloc(bssplit, o->bssplit_nr[ddir]
121 o->bssplit_nr[ddir] = i;
127 for (i = 0; i < o->bssplit_nr[ddir]; i++) {
147 if (perc_missing == 1 && o->bssplit_nr[ddir] == 1)
149 for (i = 0; i < o->bssplit_nr[ddir]; i++) {
157 o->min_bs[ddir] = min_bs;
158 o->max_bs[ddir] = max_bs;
163 qsort(bssplit, o->bssplit_nr[ddir], sizeof(struct bssplit), bs_cmp);
164 o->bssplit[ddir] = bssplit;
171 char *str, *p, *odir, *ddir;
184 ddir = strchr(odir + 1, ',');
185 if (ddir) {
186 ret = bssplit_ddir(&td->o, DDIR_TRIM, ddir + 1);
188 *ddir = '\0';