Searched refs:fwcfg_file (Results 1 – 1 of 1) sorted by relevance
410 const struct qemu_fwcfg_user_file *fwcfg_file; in qemu_fwcfg_add_user_files() local413 STAILQ_FOREACH(fwcfg_file, &user_files, chain) { in qemu_fwcfg_add_user_files()414 error = qemu_fwcfg_add_file(fwcfg_file->name, fwcfg_file->size, in qemu_fwcfg_add_user_files()415 fwcfg_file->data); in qemu_fwcfg_add_user_files()543 struct qemu_fwcfg_user_file *fwcfg_file; in qemu_fwcfg_parse_cmdline_arg() local549 fwcfg_file = malloc(sizeof(*fwcfg_file)); in qemu_fwcfg_parse_cmdline_arg()550 if (fwcfg_file == NULL) { in qemu_fwcfg_parse_cmdline_arg()576 strncpy(fwcfg_file->name, opt_ptr, opt_end - opt_ptr); in qemu_fwcfg_parse_cmdline_arg()577 fwcfg_file->name[opt_end - opt_ptr] = '\0'; in qemu_fwcfg_parse_cmdline_arg()585 fwcfg_file->data = strdup(opt_ptr); in qemu_fwcfg_parse_cmdline_arg()[all …]