Lines Matching refs:opts_copy
4693 char **opts_copy = malloc(num_opts * sizeof(*opts)); in dup_and_sub_options() local
4695 opts_copy[i] = option_dup_subs(opts[i]); in dup_and_sub_options()
4696 if (!opts_copy[i]) in dup_and_sub_options()
4698 opts_copy[i] = fio_keyword_replace(opts_copy[i]); in dup_and_sub_options()
4700 return opts_copy; in dup_and_sub_options()
4740 char **opts_copy; in fio_options_parse() local
4743 opts_copy = dup_and_sub_options(opts, num_opts); in fio_options_parse()
4747 int newret = parse_option(opts_copy[i], opts[i], fio_options, in fio_options_parse()
4753 if (opts_copy[i]) { in fio_options_parse()
4758 free(opts_copy[i]); in fio_options_parse()
4759 opts_copy[i] = NULL; in fio_options_parse()
4768 sort_options(opts_copy, td->io_ops->options, num_opts); in fio_options_parse()
4769 opts = opts_copy; in fio_options_parse()
4775 if (!opts_copy[i]) in fio_options_parse()
4779 newret = parse_option(opts_copy[i], opts[i], in fio_options_parse()
4788 free(opts_copy[i]); in fio_options_parse()
4789 opts_copy[i] = NULL; in fio_options_parse()
4793 free(opts_copy); in fio_options_parse()