Searched refs:fwcfg_item (Results 1 – 2 of 2) sorted by relevance
112 struct qemu_fwcfg_item *fwcfg_item; in e820_get_fwcfg_item() local126 fwcfg_item = calloc(1, sizeof(struct qemu_fwcfg_item)); in e820_get_fwcfg_item()127 if (fwcfg_item == NULL) { in e820_get_fwcfg_item()131 fwcfg_item->size = count * sizeof(struct e820_entry); in e820_get_fwcfg_item()132 fwcfg_item->data = calloc(count, sizeof(struct e820_entry)); in e820_get_fwcfg_item()133 if (fwcfg_item->data == NULL) { in e820_get_fwcfg_item()134 free(fwcfg_item); in e820_get_fwcfg_item()139 entries = (struct e820_entry *)fwcfg_item->data; in e820_get_fwcfg_item()150 return (fwcfg_item); in e820_get_fwcfg_item()
196 struct qemu_fwcfg_item *const fwcfg_item = &fwcfg_sc.items[arch][idx]; in qemu_fwcfg_add_item() local199 if (fwcfg_item->data != NULL) { in qemu_fwcfg_add_item()206 fwcfg_item->size = size; in qemu_fwcfg_add_item()207 fwcfg_item->data = data; in qemu_fwcfg_add_item()