| /xen/xen/arch/x86/pv/ |
| A D | misc-hypercalls.c | 67 v->arch.dr[reg] = value; in set_debugreg() 87 if ( value != (uint32_t)value ) in set_debugreg() 90 value = x86_adj_dr6_rsvd(p, value); in set_debugreg() 92 v->arch.dr6 = value; in set_debugreg() 94 write_debugreg(6, value); in set_debugreg() 104 if ( value != (uint32_t)value ) in set_debugreg() 107 value = x86_adj_dr7_rsvd(p, value); in set_debugreg() 117 if ( value & DR7_ACTIVE_MASK ) in set_debugreg() 132 value &= ~io_enable; in set_debugreg() 146 v->arch.dr7 = value; in set_debugreg() [all …]
|
| /xen/tools/ocaml/libs/xc/ |
| A D | xenctrl_stubs.c | 197 CAMLprim value stub_xc_domain_create(value xch_val, value wanted_domid, value config) in stub_xc_domain_create() 326 value stub_xc_domain_sethandle(value xch_val, value domid, value handle) in stub_xc_domain_sethandle() 342 static value dom_op(value xch_val, value domid, in dom_op() 391 CAMLprim value stub_xc_domain_shutdown(value xch_val, value domid, value reason) in stub_xc_domain_shutdown() 459 CAMLprim value stub_xc_domain_getinfolist(value xch_val, value first_domain, value nb) in stub_xc_domain_getinfolist() 517 CAMLprim value stub_xc_vcpu_getinfo(value xch_val, value domid, value vcpu) in stub_xc_vcpu_getinfo() 686 CAMLprim value stub_xc_evtchn_status(value xch_val, value domid, value port) in stub_xc_evtchn_status() 1260 CAMLprim value stub_xc_hvm_param_get(value xch_val, value domid, value param) in stub_xc_hvm_param_get() 1277 CAMLprim value stub_xc_hvm_param_set(value xch_val, value domid, value param, value val) in stub_xc_hvm_param_set() 1321 CAMLprim value stub_xc_domain_assign_device(value xch_val, value domid, value desc) in stub_xc_domain_assign_device() [all …]
|
| /xen/tools/ocaml/libs/eventchn/ |
| A D | xeneventchn_stubs.c | 36 static inline xenevtchn_handle *xce_of_val(value v) in xce_of_val() 41 static void stub_evtchn_finalize(value v) in stub_evtchn_finalize() 56 CAMLprim value stub_eventchn_init(value cloexec) in stub_eventchn_init() 80 CAMLprim value stub_eventchn_fdopen(value fdval) in stub_eventchn_fdopen() 100 CAMLprim value stub_eventchn_fd(value xce_val) in stub_eventchn_fd() 114 CAMLprim value stub_eventchn_notify(value xce_val, value port) in stub_eventchn_notify() 130 CAMLprim value stub_eventchn_bind_interdomain(value xce_val, value domid, in stub_eventchn_bind_interdomain() 148 CAMLprim value stub_eventchn_bind_virq(value xce_val, value virq) in stub_eventchn_bind_virq() 164 CAMLprim value stub_eventchn_unbind(value xce_val, value port) in stub_eventchn_unbind() 180 CAMLprim value stub_eventchn_pending(value xce_val) in stub_eventchn_pending() [all …]
|
| /xen/tools/ocaml/libs/mmap/ |
| A D | xenmmap_stubs.c | 44 CAMLprim value stub_mmap_init(value fd, value pflag, value mflag, in stub_mmap_init() 45 value len, value offset) in stub_mmap_init() 64 BUILD_BUG_ON((sizeof(struct mmap_interface) % sizeof(value)) != 0); in stub_mmap_init() 75 CAMLprim value stub_mmap_final(value intf) in stub_mmap_final() 86 CAMLprim value stub_mmap_read(value intf, value start, value len) in stub_mmap_read() 107 CAMLprim value stub_mmap_write(value intf, value data, value start) in stub_mmap_write() 126 CAMLprim value stub_mmap_getpagesize(value unit) in stub_mmap_getpagesize()
|
| /xen/xen/drivers/acpi/ |
| A D | hwregs.c | 186 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 D | osl.c | 127 if (!value) in acpi_os_read_port() 128 value = &dummy; in acpi_os_read_port() 130 *value = 0; in acpi_os_read_port() 147 outb(value, port); in acpi_os_write_port() 149 outw(value, port); in acpi_os_write_port() 151 outl(value, port); in acpi_os_write_port() 168 if (!value) in acpi_os_read_memory() 169 value = &dummy; in acpi_os_read_memory() 200 writeb(value, virt_addr); in acpi_os_write_memory() 203 writew(value, virt_addr); in acpi_os_write_memory() [all …]
|
| /xen/stubdom/vtpmmgr/ |
| A D | endian_int.h | 9 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 D | amd_nonfatal.c | 131 uint64_t value; in mce_amd_work_fn() local 134 value = mca_rdmsr(MSR_IA32_MCx_MISC(4)); in mce_amd_work_fn() 138 counter = (value & 0xFFF00000000ULL) >> 32U; in mce_amd_work_fn() 161 value &= ~(0x60FFF00000000ULL); in mce_amd_work_fn() 163 value |= (1ULL << 51); in mce_amd_work_fn() 164 mca_wrmsr(MSR_IA32_MCx_MISC(4), value); in mce_amd_work_fn() 202 uint64_t value; in amd_nonfatal_mcheck_init() local 206 rdmsrl(MSR_IA32_MCx_MISC(4), value); in amd_nonfatal_mcheck_init() 224 value &= ~(0x60FFF00000000ULL); in amd_nonfatal_mcheck_init() 226 value |= (1ULL << 51); in amd_nonfatal_mcheck_init() [all …]
|
| /xen/xen/drivers/passthrough/ |
| A D | ats.c | 26 u32 value; in enable_ats_device() local 35 value = pci_conf_read16(pdev->sbdf, pos + ATS_REG_CTL); in enable_ats_device() 36 if ( value & ATS_ENABLE ) in enable_ats_device() 48 if ( !(value & ATS_ENABLE) ) in enable_ats_device() 50 value |= ATS_ENABLE; in enable_ats_device() 51 pci_conf_write16(pdev->sbdf, pos + ATS_REG_CTL, value); in enable_ats_device() 57 value = pci_conf_read16(pdev->sbdf, pos + ATS_REG_CAP); in enable_ats_device() 58 pdev->ats.queue_depth = value & ATS_QUEUE_DEPTH_MASK ?: in enable_ats_device() 72 u32 value; in disable_ats_device() local 76 value = pci_conf_read16(pdev->sbdf, pdev->ats.cap_pos + ATS_REG_CTL); in disable_ats_device() [all …]
|
| /xen/tools/ocaml/xenstored/ |
| A D | trie.ml | 24 value: 'a option; 28 let _create key value = { 30 value = Some value; 36 value = None; 42 match node.value with 44 | Some value -> value 49 { node with value = Some value } 75 f key node.Node.value; 82 let value = 85 | Some value -> f value [all …]
|
| /xen/tools/libs/util/ |
| A D | libxlu_cfg.c | 137 if (!value) return; in xlu__cfg_value_free() 139 switch (value->type) { in xlu__cfg_value_free() 148 free(value); in xlu__cfg_value_free() 205 return value->type; in xlu_cfg_value_type() 398 value = malloc(sizeof(*value)); in xlu__cfg_string_mk() 404 return value; in xlu__cfg_string_mk() 409 free(value); in xlu__cfg_string_mk() 427 value = malloc(sizeof(*value)); in xlu__cfg_list_mk() 435 return value; in xlu__cfg_list_mk() 440 free(value); in xlu__cfg_list_mk() [all …]
|
| A D | libxlu_cfg_y.y | 27 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/tools/ocaml/libs/xb/ |
| A D | xenbus_stubs.c | 33 CAMLprim value stub_header_size(value unit) in stub_header_size() 38 CAMLprim value stub_header_of_string(value s) in stub_header_of_string() 55 CAMLprim value stub_string_of_header(value tid, value rid, value ty, value len) in stub_string_of_header()
|
| A D | xs_ring_stubs.c | 48 CAMLprim value ml_interface_read(value ml_interface, in ml_interface_read() 49 value ml_buffer, in ml_interface_read() 50 value ml_len) in ml_interface_read() 107 CAMLprim value ml_interface_write(value ml_interface, in ml_interface_write() 108 value ml_buffer, in ml_interface_write() 109 value ml_len) in ml_interface_write() 166 CAMLprim value ml_interface_set_server_features(value interface, value v) in ml_interface_set_server_features() 178 CAMLprim value ml_interface_get_server_features(value interface) in ml_interface_get_server_features() 186 CAMLprim value ml_interface_close(value interface) in ml_interface_close()
|
| /xen/tools/libs/light/ |
| A D | libxl_vdispl.c | 108 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 …]
|
| /xen/xen/tools/kconfig/ |
| A D | preprocess.c | 40 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/arch/x86/ |
| A D | apic.c | 252 unsigned long value; in disconnect_bsp_APIC() local 260 value |= 0xf; in disconnect_bsp_APIC() 275 value &= ~( in disconnect_bsp_APIC() 427 unsigned long value; in init_bsp_APIC() local 444 value = apic_read(APIC_SPIV); in init_bsp_APIC() 445 value &= ~APIC_VECTOR_MASK; in init_bsp_APIC() 536 value &= ~APIC_VECTOR_MASK; in setup_local_APIC() 597 value = APIC_DM_EXTINT; in setup_local_APIC() 612 value = APIC_DM_NMI; in setup_local_APIC() 627 value = apic_read(APIC_ESR); in setup_local_APIC() [all …]
|
| A D | pci.c | 17 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/xen/arch/x86/include/asm/ |
| A D | cpufeatureset.h | 8 #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 D | pci.c | 16 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 D | hvm_param.c | 12 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/xen/arch/arm/pci/ |
| A D | pci-access.c | 22 uint32_t reg, uint32_t len, uint32_t *value) in pci_generic_config_read() argument 28 *value = INVALID_VALUE; in pci_generic_config_read() 35 *value = readb(addr); in pci_generic_config_read() 38 *value = readw(addr); in pci_generic_config_read() 41 *value = readl(addr); in pci_generic_config_read() 51 uint32_t reg, uint32_t len, uint32_t value) in pci_generic_config_write() argument 61 writeb(value, addr); in pci_generic_config_write() 64 writew(value, addr); in pci_generic_config_write() 67 writel(value, addr); in pci_generic_config_write()
|
| /xen/xen/include/xen/ |
| A D | kconfig.h | 27 #define _config_enabled(value) __config_enabled(__ARG_PLACEHOLDER_##value) argument 38 #define static_if(value) _static_if(__ARG_PLACEHOLDER_##value) argument 43 #define static_if_not(value) _static_if_not(__ARG_PLACEHOLDER_##value) argument
|
| A D | errno.h | 6 #define XEN_ERRNO(name, value) name = (value), argument 13 #define XEN_ERRNO(name, value) .equ name, value argument
|
| /xen/tools/libs/ctrl/ |
| A D | xc_vmtrace.c | 86 *pos = domctl.u.vmtrace_op.value; in xc_vmtrace_output_position() 93 uint64_t key, uint64_t *value) in xc_vmtrace_get_option() argument 107 *value = domctl.u.vmtrace_op.value; in xc_vmtrace_get_option() 114 uint64_t key, uint64_t value) in xc_vmtrace_set_option() argument 123 .value = value, in xc_vmtrace_set_option()
|