Searched refs:fwcfg_max_cpus (Results 1 – 1 of 1) sorted by relevance
259 uint16_t *fwcfg_max_cpus = calloc(1, sizeof(uint16_t)); in qemu_fwcfg_add_item_max_cpus() local260 if (fwcfg_max_cpus == NULL) { in qemu_fwcfg_add_item_max_cpus()268 *fwcfg_max_cpus = htole16(guest_ncpus); in qemu_fwcfg_add_item_max_cpus()271 QEMU_FWCFG_INDEX_MAX_CPUS, sizeof(uint16_t), fwcfg_max_cpus)); in qemu_fwcfg_add_item_max_cpus()277 uint16_t *fwcfg_max_cpus = calloc(1, sizeof(uint16_t)); in qemu_fwcfg_add_item_nb_cpus() local278 if (fwcfg_max_cpus == NULL) { in qemu_fwcfg_add_item_nb_cpus()282 *fwcfg_max_cpus = htole16(guest_ncpus); in qemu_fwcfg_add_item_nb_cpus()285 QEMU_FWCFG_INDEX_NB_CPUS, sizeof(uint16_t), fwcfg_max_cpus)); in qemu_fwcfg_add_item_nb_cpus()