Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 251) sorted by relevance

1234567891011

/xen/tools/xenpmd/
A Dxenpmd.c137 info->present = YES; in set_attribute_battery_info()
217 info->oem_info[31] = '\0'; in set_attribute_battery_info()
361 len = 9 * 4 + strlen(info->model_number) + strlen(info->serial_number) + in write_battery_info_to_xenstore()
362 strlen(info->battery_type) + strlen(info->oem_info) + 4; in write_battery_info_to_xenstore()
376 (unsigned int)strlen(info->model_number), info->model_number, in write_battery_info_to_xenstore()
377 (unsigned int)strlen(info->serial_number), info->serial_number, in write_battery_info_to_xenstore()
378 (unsigned int)strlen(info->battery_type), info->battery_type, in write_battery_info_to_xenstore()
379 (unsigned int)strlen(info->oem_info), info->oem_info); in write_battery_info_to_xenstore()
382 val, 73+8+strlen(info->model_number)+strlen(info->serial_number)+ in write_battery_info_to_xenstore()
383 strlen(info->battery_type)+strlen(info->oem_info)+1); in write_battery_info_to_xenstore()
[all …]
/xen/tools/xl/
A Dxl_info.c160 info->xen_version_minor, info->xen_version_extra); in output_xeninfo()
209 info.hw_cap[0], info.hw_cap[1], info.hw_cap[2], info.hw_cap[3], in output_physinfo()
210 info.hw_cap[4], info.hw_cap[5], info.hw_cap[6], info.hw_cap[7] in output_physinfo()
216 info.cap_hvm && info.cap_hvm_directio ? " hvm_directio" : "", in output_physinfo()
217 info.cap_pv && info.cap_hvm_directio ? " pv_directio" : "", in output_physinfo()
249 if (info == NULL) { in output_numainfo()
260 info[i].size >> 20, info[i].free >> 20, in output_numainfo()
349 if (!info) { in list_vm()
397 shutdown_reason = info[i].shutdown ? info[i].shutdown_reason : 0; in list_domains()
545 if (!info) { in main_list()
[all …]
A Dxl_mem.c103 shutdown_reason = info[i].shutdown ? info[i].shutdown_reason : 0; in sharing()
106 info[i].domid, in sharing()
107 (unsigned long) ((info[i].current_memkb + in sharing()
108 info[i].outstanding_memkb) / 1024), in sharing()
118 libxl_dominfo *info, *info_free = NULL; in main_sharing() local
126 info = libxl_list_domain(ctx, &nb_domain); in main_sharing()
127 if (!info) { in main_sharing()
131 info_free = info; in main_sharing()
144 info = &info_buf; in main_sharing()
151 sharing(info, nb_domain); in main_sharing()
[all …]
A Dxl_psr.c300 libxl_psr_cat_info *info; in psr_l3_cat_hwinfo() local
312 info[i].id); in psr_l3_cat_hwinfo()
326 libxl_psr_cat_info_list_free(info, nr); in psr_l3_cat_hwinfo()
361 if (!info->u.cat.cdp_enabled) { in psr_print_one_domain_val()
434 info->id); in psr_print_socket()
442 if (info->u.cat.cdp_enabled) in psr_print_socket()
469 libxl_psr_hw_info *info; in psr_val_show() local
505 libxl_psr_hw_info_list_free(info, nr); in psr_val_show()
513 libxl_psr_cat_info *info; in psr_l2_cat_hwinfo() local
614 libxl_psr_hw_info *info; in psr_mba_hwinfo() local
[all …]
/xen/xen/arch/arm/
A Dkernel.c119 info->dtb_paddr = modbase; in place_modules()
120 info->initrd_paddr = info->dtb_paddr + dtb_len; in place_modules()
129 return info->mem.bank[0].start + info->zimage.text_offset; in kernel_zimage_place()
142 load_end = info->mem.bank[0].start + info->mem.bank[0].size; in kernel_zimage_place()
163 info->entry = load_addr; in kernel_zimage_load()
225 info->zimage.len = len; in kernel_uimage_probe()
227 info->entry = info->zimage.start; in kernel_uimage_probe()
364 info->type = DOMAIN_64BIT; in kernel_zimage64_probe()
416 info->type = DOMAIN_32BIT; in kernel_zimage32_probe()
499 info->d, info->kernel_bootmodule->start); in kernel_probe()
[all …]
A Dvuart.c43 #define domain_has_vuart(d) ((d)->arch.vuart.info != NULL)
45 static int vuart_mmio_read(struct vcpu *v, mmio_info_t *info,
59 d->arch.vuart.info = serial_vuart_info(SERHND_DTUART); in domain_vuart_init()
60 if ( !d->arch.vuart.info ) in domain_vuart_init()
71 d->arch.vuart.info->base_addr, in domain_vuart_init()
72 d->arch.vuart.info->size, in domain_vuart_init()
112 paddr_t offset = info->gpa - d->arch.vuart.info->base_addr; in vuart_mmio_read()
119 if ( offset == d->arch.vuart.info->status_off ) in vuart_mmio_read()
121 *r = d->arch.vuart.info->status; in vuart_mmio_read()
130 paddr_t offset = info->gpa - d->arch.vuart.info->base_addr; in vuart_mmio_write()
[all …]
A Dio.c31 mmio_info_t *info) in handle_read() argument
33 const struct hsr_dabt dabt = info->dabt; in handle_read()
43 if ( !handler->ops->read(v, info, &r, handler->priv) ) in handle_read()
69 mmio_info_t *info) in handle_write() argument
71 const struct hsr_dabt dabt = info->dabt; in handle_write()
117 mmio_info_t info = { in try_handle_mmio() local
124 handler = find_mmio_handler(v->domain, info.gpa); in try_handle_mmio()
141 rc = decode_instruction(regs, &info.dabt); in try_handle_mmio()
149 if ( info.dabt.write ) in try_handle_mmio()
150 return handle_write(handler, v, &info); in try_handle_mmio()
[all …]
/xen/xen/common/coverage/
A Dgcov.c81 return gcov_info_to_gcda(NULL, info); in gcov_info_payload_size()
98 buf_size = gcov_info_payload_size(info); in gcov_info_dump_payload()
107 gcov_info_to_gcda(buf, info); in gcov_info_dump_payload()
126 struct gcov_info *info = NULL; in gcov_get_size() local
128 while ( (info = gcov_info_next(info)) ) in gcov_get_size()
145 struct gcov_info *info = NULL; in gcov_reset_all_counters() local
147 while ( (info = gcov_info_next(info)) ) in gcov_reset_all_counters()
148 gcov_info_reset(info); in gcov_reset_all_counters()
159 len = strlen(gcov_info_filename(info)) + 1; in gcov_dump_one_record()
180 struct gcov_info *info = NULL; in gcov_dump_all() local
[all …]
A Dgcc_3_4.c127 const struct gcov_info *info; member
152 return (1 << type) & info->ctr_mask; in counter_active()
161 if ( counter_active(info, i) ) in num_counter_active()
169 info->next = gcov_info_head; in gcov_info_link()
170 gcov_info_head = info; in gcov_info_link()
175 if ( !info ) in gcov_info_next()
178 return info->next; in gcov_info_next()
183 return info->filename; in gcov_info_filename()
211 ((char *) info->functions + fn * get_fn_size(info)); in get_fn_info()
338 struct gcov_iterator iter = { .info = info }; in gcov_info_to_gcda()
[all …]
A Dgcc_4_7.c99 return info->merge[type] ? 1 : 0; in counter_active()
102 void gcov_info_link(struct gcov_info *info) in gcov_info_link() argument
104 info->next = gcov_info_head; in gcov_info_link()
105 gcov_info_head = info; in gcov_info_link()
110 if ( !info ) in gcov_info_next()
112 return info->next; in gcov_info_next()
115 void gcov_info_reset(struct gcov_info *info) in gcov_info_reset() argument
123 ci_ptr = info->functions[fi_idx]->ctrs; in gcov_info_reset()
127 if ( !counter_active(info, ct_idx) ) in gcov_info_reset()
138 return info->filename; in gcov_info_filename()
[all …]
/xen/tools/libxl/
A Dlibxl_dom.c35 xc_domaininfo_t info; in libxl__domain_type() local
73 xc_domaininfo_t info; in libxl__domain_cpupool() local
87 return info.cpupool; in libxl__domain_cpupool()
281 if (info->cpumap.size || info->num_vcpu_soft_affinity) in libxl__build_pre()
334 if (info->num_vcpu_hard_affinity || info->num_vcpu_soft_affinity) { in libxl__build_pre()
338 n_vcpus = info->num_vcpu_hard_affinity > info->num_vcpu_soft_affinity ? in libxl__build_pre()
339 info->num_vcpu_hard_affinity : info->num_vcpu_soft_affinity; in libxl__build_pre()
453 if (info->num_vnuma_nodes && !info->num_vcpu_soft_affinity) { in libxl__build_post()
527 nr_vdistance = info->num_vnuma_nodes * info->num_vnuma_nodes; in set_vnuma_info()
587 (info->max_memkb - info->video_memkb) : info->target_memkb; in libxl__build_dom()
[all …]
A Dlibxl_vdispl.c94 info->num_connectors = 0; in libxl__device_vdispl_getconnectors()
104 info->connectors = libxl__calloc(NOGC, info->num_connectors, in libxl__device_vdispl_getconnectors()
107 for (i = 0; i < info->num_connectors; i++) { in libxl__device_vdispl_getconnectors()
120 &info->connectors[i].height); in libxl__device_vdispl_getconnectors()
163 libxl_vdisplinfo_init(info); in libxl_device_vdispl_getinfo()
164 info->devid = vdispl->devid; in libxl_device_vdispl_getinfo()
171 info->backend = xs_read(ctx->xsh, XBT_NULL, in libxl_device_vdispl_getinfo()
176 rc = libxl__backendpath_parse_domid(gc, info->backend, &info->backend_id); in libxl_device_vdispl_getinfo()
180 info->state = val ? strtoul(val, NULL, 10) : -1; in libxl_device_vdispl_getinfo()
182 info->frontend = xs_read(ctx->xsh, XBT_NULL, in libxl_device_vdispl_getinfo()
[all …]
A Dlibxl_cpupool.c48 info->pool_name = libxl_cpupoolid_to_name(CTX, info->poolid); in cpupool_info()
49 if (!info->pool_name) { in cpupool_info()
54 info->n_dom = xcinfo->n_dom; in cpupool_info()
59 memcpy(info->cpumap.map, xcinfo->cpumap, info->cpumap.size); in cpupool_info()
79 libxl_cpupoolinfo info, *ptr; in libxl_list_cpupool() local
96 ptr[i] = info; in libxl_list_cpupool()
196 xc_cpupoolinfo_t *info; in libxl_cpupool_destroy() local
201 if (info == NULL) { in libxl_cpupool_destroy()
207 if ((info->cpupool_id != poolid) || (info->n_dom)) in libxl_cpupool_destroy()
256 xc_cpupoolinfo_t *info; in libxl_cpupool_rename() local
[all …]
A Dlibxl_mem.c98 libxl_dominfo info; in libxl__fill_dom0_memory_info() local
106 libxl_dominfo_init(&info); in libxl__fill_dom0_memory_info()
139 libxl_dominfo_dispose(&info); in libxl__fill_dom0_memory_info()
140 libxl_dominfo_init(&info); in libxl__fill_dom0_memory_info()
183 xc_domaininfo_t info; in libxl_set_memory_target() local
549 libxl_physinfo info; in libxl_get_free_memory() local
556 *memkb = (info.free_pages + info.scrub_pages) * 4; in libxl_get_free_memory()
576 libxl_physinfo info; in libxl_wait_for_free_memory() local
602 libxl_dominfo info; in libxl_wait_for_memory_target() local
608 libxl_dominfo_init(&info); in libxl_wait_for_memory_target()
[all …]
/xen/xen/common/
A Dsmp.c29 void (*func) (void *info);
30 void *info; member
36 void (*func) (void *info), in smp_call_function() argument
37 void *info, in smp_call_function()
49 void (*func) (void *info), in on_selected_cpus() argument
50 void *info, in on_selected_cpus()
67 call_data.info = info; in on_selected_cpus()
81 void (*func)(void *info) = call_data.func; in smp_call_function_interrupt()
82 void *info = call_data.info; in smp_call_function_interrupt() local
92 (*func)(info); in smp_call_function_interrupt()
[all …]
/xen/tools/firmware/hvmloader/
A Dseabios.c57 *info = (struct seabios_info) { in seabios_setup_bios_info()
59 .length = sizeof(*info) in seabios_setup_bios_info()
72 for ( i = 0; i < info->length; i++ ) in seabios_finish_bios_info()
73 checksum += ((uint8_t *)(info))[i]; in seabios_finish_bios_info()
75 info->checksum = -checksum; in seabios_finish_bios_info()
81 uint32_t *ts = (uint32_t *)info->tables; in add_table()
83 ASSERT(info->tables_nr < MAX_TABLES); in add_table()
85 ts[info->tables_nr] = t; in add_table()
86 info->tables_nr++; in add_table()
124 info->e820 = (uint32_t)e820; in seabios_setup_e820()
[all …]
A Dovmf.c66 struct ovmf_info *info = (void *)OVMF_INFO_PHYSICAL_ADDRESS; in ovmf_setup_bios_info() local
68 *info = (struct ovmf_info) { in ovmf_setup_bios_info()
70 .length = sizeof(*info) in ovmf_setup_bios_info()
76 struct ovmf_info *info = (void *)OVMF_INFO_PHYSICAL_ADDRESS; in ovmf_finish_bios_info() local
81 for ( i = 0; i < info->length; i++ ) in ovmf_finish_bios_info()
82 checksum += ((uint8_t *)(info))[i]; in ovmf_finish_bios_info()
84 info->checksum = -checksum; in ovmf_finish_bios_info()
141 struct ovmf_info *info = (void *)OVMF_INFO_PHYSICAL_ADDRESS; in ovmf_setup_e820() local
143 info->e820 = (uint32_t)e820; in ovmf_setup_e820()
146 info->e820_nr = build_e820_table(e820, 0, LOWCHUNK_BEGIN); in ovmf_setup_e820()
[all …]
/xen/xen/include/asm-x86/
A Dspec_ctrl.h61 struct cpu_info *info = get_cpu_info(); in init_shadow_spec_ctrl_state() local
63 info->shadow_spec_ctrl = 0; in init_shadow_spec_ctrl_state()
64 info->xen_spec_ctrl = default_xen_spec_ctrl; in init_shadow_spec_ctrl_state()
65 info->spec_ctrl_flags = default_spec_ctrl_flags; in init_shadow_spec_ctrl_state()
72 info->verw_sel = __HYPERVISOR_DS32; in init_shadow_spec_ctrl_state()
76 static always_inline void spec_ctrl_enter_idle(struct cpu_info *info) in spec_ctrl_enter_idle() argument
86 info->shadow_spec_ctrl = val; in spec_ctrl_enter_idle()
88 info->spec_ctrl_flags |= SCF_use_shadow; in spec_ctrl_enter_idle()
108 [sel] "m" (info->verw_sel)); in spec_ctrl_enter_idle()
114 uint32_t val = info->xen_spec_ctrl; in spec_ctrl_exit_idle()
[all …]
/xen/xen/arch/x86/
A Dpsr.c239 info->feat_init = false; in free_socket_resources()
818 if ( IS_ERR(info) ) in psr_get_info()
819 return PTR_ERR(info); in psr_get_info()
851 if ( IS_ERR(info) ) in psr_get_val()
852 return PTR_ERR(info); in psr_get_val()
1334 if ( IS_ERR(info) ) in psr_set_val()
1335 return PTR_ERR(info); in psr_set_val()
1367 ref = info->cos_ref; in psr_set_val()
1482 info->cos_ref[cos]--; in psr_free_cos()
1572 if ( info->feat_init ) in psr_cpu_init()
[all …]
/xen/xen/include/xen/
A Dsmp.h31 void (*func) (void *info),
32 void *info,
40 void (*func) (void *info),
41 void *info,
54 void (*func) (void *info), in on_each_cpu() argument
55 void *info, in on_each_cpu()
58 on_selected_cpus(&cpu_online_map, func, info, wait); in on_each_cpu()
/xen/tools/libxc/
A Dxc_cpupool.c71 xc_cpupoolinfo_t *info = NULL; in xc_cpupool_getinfo() local
101 if ( !info ) in xc_cpupool_getinfo()
104 info->cpumap = xc_cpumap_alloc(xch); in xc_cpupool_getinfo()
105 if (!info->cpumap) { in xc_cpupool_getinfo()
106 free(info); in xc_cpupool_getinfo()
107 info = NULL; in xc_cpupool_getinfo()
112 info->n_dom = sysctl.u.cpupool_op.n_dom; in xc_cpupool_getinfo()
113 memcpy(info->cpumap, local, local_size); in xc_cpupool_getinfo()
118 return info; in xc_cpupool_getinfo()
124 free(info->cpumap); in xc_cpupool_infofree()
[all …]
A Dxc_core_x86.c38 xc_core_arch_auto_translated_physmap(const xc_dominfo_t *info) in xc_core_arch_auto_translated_physmap() argument
40 return info->hvm; in xc_core_arch_auto_translated_physmap()
45 xc_dominfo_t *info, shared_info_any_t *live_shinfo, in xc_core_arch_memory_map_get() argument
52 if ( xc_domain_nr_gpfns(xch, info->domid, &p2m_size) < 0 ) in xc_core_arch_memory_map_get()
82 uint32_t dom = info->domid; in xc_core_arch_map_p2m_rw()
87 if ( xc_domain_nr_gpfns(xch, info->domid, &dinfo->p2m_size) < 0 ) in xc_core_arch_map_p2m_rw()
93 if ( dinfo->p2m_size < info->nr_pages ) in xc_core_arch_map_p2m_rw()
95 ERROR("p2m_size < nr_pages -1 (%lx < %lx", dinfo->p2m_size, info->nr_pages - 1); in xc_core_arch_map_p2m_rw()
189 xc_core_arch_map_p2m(xc_interface *xch, unsigned int guest_width, xc_dominfo_t *info, in xc_core_arch_map_p2m() argument
195 return xc_core_arch_map_p2m_rw(xch, dinfo, info, in xc_core_arch_map_p2m()
[all …]
A Dxc_core_arm.c35 xc_core_arch_auto_translated_physmap(const xc_dominfo_t *info) in xc_core_arch_auto_translated_physmap() argument
42 xc_dominfo_t *info, shared_info_any_t *live_shinfo, in xc_core_arch_memory_map_get() argument
49 if ( xc_domain_nr_gpfns(xch, info->domid, &p2m_size) < 0 ) in xc_core_arch_memory_map_get()
68 xc_core_arch_map_p2m_rw(xc_interface *xch, struct domain_info_context *dinfo, xc_dominfo_t *info, in xc_core_arch_map_p2m_rw() argument
77 xc_core_arch_map_p2m(xc_interface *xch, unsigned int guest_width, xc_dominfo_t *info, in xc_core_arch_map_p2m() argument
83 return xc_core_arch_map_p2m_rw(xch, dinfo, info, in xc_core_arch_map_p2m()
88 xc_core_arch_map_p2m_writable(xc_interface *xch, unsigned int guest_width, xc_dominfo_t *info, in xc_core_arch_map_p2m_writable() argument
94 return xc_core_arch_map_p2m_rw(xch, dinfo, info, in xc_core_arch_map_p2m_writable()
A Dxc_resume.c29 xc_dominfo_t info; in modify_returncode() local
35 if ( xc_domain_getinfo(xch, domid, 1, &info) != 1 || in modify_returncode()
36 info.domid != domid ) in modify_returncode()
42 if ( !info.shutdown || (info.shutdown_reason != SHUTDOWN_suspend) ) in modify_returncode()
45 info.shutdown, info.shutdown_reason); in modify_returncode()
50 if ( info.hvm ) in modify_returncode()
136 xc_dominfo_t info; in xc_domain_resume_any() local
151 if ( xc_domain_getinfo(xch, domid, 1, &info) != 1 ) in xc_domain_resume_any()
161 if ( info.hvm ) in xc_domain_resume_any()
177 PROT_READ, info.shared_info_frame); in xc_domain_resume_any()
[all …]
/xen/tools/python/scripts/
A Dconvert-legacy-stream38 def info(msg): function
241 info(" 64bit domain, 4 levels")
302 info("Got shinfo")
367 info("Chunk: %d - %s" %
371 info(" End")
398 info("This is a debug stream")
451 info(" Last Checkpoint")
504 info(" Discarding")
541 info("Qemu signature: %s" % (sig, ))
575 info("Processed xl header")
[all …]

Completed in 40 milliseconds

1234567891011