Home
last modified time | relevance | path

Searched refs:bssplit_nr (Results 1 – 4 of 4) sorted by relevance

/external/fio/
Dcconv.c99 o->bssplit_nr[i] = le32_to_cpu(top->bssplit_nr[i]); in convert_thread_options_to_cpu()
101 if (o->bssplit_nr[i]) { in convert_thread_options_to_cpu()
102 o->bssplit[i] = malloc(o->bssplit_nr[i] * sizeof(struct bssplit)); in convert_thread_options_to_cpu()
103 for (j = 0; j < o->bssplit_nr[i]; j++) { in convert_thread_options_to_cpu()
412 top->bssplit_nr[i] = cpu_to_le32(o->bssplit_nr[i]); in convert_thread_options_to_net()
414 if (o->bssplit_nr[i]) { in convert_thread_options_to_net()
415 unsigned int bssplit_nr = o->bssplit_nr[i]; in convert_thread_options_to_net() local
417 if (bssplit_nr > BSSPLIT_MAX) { in convert_thread_options_to_net()
419 bssplit_nr = BSSPLIT_MAX; in convert_thread_options_to_net()
421 for (j = 0; j < bssplit_nr; j++) { in convert_thread_options_to_net()
Dthread_options.h72 unsigned int bssplit_nr[DDIR_RWDIR_CNT]; member
301 uint32_t bssplit_nr[DDIR_RWDIR_CNT]; member
Doptions.c72 o->bssplit_nr[ddir] = 4; in bssplit_ddir()
87 if (i == o->bssplit_nr[ddir]) { in bssplit_ddir()
88 o->bssplit_nr[ddir] <<= 1; in bssplit_ddir()
89 bssplit = realloc(bssplit, o->bssplit_nr[ddir] in bssplit_ddir()
121 o->bssplit_nr[ddir] = i; in bssplit_ddir()
127 for (i = 0; i < o->bssplit_nr[ddir]; i++) { in bssplit_ddir()
147 if (perc_missing == 1 && o->bssplit_nr[ddir] == 1) in bssplit_ddir()
149 for (i = 0; i < o->bssplit_nr[ddir]; i++) { in bssplit_ddir()
163 qsort(bssplit, o->bssplit_nr[ddir], sizeof(struct bssplit), bs_cmp); in bssplit_ddir()
Dio_u.c452 if (!td->o.bssplit_nr[ddir]) { in __get_next_buflen()
461 for (i = 0; i < td->o.bssplit_nr[ddir]; i++) { in __get_next_buflen()