/xen/tools/libxl/ |
A D | libxl_arm.c | 241 if (res) return res; in fdt_property_interrupts() 244 if (res) return res; in fdt_property_interrupts() 280 if (res) return res; in make_root_properties() 287 if (res) return res; in make_root_properties() 290 if (res) return res; in make_root_properties() 293 if (res) return res; in make_root_properties() 296 if (res) return res; in make_root_properties() 309 if (res) return res; in make_chosen_node() 346 if (res) return res; in make_chosen_node() 358 if (res) return res; in make_cpus_node() [all …]
|
/xen/xen/arch/arm/ |
A D | domain_build.c | 111 int res, i; in insert_11_bank() local 135 if ( res ) in insert_11_bank() 388 int res; in allocate_bank_memory() local 662 int res; in fdt_property_interrupts() local 736 int res; in make_hypervisor_node() local 788 int res; in make_psci_node() local 824 int res; in make_cpus_node() local 1029 int res; in make_timer_node() local 1107 int res; in make_chosen_node() local 1149 int res; in map_irq_to_domain() local [all …]
|
A D | psci.c | 46 #define PSCI_RET(res) ((int32_t)(res).a0) argument 50 struct arm_smccc_res res; in call_psci_cpu_on() local 53 &res); in call_psci_cpu_on() 55 return PSCI_RET(res); in call_psci_cpu_on() 62 struct arm_smccc_res res; in call_psci_cpu_off() local 67 PSCI_RET(res)); in call_psci_cpu_off() 85 struct arm_smccc_res res; in psci_features() local 92 return PSCI_RET(res); in psci_features() 127 struct arm_smccc_res res; in psci_init_smccc() local 180 struct arm_smccc_res res; in psci_init_0_2() local [all …]
|
A D | platform.c | 49 int res = 0; in platform_init() local 71 res = platform->init(); in platform_init() 73 if ( res ) in platform_init() 79 int res = 0; in platform_init_time() local 82 res = platform->init_time(); in platform_init_time() 84 return res; in platform_init_time() 89 int res = 0; in platform_specific_mapping() local 92 res = platform->specific_mapping(d); in platform_specific_mapping() 94 return res; in platform_specific_mapping()
|
A D | gic-v2.c | 765 int res; in gicv2m_make_dt_node() local 783 if ( res ) in gicv2m_make_dt_node() 850 return res; in gicv2m_make_dt_node() 870 if ( res ) in gicv2_make_hwdom_dt_node() 889 if ( res ) in gicv2_make_hwdom_dt_node() 894 return res; in gicv2_make_hwdom_dt_node() 1032 int res; in gicv2_dt_init() local 1037 if ( res ) in gicv2_dt_init() 1041 if ( res ) in gicv2_dt_init() 1045 if ( res ) in gicv2_dt_init() [all …]
|
A D | time.c | 120 int res; in preinit_dt_xen_time() local 129 res = dt_property_read_u32(timer, "clock-frequency", &rate); in preinit_dt_xen_time() 130 if ( res ) in preinit_dt_xen_time() 139 int res; in preinit_xen_time() local 150 res = platform_init_time(); in preinit_xen_time() 151 if ( res ) in preinit_xen_time() 159 int res; in init_dt_xen_time() local 165 res = platform_get_irq(timer, i); in init_dt_xen_time() 167 if ( res < 0 ) in init_dt_xen_time() 169 timer_irq[i] = res; in init_dt_xen_time()
|
/xen/tools/tests/x86_emulator/ |
A D | test_x86_emulator.c | 2676 memcmp(res, res + 6, 8) ) in main() 2920 res[16] = ~0; res[18] = ~0; res[20] = ~0; res[22] = ~0; in main() 2921 res[24] = 0; res[26] = 0; res[28] = 0; res[30] = 0; in main() 4245 res[0] || memcmp(res + 1, res + 4, 12) ) in main() 4281 res[0] || res[1] || memcmp(res + 2, res + 4, 8) ) in main() 4315 res[0] || memcmp(res + 1, res + 4, 12) ) in main() 4351 res[0] || res[1] || memcmp(res + 2, res + 4, 8) ) in main() 4373 res[0] != res[2] || res[1] != 0x87654321 ) in main() 4413 res[0] != res[2] || res[1] != 0x87654321 ) in main() 4515 res[11] || res[12] || res[13] || res[14] ) in main() [all …]
|
A D | x86-emulate.c | 138 struct cpuid_leaf *res, in emul_test_cpuid() argument 142 : "=a" (res->a), "=b" (res->b), "=c" (res->c), "=d" (res->d) in emul_test_cpuid() 150 res->c |= 1U << 22; in emul_test_cpuid() 158 res->b |= (1U << 10) | (1U << 19); in emul_test_cpuid() 159 if ( res->b & (1U << 16) ) in emul_test_cpuid() 160 res->b |= 1U << 26; in emul_test_cpuid() 161 res->c |= 1U << 22; in emul_test_cpuid() 169 res->b |= 1U << 0; in emul_test_cpuid()
|
/xen/xen/include/asm-arm/ |
A D | smccc.h | 141 struct arm_smccc_res *___res = res; \ 225 struct arm_smccc_res *res); 238 __arm_smccc_1_0_smc_5(a0, a1, a2, a3, a4, 0, res) 240 #define __arm_smccc_1_0_smc_3(a0, a1, a2, a3, res) \ argument 241 __arm_smccc_1_0_smc_4(a0, a1, a2, a3, 0, res) 243 #define __arm_smccc_1_0_smc_2(a0, a1, a2, res) \ argument 244 __arm_smccc_1_0_smc_3(a0, a1, a2, 0, res) 246 #define __arm_smccc_1_0_smc_1(a0, a1, res) \ argument 247 __arm_smccc_1_0_smc_2(a0, a1, 0, res) 249 #define __arm_smccc_1_0_smc_0(a0, res) \ argument [all …]
|
/xen/xen/arch/arm/efi/ |
A D | efi-dom0.c | 142 int res; in acpi_make_efi_nodes() local 145 if ( res ) in acpi_make_efi_nodes() 146 return res; in acpi_make_efi_nodes() 150 if ( res ) in acpi_make_efi_nodes() 151 return res; in acpi_make_efi_nodes() 155 if ( res ) in acpi_make_efi_nodes() 156 return res; in acpi_make_efi_nodes() 160 if ( res ) in acpi_make_efi_nodes() 165 if ( res ) in acpi_make_efi_nodes() 169 if ( res ) in acpi_make_efi_nodes() [all …]
|
/xen/xen/arch/arm/arm64/lib/ |
A D | bitops.c | 37 unsigned long res, tmp; \ 45 : "=&r" (res), "+Q" (*ptr), "=&r" (tmp) \ 48 if ( !res ) \ 52 return !res; \ 73 unsigned long res, tmp; \ 82 : "=&r" (res), "=&r" (*oldbit), "+Q" (*ptr), "=&r" (tmp) \ 86 if ( !res ) \ 124 unsigned long res, tmp; in bitop() local 132 : "=&r" (res), "+Q" (*p), "=&r" (tmp) in bitop() 135 if ( !res ) in bitop() [all …]
|
/xen/xen/tools/kconfig/ |
A D | nconf.gui.c | 208 res++; in get_line_length() 210 return res; in get_line_length() 338 if (res == 10 || res == ' ') { in btn_dialog() 341 } else if (res == 27 || res == KEY_F(F_BACK) || in btn_dialog() 485 if ((isgraph(res) || isspace(res))) { in dialog_inputbox() 520 res = 0; in dialog_inputbox() 522 } else if (res == 27 || res == KEY_F(F_BACK) || in dialog_inputbox() 527 res = 1; in dialog_inputbox() 554 int res; in show_scroll_win() local 647 if (res == 10 || res == 27 || res == 'q' || in show_scroll_win() [all …]
|
A D | nconf.c | 649 int res; in do_exit() local 669 if (res) in do_exit() 1073 int res; in conf() local 1136 if (res == 10 || res == 27 || in conf() 1137 res == 32 || res == 'n' || res == 'y' || in conf() 1138 res == KEY_LEFT || res == KEY_RIGHT || in conf() 1318 if (res == 10 || res == 27 || res == ' ' || in conf_choice() 1325 if (res == 27 || res == KEY_LEFT) in conf_choice() 1353 int res; in conf_string() local 1395 int res; in conf_load() local [all …]
|
A D | mconf.c | 649 int res; in conf() local 669 if (res == 1 || res == KEY_ESC || res == -ERRDISPLAYTOOSMALL) in conf() 803 int res; in conf_choice() local 861 int res; in conf_string() local 900 int res; in conf_load() local 927 int res; in conf_save() local 952 int res; in handle_exit() local 963 res = -1; in handle_exit() 984 res = 0; in handle_exit() 992 res = 0; in handle_exit() [all …]
|
/xen/xen/arch/arm/arm32/lib/ |
A D | bitops.c | 38 unsigned long res, tmp; \ 49 : "=&r" (res), "+Qo" (*ptr), "=&r" (tmp) \ 52 if ( !res ) \ 56 return !res; \ 77 unsigned long res, tmp; \ 91 : "=&r" (res), "=&r" (*oldbit), "+Qo" (*ptr), "=&r" (tmp) \ 94 if ( !res ) \ 132 unsigned long res, tmp; in bitop() local 142 : "=&r" (res), "+Qo" (*p), "=&r" (tmp) in bitop() 145 if ( !res ) in bitop() [all …]
|
/xen/xen/include/asm-x86/guest/ |
A D | xen-hcall.h | 42 long res, tmp__; \ 45 : "=a" (res), "=D" (tmp__) ASM_CALL_CONSTRAINT \ 49 (type)res; \ 54 long res, tmp__; \ 57 : "=a" (res), "=D" (tmp__), "=S" (tmp__) \ 62 (type)res; \ 67 long res, tmp__; \ 70 : "=a" (res), "=D" (tmp__), "=S" (tmp__), "=d" (tmp__) \ 75 (type)res; \ 80 long res, tmp__; \ [all …]
|
/xen/stubdom/ |
A D | vtpm-deepquote-anyloc.patch | 8 TPM_RESULT res; 31 if (res != TPM_SUCCESS) return res; 38 res = TPM_FAIL; 43 return res; 81 TPM_RESULT res; 89 res = TPM_FAIL; 91 if (res == TPM_SUCCESS) 92 - res = VTPM_GetParentQuote(&hres, sel, sigSize, sig); 96 return res; 104 TPM_RESULT res; [all …]
|
A D | vtpm-deepquote.patch | 6 return res; 12 + TPM_RESULT res; 30 + if (res != TPM_SUCCESS) return res; 35 + res = TPM_FAIL; 39 + return res; 56 res = mtm_execute_command(req, rsp); 93 return res; 104 + TPM_RESULT res; 114 + if (res != TPM_SUCCESS) return res; 117 + if (res != TPM_SUCCESS) return res; [all …]
|
A D | vtpm-parent-sign-ek.patch | 6 return res; 12 + TPM_RESULT res; 28 + if (res != TPM_SUCCESS) return res; 33 + res = TPM_FAIL; 37 + return res; 100 + TPM_RESULT res; 106 + if (res != TPM_SUCCESS) return res; 111 + if (res != TPM_SUCCESS) return res; 114 + res = TPM_FAIL; 116 + if (res == TPM_SUCCESS) [all …]
|
/xen/xen/arch/x86/ |
A D | extable.c | 134 union stub_exception_token res; in stub_selftest() member 137 .res.fields.trapnr = TRAP_invalid_op }, in stub_selftest() 140 .res.fields.trapnr = TRAP_gp_fault }, in stub_selftest() 143 .res.fields.trapnr = TRAP_stack_error }, in stub_selftest() 145 .res.fields.trapnr = TRAP_int3 }, in stub_selftest() 157 union stub_exception_token res = { .raw = ~0 }; in stub_selftest() local 171 : [exn] "+m" (res) ASM_CALL_CONSTRAINT in stub_selftest() 174 if ( res.raw != tests[i].res.raw ) in stub_selftest() 179 tests[i].res.fields.trapnr, tests[i].res.fields.ec, in stub_selftest() 180 res.fields.trapnr, res.fields.ec); in stub_selftest()
|
A D | cpuid.c | 55 int res; in parse_xen_cpuid() local 58 res = cmdline_strcmp(feat, mid->name); in parse_xen_cpuid() 60 if ( res < 0 ) in parse_xen_cpuid() 65 if ( res > 0 ) in parse_xen_cpuid() 743 *res = EMPTY_LEAF; in guest_cpuid() 845 res->b &= 0x00ffffffu; in guest_cpuid() 1006 *res = EMPTY_LEAF; in guest_cpuid() 1010 if ( (res->a & 0xff) > 3 ) in guest_cpuid() 1011 res->a = (res->a & ~0xff) | 3; in guest_cpuid() 1025 *(uint8_t *)&res->c = subleaf; in guest_cpuid() [all …]
|
A D | bitops.c | 8 unsigned long d0, d1, res; in __find_first_bit() local 20 : "=&a" (res), "=&c" (d0), "=&D" (d1) in __find_first_bit() 24 return res; in __find_first_bit() 56 unsigned long d0, d1, d2, res; in __find_first_zero_bit() local 70 : "=&d" (res), "=&c" (d0), "=&D" (d1), "=&a" (d2) in __find_first_zero_bit() 74 return res; in __find_first_zero_bit()
|
/xen/tools/misc/ |
A D | xenhypfs.c | 86 char *res; in xenhypfs_type() local 90 res = "<dir> "; in xenhypfs_type() 93 res = "<blob> "; in xenhypfs_type() 96 res = "<string>"; in xenhypfs_type() 99 res = "<uint> "; in xenhypfs_type() 102 res = "<int> "; in xenhypfs_type() 105 res = "<bool> "; in xenhypfs_type() 108 res = "<\?\?\?> "; in xenhypfs_type() 112 return res; in xenhypfs_type()
|
/xen/xen/arch/x86/pv/ |
A D | emul-inv-op.c | 30 struct cpuid_leaf res; in emulate_forced_invalid_op() local 65 guest_cpuid(current, regs->eax, regs->ecx, &res); in emulate_forced_invalid_op() 67 regs->rax = res.a; in emulate_forced_invalid_op() 68 regs->rbx = res.b; in emulate_forced_invalid_op() 69 regs->rcx = res.c; in emulate_forced_invalid_op() 70 regs->rdx = res.d; in emulate_forced_invalid_op()
|
/xen/xen/drivers/char/ |
A D | pl011.c | 260 int res; in pl011_dt_uart_init() local 269 if ( res ) in pl011_dt_uart_init() 273 return res; in pl011_dt_uart_init() 276 res = platform_get_irq(dev, 0); in pl011_dt_uart_init() 277 if ( res < 0 ) in pl011_dt_uart_init() 283 res = pl011_uart_init(res, addr, size, false); in pl011_dt_uart_init() 284 if ( res < 0 ) in pl011_dt_uart_init() 287 return res; in pl011_dt_uart_init() 313 int res; variable 333 if ( res < 0 ) [all …]
|