Searched refs:num_opts (Results 1 – 3 of 3) sorted by relevance
/external/fio/ |
D | init.c | 1450 int i, alloc_opts, num_opts; in __parse_jobs_ini() local 1487 num_opts = *nopts; in __parse_jobs_ini() 1493 num_opts = 0; in __parse_jobs_ini() 1564 num_opts = 0; in __parse_jobs_ini() 1609 name, &opts, &alloc_opts, &num_opts))) { in __parse_jobs_ini() 1617 if (num_opts == alloc_opts) { in __parse_jobs_ini() 1623 opts[num_opts] = strdup(p); in __parse_jobs_ini() 1624 num_opts++; in __parse_jobs_ini() 1630 *nopts = num_opts; in __parse_jobs_ini() 1634 ret = fio_options_parse(td, opts, num_opts, dump_cmdline); in __parse_jobs_ini() [all …]
|
D | options.c | 3899 static char **dup_and_sub_options(char **opts, int num_opts) in dup_and_sub_options() argument 3902 char **opts_copy = malloc(num_opts * sizeof(*opts)); in dup_and_sub_options() 3903 for (i = 0; i < num_opts; i++) { in dup_and_sub_options() 3945 int fio_options_parse(struct thread_data *td, char **opts, int num_opts, in fio_options_parse() argument 3951 sort_options(opts, fio_options, num_opts); in fio_options_parse() 3952 opts_copy = dup_and_sub_options(opts, num_opts); in fio_options_parse() 3954 for (ret = 0, i = 0, unknown = 0; i < num_opts; i++) { in fio_options_parse() 3977 sort_options(opts_copy, td->io_ops->options, num_opts); in fio_options_parse() 3980 for (i = 0; i < num_opts; i++) { in fio_options_parse()
|
D | parse.c | 949 void sort_options(char **opts, struct fio_option *options, int num_opts) in sort_options() argument 952 qsort(opts, num_opts, sizeof(char *), opt_cmp); in sort_options()
|