Lines Matching refs:opts_copy
3902 char **opts_copy = malloc(num_opts * sizeof(*opts)); in dup_and_sub_options() local
3904 opts_copy[i] = option_dup_subs(opts[i]); in dup_and_sub_options()
3905 if (!opts_copy[i]) in dup_and_sub_options()
3907 opts_copy[i] = fio_keyword_replace(opts_copy[i]); in dup_and_sub_options()
3909 return opts_copy; in dup_and_sub_options()
3949 char **opts_copy; in fio_options_parse() local
3952 opts_copy = dup_and_sub_options(opts, num_opts); in fio_options_parse()
3956 int newret = parse_option(opts_copy[i], opts[i], fio_options, in fio_options_parse()
3962 if (opts_copy[i]) { in fio_options_parse()
3967 free(opts_copy[i]); in fio_options_parse()
3968 opts_copy[i] = NULL; in fio_options_parse()
3977 sort_options(opts_copy, td->io_ops->options, num_opts); in fio_options_parse()
3978 opts = opts_copy; in fio_options_parse()
3984 if (!opts_copy[i]) in fio_options_parse()
3988 newret = parse_option(opts_copy[i], opts[i], in fio_options_parse()
3997 free(opts_copy[i]); in fio_options_parse()
3998 opts_copy[i] = NULL; in fio_options_parse()
4002 free(opts_copy); in fio_options_parse()