Searched refs:xmalloc (Results 1 – 25 of 42) sorted by relevance
12
23 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
50 text = xmalloc(START_STRSIZE); in new_string()72 text = xmalloc(size + 1); in alloc_string()
48 e = xmalloc(sizeof(*e)); in env_add()300 v = xmalloc(sizeof(*v)); in variable_add()502 out = xmalloc(1); in __expand_string()
85 void *xmalloc(size_t size);
672 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()
51 menu = xmalloc(sizeof(*menu)); in menu_add_entry()718 jump = xmalloc(sizeof(struct jump_key)); in get_prompt_str()
13 #define xmalloc(_type) ((_type *)_xmalloc(sizeof(_type), __alignof__(_type))) macro25 typeof(*(ptr)) *p_ = (ptr), *n_ = xmalloc(typeof(*p_)); \
723 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()
135 void *xmalloc(size_t sz);
734 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()
63 void *xmalloc(size_t sz) in xmalloc() function
119 static void *xmalloc(size_t sz) in xmalloc() function186 return xmalloc(len); in helper_allocbuf()
91 #define xmalloc(type) ((type *)malloc(sizeof(type))) macro
67 if ( (ctxt = xmalloc(struct compat_vcpu_guest_context)) == NULL ) in compat_vcpu_op()
182 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()
65 ats_drhd = xmalloc(struct acpi_drhd_unit); in ats_device()
255 return xmalloc(struct vcpu_guest_context); in alloc_vcpu_guest_context()
104 x = xmalloc(struct range); in alloc_range()428 r = xmalloc(struct rangeset); in rangeset_new()
57 struct rcu_node *rcu_node = xmalloc(struct rcu_node); in rcu_node_alloc()
116 map = xmalloc(struct apei_iomap); in apei_pre_map()
65 newnode = xmalloc(struct sidtab_node); in sidtab_insert()
481 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()
397 svc = xmalloc(arinc653_unit_t); in a653sched_alloc_udata()
139 r = xmalloc(struct vpci_register); in vpci_add_register()
370 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