Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/xen/xen/arch/x86/pv/
A Dmisc-hypercalls.c28 return set_debugreg(current, reg, value); in do_set_debugreg()
74 v->arch.dr[reg] = value; in set_debugreg()
94 if ( value != (uint32_t)value ) in set_debugreg()
104 v->arch.dr6 = value; in set_debugreg()
106 write_debugreg(6, value); in set_debugreg()
116 if ( value != (uint32_t)value ) in set_debugreg()
129 if ( value & DR_GENERAL_DETECT ) in set_debugreg()
133 if ( value & DR7_ACTIVE_MASK ) in set_debugreg()
148 value &= ~io_enable; in set_debugreg()
162 v->arch.dr7 = value; in set_debugreg()
[all …]
/xen/tools/ocaml/libs/xc/
A Dxenctrl_stubs.c178 CAMLprim value stub_xc_domain_create(value xch, value config) in stub_xc_domain_create()
279 value stub_xc_domain_sethandle(value xch, value domid, value handle) in stub_xc_domain_sethandle()
309 CAMLprim value stub_xc_domain_pause(value xch, value domid) in stub_xc_domain_pause()
315 CAMLprim value stub_xc_domain_unpause(value xch, value domid) in stub_xc_domain_unpause()
340 CAMLprim value stub_xc_domain_shutdown(value xch, value domid, value reason) in stub_xc_domain_shutdown()
407 CAMLprim value stub_xc_domain_getinfolist(value xch, value first_domain, value nb) in stub_xc_domain_getinfolist()
465 CAMLprim value stub_xc_vcpu_getinfo(value xch, value domid, value vcpu) in stub_xc_vcpu_getinfo()
1093 CAMLprim value stub_xc_domain_test_assign_device(value xch, value domid, value desc) in stub_xc_domain_test_assign_device()
1115 CAMLprim value stub_xc_domain_assign_device(value xch, value domid, value desc, in stub_xc_domain_assign_device()
1139 CAMLprim value stub_xc_domain_deassign_device(value xch, value domid, value desc) in stub_xc_domain_deassign_device()
[all …]
/xen/tools/ocaml/libs/xl/
A Dxenlight_stubs.c481 value stub_libxl_domain_create_new(value ctx, value domain_config, value async, value unit) in stub_libxl_domain_create_new()
554 value stub_libxl_domain_shutdown(value ctx, value domid, value async, value unit) in stub_libxl_domain_shutdown()
573 value stub_libxl_domain_reboot(value ctx, value domid, value async, value unit) in stub_libxl_domain_reboot()
592 value stub_libxl_domain_destroy(value ctx, value domid, value async, value unit) in stub_libxl_domain_destroy()
611 value stub_libxl_domain_suspend(value ctx, value domid, value fd, value async, value unit) in stub_libxl_domain_suspend()
631 value stub_libxl_domain_pause(value ctx, value domid, value async) in stub_libxl_domain_pause()
650 value stub_libxl_domain_unpause(value ctx, value domid, value async) in stub_libxl_domain_unpause()
709 value stub_xl_device_nic_of_devid(value ctx, value domid, value devid) in DEVICE_ADDREMOVE()
783 value stub_xl_device_disk_of_vdev(value ctx, value domid, value vdev) in stub_xl_device_disk_of_vdev()
1046 value stub_xl_send_trigger(value ctx, value domid, value trigger, value vcpuid, value async) in stub_xl_send_trigger()
[all …]
/xen/tools/ocaml/libs/eventchn/
A Dxeneventchn_stubs.c39 CAMLprim value stub_eventchn_init(void) in stub_eventchn_init()
52 result = (value)xce; in stub_eventchn_init()
56 CAMLprim value stub_eventchn_fd(value xce) in stub_eventchn_fd()
71 CAMLprim value stub_eventchn_notify(value xce, value port) in stub_eventchn_notify()
86 CAMLprim value stub_eventchn_bind_interdomain(value xce, value domid, in stub_eventchn_bind_interdomain()
87 value remote_port) in stub_eventchn_bind_interdomain()
104 CAMLprim value stub_eventchn_bind_virq(value xce, value virq_type) in stub_eventchn_bind_virq()
121 CAMLprim value stub_eventchn_unbind(value xce, value port) in stub_eventchn_unbind()
136 CAMLprim value stub_eventchn_pending(value xce) in stub_eventchn_pending()
153 CAMLprim value stub_eventchn_unmask(value xce, value _port) in stub_eventchn_unmask()
/xen/tools/ocaml/libs/mmap/
A Dxenmmap_stubs.c42 CAMLprim value stub_mmap_init(value fd, value pflag, value mflag, in stub_mmap_init()
43 value len, value offset) in stub_mmap_init()
71 CAMLprim value stub_mmap_final(value intf) in stub_mmap_final()
82 CAMLprim value stub_mmap_read(value intf, value start, value len) in stub_mmap_read()
103 CAMLprim value stub_mmap_write(value intf, value data, in stub_mmap_write()
104 value start, value len) in stub_mmap_write()
123 CAMLprim value stub_mmap_getpagesize(value unit) in stub_mmap_getpagesize()
/xen/xen/drivers/acpi/
A Dhwregs.c186 value = ACPI_REGISTER_PREPARE_BITS(value, in acpi_set_register()
190 if (value) { in acpi_set_register()
192 (u16) value); in acpi_set_register()
202 value); in acpi_set_register()
221 value); in acpi_set_register()
247 value); in acpi_set_register()
539 value, in acpi_hw_register_write()
589 *value = 0; in acpi_hw_low_level_read()
605 value, width); in acpi_hw_low_level_read()
615 *value, width, in acpi_hw_low_level_read()
[all …]
A Dosl.c125 if (!value) in acpi_os_read_port()
126 value = &dummy; in acpi_os_read_port()
128 *value = 0; in acpi_os_read_port()
145 outb(value, port); in acpi_os_write_port()
147 outw(value, port); in acpi_os_write_port()
149 outl(value, port); in acpi_os_write_port()
166 if (!value) in acpi_os_read_memory()
167 value = &dummy; in acpi_os_read_memory()
198 writeb(value, virt_addr); in acpi_os_write_memory()
201 writew(value, virt_addr); in acpi_os_write_memory()
[all …]
/xen/stubdom/vtpmmgr/
A Dendian_int.h9 uint16_t value; member
13 uint32_t value; member
17 uint32_t value; member
21 uint64_t value; member
26 return be16_to_cpu(v.value); in be16_native()
31 return le32_to_cpu(v.value); in le32_native()
36 return be32_to_cpu(v.value); in be32_native()
47 rv.value = cpu_to_be16(v); in native_be16()
54 rv.value = cpu_to_le32(v); in native_le32()
61 rv.value = cpu_to_be32(v); in native_be32()
[all …]
/xen/xen/arch/x86/cpu/mcheck/
A Damd_nonfatal.c143 uint64_t value; in mce_amd_work_fn() local
146 value = mca_rdmsr(MSR_IA32_MCx_MISC(4)); in mce_amd_work_fn()
150 counter = (value & 0xFFF00000000ULL) >> 32U; in mce_amd_work_fn()
173 value &= ~(0x60FFF00000000ULL); in mce_amd_work_fn()
175 value |= (1ULL << 51); in mce_amd_work_fn()
176 mca_wrmsr(MSR_IA32_MCx_MISC(4), value); in mce_amd_work_fn()
214 uint64_t value; in amd_nonfatal_mcheck_init() local
218 rdmsrl(MSR_IA32_MCx_MISC(4), value); in amd_nonfatal_mcheck_init()
236 value &= ~(0x60FFF00000000ULL); in amd_nonfatal_mcheck_init()
238 value |= (1ULL << 51); in amd_nonfatal_mcheck_init()
[all …]
/xen/xen/arch/x86/cpu/
A Dhygon.c33 unsigned long long value; in init_hygon() local
42 if (rdmsr_safe(MSR_AMD64_DE_CFG, value)) in init_hygon()
46 else if (value & AMD64_DE_CFG_LFENCE_SERIALISE) in init_hygon()
51 value | AMD64_DE_CFG_LFENCE_SERIALISE) || in init_hygon()
52 rdmsr_safe(MSR_AMD64_DE_CFG, value) || in init_hygon()
53 !(value & AMD64_DE_CFG_LFENCE_SERIALISE)) in init_hygon()
66 if (opt_ssbd && !rdmsr_safe(MSR_AMD64_LS_CFG, value)) { in init_hygon()
67 value |= 1ull << 10; in init_hygon()
68 wrmsr_safe(MSR_AMD64_LS_CFG, value); in init_hygon()
98 rdmsrl(MSR_K7_HWCR, value); in init_hygon()
[all …]
A Damd.c649 unsigned long long value; in init_amd() local
658 rdmsrl(MSR_K7_HWCR, value); in init_amd()
659 value |= 1 << 6; in init_amd()
660 wrmsrl(MSR_K7_HWCR, value); in init_amd()
735 value |= 1ull << bit; in init_amd()
794 value |= 1ULL << 54; in init_amd()
797 if (value & (1ULL << 54)) { in init_amd()
809 !rdmsr_safe(MSR_AMD64_IC_CFG, value) && (value & 0x1e) != 0x1e) in init_amd()
853 if (!(value & (1 << 15))) { in init_amd()
865 if (!(value & (1U << 31))) { in init_amd()
[all …]
/xen/tools/ocaml/xenstored/
A Dtrie.ml20 value: 'b option;
24 let _create key value = {
26 value = Some value;
32 value = None;
38 match node.value with
40 | Some value -> value
44 let set_value node value =
45 { node with value = Some value }
88 let value =
91 | Some value -> f value
[all …]
/xen/tools/libxl/
A Dlibxlu_cfg.c138 if (!value) return; in xlu__cfg_value_free()
140 switch (value->type) { in xlu__cfg_value_free()
149 free(value); in xlu__cfg_value_free()
206 return value->type; in xlu_cfg_value_type()
399 value = malloc(sizeof(*value)); in xlu__cfg_string_mk()
405 return value; in xlu__cfg_string_mk()
410 free(value); in xlu__cfg_string_mk()
428 value = malloc(sizeof(*value)); in xlu__cfg_list_mk()
436 return value; in xlu__cfg_list_mk()
441 free(value); in xlu__cfg_list_mk()
[all …]
A Dlibxl_vdispl.c108 char *value; in libxl__device_vdispl_getconnectors() local
117 if (value == NULL) { rc = ERROR_FAIL; goto out; } in libxl__device_vdispl_getconnectors()
121 free(value); in libxl__device_vdispl_getconnectors()
129 info->connectors[i].req_rref = value ? strtoul(value, NULL, 10) : -1; in libxl__device_vdispl_getconnectors()
130 free(value); in libxl__device_vdispl_getconnectors()
134 info->connectors[i].req_evtch = value ? strtoul(value, NULL, 10) : -1; in libxl__device_vdispl_getconnectors()
135 free(value); in libxl__device_vdispl_getconnectors()
139 info->connectors[i].evt_rref = value ? strtoul(value, NULL, 10) : -1; in libxl__device_vdispl_getconnectors()
140 free(value); in libxl__device_vdispl_getconnectors()
144 info->connectors[i].evt_evtch = value ? strtoul(value, NULL, 10) : -1; in libxl__device_vdispl_getconnectors()
[all …]
A Dlibxlu_cfg_y.y27 XLU_ConfigValue *value; member
43 %type <value> value valuelist values
44 %destructor { xlu__cfg_value_free($$); } value valuelist values
58 assignment: IDENT '=' value { xlu__cfg_set_store(ctx,$1,XLU_OP_ASSIGNMENT,$3,@3.first_line); }
59 | IDENT "+=" value { xlu__cfg_set_store(ctx,$1,XLU_OP_ADDITION,$3,@3.first_line); }
64 value: atom { $$= xlu__cfg_string_mk(ctx,$1,&@1); }
74 values: value nlok { $$= xlu__cfg_list_mk(ctx,$1,&@1); }
75 | values ',' nlok value nlok { xlu__cfg_list_append(ctx,$1,$4); $$= $1; }
/xen/xen/drivers/passthrough/x86/
A Dats.c26 u32 value; in enable_ats_device() local
38 value = pci_conf_read16(pdev->sbdf, pos + ATS_REG_CTL); in enable_ats_device()
39 if ( value & ATS_ENABLE ) in enable_ats_device()
51 if ( !(value & ATS_ENABLE) ) in enable_ats_device()
53 value |= ATS_ENABLE; in enable_ats_device()
54 pci_conf_write16(pdev->sbdf, pos + ATS_REG_CTL, value); in enable_ats_device()
60 value = pci_conf_read16(pdev->sbdf, pos + ATS_REG_CAP); in enable_ats_device()
61 pdev->ats.queue_depth = value & ATS_QUEUE_DEPTH_MASK ?: in enable_ats_device()
76 u32 value; in disable_ats_device() local
82 value = pci_conf_read16(pdev->sbdf, pdev->ats.cap_pos + ATS_REG_CTL); in disable_ats_device()
[all …]
/xen/xen/arch/x86/
A Dapic.c264 unsigned long value; in disconnect_bsp_APIC() local
272 value |= 0xf; in disconnect_bsp_APIC()
282 value = SET_APIC_DELIVERY_MODE(value, APIC_MODE_EXTINT); in disconnect_bsp_APIC()
288 value &= ~( in disconnect_bsp_APIC()
293 value = SET_APIC_DELIVERY_MODE(value, APIC_MODE_NMI); in disconnect_bsp_APIC()
441 unsigned long value; in init_bsp_APIC() local
459 value &= ~APIC_VECTOR_MASK; in init_bsp_APIC()
558 value &= ~APIC_VECTOR_MASK; in setup_local_APIC()
619 value = APIC_DM_EXTINT; in setup_local_APIC()
634 value = APIC_DM_NMI; in setup_local_APIC()
[all …]
A Dpci.c17 uint32_t value; in pci_conf_read() local
28 value = inb(0xcfc + offset); in pci_conf_read()
31 value = inw(0xcfc + offset); in pci_conf_read()
34 value = inl(0xcfc + offset); in pci_conf_read()
37 value = 0; in pci_conf_read()
43 return value; in pci_conf_read()
/xen/tools/ocaml/libs/xb/
A Dxs_ring_stubs.c47 CAMLprim value ml_interface_read(value ml_interface, in ml_interface_read()
48 value ml_buffer, in ml_interface_read()
49 value ml_len) in ml_interface_read()
106 CAMLprim value ml_interface_write(value ml_interface, in ml_interface_write()
107 value ml_buffer, in ml_interface_write()
108 value ml_len) in ml_interface_write()
165 CAMLprim value ml_interface_set_server_features(value interface, value v) in ml_interface_set_server_features()
175 CAMLprim value ml_interface_get_server_features(value interface) in ml_interface_get_server_features()
183 CAMLprim value ml_interface_close(value interface) in ml_interface_close()
A Dxenbus_stubs.c33 CAMLprim value stub_header_size(void) in stub_header_size()
39 CAMLprim value stub_header_of_string(value s) in stub_header_of_string()
56 CAMLprim value stub_string_of_header(value tid, value rid, value ty, value len) in stub_string_of_header()
/xen/xen/tools/kconfig/
A Dpreprocess.c40 char *value; member
50 e->value = xstrdup(value); in env_add()
59 free(e->value); in env_del()
67 const char *value; in env_expand() local
77 value = getenv(name); in env_expand()
78 if (!value) in env_expand()
85 env_add(name, value); in env_expand()
233 char *value; member
293 free(v->value); in variable_add()
314 v->value = xrealloc(v->value, in variable_add()
[all …]
/xen/xen/include/asm-x86/
A Dcpufeatureset.h8 #define XEN_CPUFEATURE(name, value) X86_FEATURE_##name = value, argument
15 #define XEN_CPUFEATURE(name, value) asm (".equ X86_FEATURE_" #name ", " \ argument
16 __stringify(value));
22 #define XEN_CPUFEATURE(name, value) .equ X86_FEATURE_##name, value argument
/xen/xen/arch/x86/x86_64/
A Dpci.c16 uint32_t value; in pci_conf_read8() local
20 pci_mmcfg_read(sbdf.seg, sbdf.bus, sbdf.devfn, reg, 1, &value); in pci_conf_read8()
21 return value; in pci_conf_read8()
31 uint32_t value; in pci_conf_read16() local
33 pci_mmcfg_read(sbdf.seg, sbdf.bus, sbdf.devfn, reg, 2, &value); in pci_conf_read16()
34 return value; in pci_conf_read16()
44 uint32_t value; in pci_conf_read32() local
46 pci_mmcfg_read(sbdf.seg, sbdf.bus, sbdf.devfn, reg, 4, &value); in pci_conf_read32()
47 return value; in pci_conf_read32()
/xen/tools/firmware/hvmloader/
A Dhvm_param.c12 int hvm_param_get(uint32_t index, uint64_t *value) in hvm_param_get() argument
22 *value = p.value; in hvm_param_get()
27 int hvm_param_set(uint32_t index, uint64_t value) in hvm_param_set() argument
33 p.value = value; in hvm_param_set()
/xen/tools/ocaml/libs/xentoollog/
A Dxentoollog_stubs.c41 static char * dup_String_val(value s) in dup_String_val()
59 static value Val_some(value v) in Val_some()
68 static value Val_errno(int errnoval) in Val_errno()
75 static value Val_context(const char *context) in Val_context()
93 const value *func = caml_named_value(xtl->vmessage_cb); in stub_xtl_ocaml_vmessage()
123 const value *func = caml_named_value(xtl->progress_cb); in stub_xtl_ocaml_progress()
148 void xtl_finalize(value handle) in xtl_finalize()
163 CAMLprim value stub_xtl_create_logger(value cbs) in stub_xtl_create_logger()
187 CAMLprim value stub_xtl_test(value handle) in stub_xtl_test()

Completed in 52 milliseconds

12345678910>>...13