Home
last modified time | relevance | path

Searched refs:xmalloc (Results 1 – 25 of 42) sorted by relevance

12

/xen/xen/tools/kconfig/
A Dutil.c23 file = xmalloc(sizeof(*file)); in file_lookup()
35 gs.s = xmalloc(sizeof(char) * 64); in str_new()
82 void *xmalloc(size_t size) in xmalloc() function
A Dlexer.l50 text = xmalloc(START_STRSIZE); in new_string()
72 text = xmalloc(size + 1); in alloc_string()
A Dpreprocess.c48 e = xmalloc(sizeof(*e)); in env_add()
300 v = xmalloc(sizeof(*v)); in variable_add()
502 out = xmalloc(1); in __expand_string()
A Dlkc.h85 void *xmalloc(size_t size);
A Dsymbol.c672 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
676 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
831 symbol = xmalloc(sizeof(*symbol)); in sym_lookup()
891 res = xmalloc(reslen); in sym_escape_string_value()
1281 prop = xmalloc(sizeof(*prop)); in prop_alloc()
A Dmenu.c51 menu = xmalloc(sizeof(*menu)); in menu_add_entry()
718 jump = xmalloc(sizeof(struct jump_key)); in get_prompt_str()
/xen/xen/include/xen/
A Dxmalloc.h13 #define xmalloc(_type) ((_type *)_xmalloc(sizeof(_type), __alignof__(_type))) macro
25 typeof(*(ptr)) *p_ = (ptr), *n_ = xmalloc(typeof(*p_)); \
/xen/tools/xl/
A Dxl_sched.c723 int *vcpus = (int *)xmalloc(sizeof(int)); /* IDs of VCPUs that change */ in main_sched_rtds()
724 int *periods = (int *)xmalloc(sizeof(int)); /* period is in microsecond */ in main_sched_rtds()
725 int *budgets = (int *)xmalloc(sizeof(int)); /* budget is in microsecond */ in main_sched_rtds()
726 bool *extratimes = (bool *)xmalloc(sizeof(bool)); /* extratime is bool */ in main_sched_rtds()
872 xmalloc(sizeof(libxl_sched_params) * (v_index)); in main_sched_rtds()
891 xmalloc(sizeof(libxl_sched_params) * (v_index)); in main_sched_rtds()
902 xmalloc(sizeof(libxl_sched_params)); in main_sched_rtds()
A Dxl_utils.h135 void *xmalloc(size_t sz);
A Dxl_vmcontrol.c734 optdata_begin = xmalloc(hdr.optional_data_len); in create_domain()
762 config_data = xmalloc(config_len); in create_domain()
828 xmalloc(b_info->max_vcpus * sizeof(libxl_bitmap)); in create_domain()
1015 diskws = xmalloc(sizeof(*diskws) * d_config.num_disks); in create_domain()
A Dxl_utils.c63 void *xmalloc(size_t sz) in xmalloc() function
/xen/tools/libxl/
A Dlibxl_save_helper.c119 static void *xmalloc(size_t sz) in xmalloc() function
186 return xmalloc(len); in helper_allocbuf()
/xen/tools/tests/vpci/
A Demul.h91 #define xmalloc(type) ((type *)malloc(sizeof(type))) macro
/xen/xen/common/compat/
A Ddomain.c67 if ( (ctxt = xmalloc(struct compat_vcpu_guest_context)) == NULL ) in compat_vcpu_op()
/xen/xen/arch/arm/
A Dirq.c182 action = xmalloc(struct irqaction); in request_irq()
445 action = xmalloc(struct irqaction); in route_irq_to_guest()
449 info = xmalloc(struct irq_guest); in route_irq_to_guest()
/xen/xen/drivers/passthrough/vtd/x86/
A Dats.c65 ats_drhd = xmalloc(struct acpi_drhd_unit); in ats_device()
/xen/xen/include/asm-arm/
A Ddomain.h255 return xmalloc(struct vcpu_guest_context); in alloc_vcpu_guest_context()
/xen/xen/common/
A Drangeset.c104 x = xmalloc(struct range); in alloc_range()
428 r = xmalloc(struct rangeset); in rangeset_new()
A Dradix-tree.c57 struct rcu_node *rcu_node = xmalloc(struct rcu_node); in rcu_node_alloc()
/xen/xen/drivers/acpi/apei/
A Dapei-io.c116 map = xmalloc(struct apei_iomap); in apei_pre_map()
/xen/xen/xsm/flask/ss/
A Dsidtab.c65 newnode = xmalloc(struct sidtab_node); in sidtab_insert()
/xen/xen/drivers/passthrough/
A Dio.c481 digl = xmalloc(struct dev_intx_gsi_link); in pt_irq_create_bind()
482 girq = xmalloc(struct hvm_girq_dpci_mapping); in pt_irq_create_bind()
/xen/xen/common/sched/
A Darinc653.c397 svc = xmalloc(arinc653_unit_t); in a653sched_alloc_udata()
/xen/xen/drivers/vpci/
A Dvpci.c139 r = xmalloc(struct vpci_register); in vpci_add_register()
/xen/xen/drivers/passthrough/vtd/
A Ddmar.c370 acpi_hpet_unit = xmalloc(struct acpi_hpet_unit); in acpi_parse_dev_scope()
404 acpi_ioapic_unit = xmalloc(struct acpi_ioapic_unit); in acpi_parse_dev_scope()

Completed in 51 milliseconds

12