Searched defs:num_opts (Results 1 - 3 of 3) sorted by relevance

/external/fio/
H A Dparse.c996 void sort_options(char **opts, struct fio_option *options, int num_opts) argument
999 qsort(opts, num_opts, sizeof(char *), opt_cmp);
H A Dinit.c1695 int i, alloc_opts, num_opts; local
1732 num_opts = *nopts;
1738 num_opts = 0;
1809 num_opts = 0;
1878 &alloc_opts, &num_opts);
1895 if (num_opts == alloc_opts) {
1901 opts[num_opts] = strdup(p);
1902 num_opts++;
1908 *nopts = num_opts;
1912 ret = fio_options_parse(td, opts, num_opts);
[all...]
H A Doptions.c4690 static char **dup_and_sub_options(char **opts, int num_opts) argument
4693 char **opts_copy = malloc(num_opts * sizeof(*opts));
4694 for (i = 0; i < num_opts; i++) {
4737 int fio_options_parse(struct thread_data *td, char **opts, int num_opts) argument
4742 sort_options(opts, fio_options, num_opts);
4743 opts_copy = dup_and_sub_options(opts, num_opts);
4745 for (ret = 0, i = 0, unknown = 0; i < num_opts; i++) {
4768 sort_options(opts_copy, td->io_ops->options, num_opts);
4771 for (i = 0; i < num_opts; i++) {

Completed in 202 milliseconds