/xen/xen/arch/arm/vgic/ |
A D | vgic-init.c | 143 dist->spis = xzalloc_array(struct vgic_irq, nr_spis); in domain_vgic_init() 184 xzalloc_array(unsigned long, BITS_TO_LONGS(vgic_num_irqs(d))); in domain_vgic_init()
|
/xen/xen/drivers/acpi/ |
A D | pmstat.c | 220 if ( !(affected_cpus = xzalloc_array(uint32_t, op->u.get_para.cpu_num)) ) in get_cpufreq_para() 231 xzalloc_array(uint32_t, op->u.get_para.freq_num)) ) in get_cpufreq_para() 243 xzalloc_array(char, gov_num * CPUFREQ_NAME_LEN)) ) in get_cpufreq_para()
|
/xen/xen/include/xen/ |
A D | xmalloc.h | 35 #define xzalloc_array(_type, _num) \ macro
|
/xen/xen/arch/arm/ |
A D | vuart.c | 66 d->arch.vuart.buf = xzalloc_array(char, VUART_BUF_SIZE); in domain_vuart_init()
|
A D | vgic.c | 143 xzalloc_array(struct vgic_irq_rank, DOMAIN_NR_RANKS(d)); in domain_vgic_init() 148 xzalloc_array(struct pending_irq, d->arch.vgic.nr_spis); in domain_vgic_init() 164 xzalloc_array(unsigned long, BITS_TO_LONGS(vgic_num_irqs(d))); in domain_vgic_init()
|
A D | io.c | 187 d->arch.vmmio.handlers = xzalloc_array(struct mmio_handler, max_count); in domain_io_init()
|
A D | gic-v3-lpi.c | 410 lpi_data.host_lpis = xzalloc_array(union host_lpi *, nr_lpi_ptrs); in gicv3_lpi_init_host_lpis()
|
A D | gic-v3-its.c | 715 dev->pend_irqs = xzalloc_array(struct pending_irq, nr_events); in gicv3_its_map_guest_device() 719 dev->host_lpi_blocks = xzalloc_array(uint32_t, nr_events); in gicv3_its_map_guest_device()
|
/xen/xen/drivers/cpufreq/ |
A D | utility.c | 119 pxpt->u.trans_pt = xzalloc_array(uint64_t, count * count); in cpufreq_statistic_init() 126 pxpt->u.pt = xzalloc_array(struct pm_px_val, count); in cpufreq_statistic_init()
|
/xen/xen/xsm/flask/ss/ |
A D | hashtab.c | 27 p->htable = xzalloc_array(struct hashtab_node *, size); in hashtab_create()
|
/xen/xen/arch/x86/x86_64/ |
A D | mmconfig_64.c | 217 pci_mmcfg_virt = xzalloc_array(struct mmcfg_virt, pci_mmcfg_config_num); in pci_mmcfg_arch_init()
|
/xen/xen/drivers/video/ |
A D | lfb.c | 152 lfb.line_len = xzalloc_array(unsigned int, lfb.lfbp.text_columns); in lfb_init()
|
/xen/xen/common/ |
A D | livepatch_elf.c | 55 sec = xzalloc_array(struct livepatch_elf_sec, elf->hdr->e_shnum); in elf_resolve_sections() 241 sym = xzalloc_array(struct livepatch_elf_sym, nsym); in elf_get_sym()
|
A D | hypfs.c | 365 buf = xzalloc_array(char, ulen); in hypfs_write_custom()
|
A D | event_channel.c | 154 chn = xzalloc_array(struct evtchn, EVTCHNS_PER_BUCKET); in alloc_evtchn_bucket() 205 grp = xzalloc_array(struct evtchn *, BUCKETS_PER_GROUP); in evtchn_allocate_port() 1452 d->poll_mask = xzalloc_array(unsigned long, BITS_TO_LONGS(d->max_vcpus)); in evtchn_init()
|
A D | domain.c | 394 d->vcpu = xzalloc_array(struct vcpu *, config->max_vcpus); in domain_create() 489 d->pbuf = xzalloc_array(char, DOMAIN_PBUF_SIZE); in domain_create()
|
/xen/xen/arch/x86/guest/xen/ |
A D | xen.c | 247 vcpu_info = xzalloc_array(struct vcpu_info, nr_cpu_ids); in setup()
|
/xen/xen/arch/x86/ |
A D | xstate.c | 97 xstate_offsets = xzalloc_array(unsigned int, xstate_features); in setup_xstate_features() 101 xstate_sizes = xzalloc_array(unsigned int, xstate_features); in setup_xstate_features()
|
A D | monitor.c | 28 d->arch.monitor.msr_bitmap = xzalloc_array(struct monitor_msr_bitmap, in arch_monitor_init_domain()
|
A D | psr.c | 1376 val_array = xzalloc_array(uint32_t, array_len); in psr_set_val() 1492 d->arch.psr_cos_ids = xzalloc_array(unsigned int, nr_sockets); in psr_alloc_cos() 1517 socket_info = xzalloc_array(struct psr_socket_info, nr_sockets); in init_psr()
|
/xen/xen/arch/x86/oprofile/ |
A D | op_model_ppro.c | 234 msr_content = xzalloc_array(struct arch_msr_pair, num_counters); in ppro_allocate_msr()
|
/xen/xen/arch/x86/pv/ |
A D | domain.c | 305 v->arch.pv.trap_ctxt = xzalloc_array(struct trap_info, X86_NR_VECTORS); in pv_vcpu_initialise()
|
/xen/xen/arch/x86/hvm/ |
A D | dom0_build.c | 260 map = xzalloc_array(struct e820entry, d->arch.nr_e820 + 1); in pvh_add_mem_range() 348 d->arch.e820 = xzalloc_array(struct e820entry, e820.nr_map + 1); in pvh_setup_e820()
|
A D | vioapic.c | 687 xzalloc_array(struct hvm_vioapic *, nr_vioapics)) == NULL) ) in vioapic_init()
|
/xen/xen/arch/x86/cpu/mcheck/ |
A D | mce.c | 141 mb->bank_map = xzalloc_array(unsigned long, in mcabanks_alloc() 1458 log_cpus = xzalloc_array(xen_mc_logical_cpu_t, nlcpu); in do_mca()
|