/xen/xen/drivers/acpi/ |
A D | hwregs.c | 302 status = in acpi_hw_register_read() 311 status = in acpi_hw_register_read() 319 status = in acpi_hw_register_read() 327 status = in acpi_hw_register_read() 334 status = in acpi_hw_register_read() 341 status = in acpi_hw_register_read() 349 status = in acpi_hw_register_read() 356 status = in acpi_hw_register_read() 363 status = in acpi_hw_register_read() 369 status = in acpi_hw_register_read() [all …]
|
/xen/tools/xcutils/ |
A D | lsevtchn.c | 13 xc_evtchn_status_t status; in main() local 23 status.dom = domid; in main() 24 status.port = port; in main() 25 rc = xc_evtchn_status(xch, &status); in main() 29 if ( status.status == EVTCHNSTAT_closed ) in main() 32 printf("%4d: VCPU %u: ", port, status.vcpu); in main() 34 switch ( status.status ) in main() 38 status.u.unbound.dom); in main() 42 status.u.interdomain.dom, status.u.interdomain.port); in main() 45 printf("Physical IRQ %u", status.u.pirq); in main() [all …]
|
/xen/xen/arch/x86/cpu/mcheck/ |
A D | mce_intel.c | 247 if ( status & MCi_STATUS_S ) in intel_check_mce_type() 412 && !(status & MCi_STATUS_PCC) && !(status & MCi_STATUS_S) in intel_need_clearbank_scan() 426 if ( (status & MCi_STATUS_UC) && (status & MCi_STATUS_PCC) ) in intel_need_clearbank_scan() 430 && (status & MCi_STATUS_UC) && !(status & MCi_STATUS_EN) ) in intel_need_clearbank_scan() 434 && (status & MCi_STATUS_S) && (status & MCi_STATUS_AR) in intel_need_clearbank_scan() 439 && (status & MCi_STATUS_S) && (status & MCi_STATUS_UC) ) in intel_need_clearbank_scan() 466 && !(status & MCi_STATUS_PCC) && (status & MCi_STATUS_S) in intel_recoverable_scan() 467 && (status & MCi_STATUS_AR) && (status & MCi_STATUS_EN) ) in intel_recoverable_scan() 471 && (status & MCi_STATUS_S) && !(status & MCi_STATUS_AR) in intel_recoverable_scan() 476 && (status & MCi_STATUS_EN) && !(status & MCi_STATUS_PCC) in intel_recoverable_scan() [all …]
|
A D | mcaction.c | 9 mfn_t mfn, uint32_t status) in mci_action_add_pageoffline() argument 26 rec->action_info.page_retire.status = status; in mci_action_add_pageoffline() 47 uint32_t status; in mc_memerr_dhandler() local 59 if ( offline_page(mfn, 1, &status) ) in mc_memerr_dhandler() 67 mci_action_add_pageoffline(binfo->bank, binfo->mi, mfn, status); in mc_memerr_dhandler() 70 if ( status & PG_OFFLINE_OFFLINED ) in mc_memerr_dhandler() 72 else if ( status & PG_OFFLINE_AGAIN ) in mc_memerr_dhandler() 74 else if ( status & PG_OFFLINE_PENDING ) in mc_memerr_dhandler() 77 if ( status & PG_OFFLINE_OWNED ) in mc_memerr_dhandler() 79 bank->mc_domid = status >> PG_OFFLINE_OWNER_SHIFT; in mc_memerr_dhandler()
|
A D | mce_amd.c | 116 bool mc_amd_recoverable_scan(uint64_t status) in mc_amd_recoverable_scan() argument 122 if ( !(status & MCi_STATUS_UC) ) in mc_amd_recoverable_scan() 125 errorcode = status & (MCi_STATUS_MCA | MCi_STATUS_MSEC); in mc_amd_recoverable_scan() 146 bool mc_amd_addrcheck(uint64_t status, uint64_t misc, int addrtype) in mc_amd_addrcheck() argument 151 errorcode = status & (MCi_STATUS_MCA | MCi_STATUS_MSEC); in mc_amd_addrcheck() 220 amd_f10_handler(struct mc_info *mi, uint16_t bank, uint64_t status) in amd_f10_handler() argument 229 if ( !(status & MCi_STATUS_VAL) ) in amd_f10_handler() 232 if ( !(status & MCi_STATUS_MISCV) ) in amd_f10_handler() 255 static bool amd_need_clearbank_scan(enum mca_source who, uint64_t status) in amd_need_clearbank_scan() argument 264 if ( (status & MCi_STATUS_UC) && (status & MCi_STATUS_PCC) ) in amd_need_clearbank_scan()
|
/xen/xen/include/asm-x86/guest/ |
A D | hyperv-hcall.h | 33 uint64_t status; in hv_do_hypercall() local 38 : "=a" (status), "+c" (control), in hv_do_hypercall() 43 return status; in hv_do_hypercall() 49 uint64_t status; in hv_do_fast_hypercall() local 55 : "=a" (status), "+c" (control), in hv_do_fast_hypercall() 59 return status; in hv_do_fast_hypercall() 67 uint64_t status; in hv_do_rep_hypercall() local 74 status = hv_do_hypercall(control, input, output); in hv_do_rep_hypercall() 75 if ( (status & HV_HYPERCALL_RESULT_MASK) != HV_STATUS_SUCCESS ) in hv_do_rep_hypercall() 78 rep_comp = MASK_EXTR(status, HV_HYPERCALL_REP_COMP_MASK); in hv_do_rep_hypercall() [all …]
|
/xen/tools/console/testsuite/ |
A D | procpipe.c | 77 int status; in main() local 118 waitpid(pid1, &status, 0); in main() 119 if (WIFEXITED(status)) status = WEXITSTATUS(status); in main() 121 if (status != 0) { in main() 122 printf("Child exited with status %d\n", status); in main() 125 waitpid(pid2, &status, 0); in main() 126 if (WIFEXITED(status)) status = WEXITSTATUS(status); in main() 128 if (status != 0) { in main() 129 printf("Child2 exited with status %d\n", status); in main()
|
/xen/xen/drivers/acpi/tables/ |
A D | tbxface.c | 107 acpi_status status; in acpi_initialize_tables() local 117 if (ACPI_FAILURE(status)) { in acpi_initialize_tables() 148 status = in acpi_initialize_tables() 150 return_ACPI_STATUS(status); in acpi_initialize_tables() 172 acpi_status status; in acpi_get_table() local 194 status = in acpi_get_table() 196 if (ACPI_SUCCESS(status)) { in acpi_get_table() 202 return (status); in acpi_get_table() 227 acpi_status status; in acpi_get_table_phys() local 241 status = in acpi_get_table_phys() [all …]
|
/xen/stubdom/vtpmmgr/ |
A D | vtpm_cmd_handler.c | 170 if (status) in vtpmmgr_SaveHashKey() 182 return status; in vtpmmgr_SaveHashKey() 195 if (status) in vtpmmgr_LoadHashKey() 211 return status; in vtpmmgr_LoadHashKey() 222 if (status) \ 225 return status 229 if (status) { \ 303 if (status) in vtpmmgr_GetQuote() 556 if (status) in vtpmmgr_GroupRegister() 648 status = rc; in vtpmmgr_GroupUpdate() [all …]
|
A D | tpm.c | 319 return status; in TPM_OIAP() 357 return status; in TPM_OSAP() 424 return status; in TPM_TakeOwnership() 441 return status; in TPM_DisablePubekRead() 461 return status; in TPM_TerminateHandle() 480 return status; in TPM_Extend() 490 return status; in TPM_Reset() 527 if (status) in TPM_Seal() 530 return status; in TPM_Seal() 561 return status; in TPM_Unseal() [all …]
|
A D | tpm2.c | 164 return status; in TPM2_PCR_Read() 198 return status; in TPM2_Load() 246 return status; in TPM2_Create() 302 return status; in TPM2_CreatePrimary() 315 return status; in TPM2_HierachyChangeAuth() 337 return status; in TPM2_RSA_ENCRYPT() 359 return status; in TPM2_Bind() 386 return status; in TPM2_RSA_Decrypt() 395 UINT32 status; in TPM2_UnBind() local 411 return status; in TPM2_UnBind() [all …]
|
A D | init.c | 86 TPM_RESULT status; in check_tpm_version() local 122 return status; in check_tpm_version() 164 return status; in flush_tpm() 175 switch(status) { in try_take_ownership() 245 return status; in try_take_ownership() 382 return status; in vtpmmgr_create() 498 return status; in vtpmmgr_init() 582 return status; in tpm2_take_ownership() 647 return status; in vtpmmgr2_create() 756 return status; in vtpmmgr2_init() [all …]
|
/xen/tools/misc/ |
A D | xen-hptool.c | 36 uint32_t status; in hp_mem_online_func() local 49 ret = xc_mark_page_online(xch, mfn, mfn, &status); in hp_mem_online_func() 58 else if (status & PG_ONLINE_ONLINED) in hp_mem_online_func() 68 uint32_t status; in hp_mem_query_func() local 86 printf("Memory Status %x: [", status); in hp_mem_query_func() 89 if ( status & PG_OFFLINE_STATUS_BROKEN ) in hp_mem_query_func() 91 if ( status & PG_OFFLINE_STATUS_OFFLINED ) in hp_mem_query_func() 149 uint32_t status, domid; in hp_mem_offline_func() local 171 switch(status & PG_OFFLINE_STATUS_MASK) in hp_mem_offline_func() 177 if (status & PG_OFFLINE_BROKEN) in hp_mem_offline_func() [all …]
|
/xen/tools/libxl/ |
A D | libxl_exec.c | 114 if (WIFEXITED(status)) { in libxl_report_child_exitstatus() 115 int st = WEXITSTATUS(status); in libxl_report_child_exitstatus() 123 int sig = WTERMSIG(status); in libxl_report_child_exitstatus() 282 int status, rc; in libxl__spawn_spawn() local 336 r = (WIFEXITED(status) && WEXITSTATUS(status) <= 127 ? WEXITSTATUS(status) : in libxl__spawn_spawn() 337 WIFSIGNALED(status) && WTERMSIG(status) < 127 ? WTERMSIG(status)+128 : in libxl__spawn_spawn() 419 ((WIFEXITED(status) && WEXITSTATUS(status)==0) || in spawn_middle_death() 420 (WIFSIGNALED(status) && WTERMSIG(status)==SIGKILL))) { in spawn_middle_death() 431 if (!status) in spawn_middle_death() 435 else if (status <= 127) in spawn_middle_death() [all …]
|
A D | libxl_fork.c | 452 int status) in childproc_reaped_ours() argument 457 ch->callback(egc, ch, pid, status); in childproc_reaped_ours() 473 childproc_reaped_ours(egc, ch, status); in childproc_reaped() 497 int status; in childproc_checkall() local 515 assert(WIFEXITED(status)); in childproc_checkall() 516 assert(WEXITSTATUS(status)==255); in childproc_checkall() 517 assert(!WIFSIGNALED(status)); in childproc_checkall() 518 assert(!WIFSTOPPED(status)); in childproc_checkall() 520 childproc_reaped_ours(egc, ch, status); in childproc_checkall() 565 int status; in sigchld_selfpipe_handler() local [all …]
|
A D | libxl_uuid.c | 66 uint32_t status; in libxl_uuid_is_nil() local 71 return uuid_is_nil(&nat_uuid, &status); in libxl_uuid_is_nil() 76 uint32_t status; in libxl_uuid_generate() local 79 uuid_create(&nat_uuid, &status); in libxl_uuid_generate() 80 assert(status == uuid_s_ok); in libxl_uuid_generate() 88 uint32_t status; in libxl_uuid_from_string() local 91 uuid_from_string(in, &nat_uuid, &status); in libxl_uuid_from_string() 92 if (status != uuid_s_ok) in libxl_uuid_from_string()
|
/xen/xen/arch/arm/efi/ |
A D | efi-boot.h | 197 int status; in fdt_add_uefi_nodes() local 250 if ( status ) in fdt_add_uefi_nodes() 256 if ( status ) in fdt_add_uefi_nodes() 262 if ( status ) in fdt_add_uefi_nodes() 268 if ( status ) in fdt_add_uefi_nodes() 274 if ( status ) in fdt_add_uefi_nodes() 294 EFI_STATUS status; in fdt_increase_size() local 357 EFI_STATUS status; in efi_arch_process_memory_map() local 360 if ( EFI_ERROR(status) ) in efi_arch_process_memory_map() 405 EFI_STATUS status; in efi_arch_allocate_mmap_buffer() local [all …]
|
/xen/tools/xenpmd/ |
A D | xenpmd.c | 232 status->state = 0; in set_attribute_battery_status() 234 status->state = 1; in set_attribute_battery_status() 259 status->present = YES; in set_attribute_battery_status() 414 void print_battery_status(struct battery_status *status) in print_battery_status() argument 432 write_ulong_lsb_first(val+2, status->state); in write_battery_status_to_xenstore() 433 write_ulong_lsb_first(val+10, status->present_rate); in write_battery_status_to_xenstore() 435 write_ulong_lsb_first(val+26, status->present_voltage); in write_battery_status_to_xenstore() 445 struct battery_status status; in wait_for_and_update_battery_status_request() local 459 print_battery_status(&status); in wait_for_and_update_battery_status_request() 461 if ( status.present == YES ) in wait_for_and_update_battery_status_request() [all …]
|
/xen/xen/arch/arm/ |
A D | gic-vgic.c | 39 clear_bit(GIC_IRQ_GUEST_PRISTINE_LPI, &p->status); in gic_set_lr() 44 set_bit(GIC_IRQ_GUEST_VISIBLE, &p->status); in gic_set_lr() 45 clear_bit(GIC_IRQ_GUEST_QUEUED, &p->status); in gic_set_lr() 87 if ( !test_bit(GIC_IRQ_GUEST_ENABLED, &n->status) ) in gic_raise_inflight_irq() 194 set_bit(GIC_IRQ_GUEST_ACTIVE, &p->status); in gic_update_one_lr() 195 if ( test_bit(GIC_IRQ_GUEST_ENABLED, &p->status) && in gic_update_one_lr() 225 clear_bit(_IRQ_INPROGRESS, &p->desc->status); in gic_update_one_lr() 226 clear_bit(GIC_IRQ_GUEST_VISIBLE, &p->status); in gic_update_one_lr() 227 clear_bit(GIC_IRQ_GUEST_ACTIVE, &p->status); in gic_update_one_lr() 230 test_bit(GIC_IRQ_GUEST_QUEUED, &p->status) && in gic_update_one_lr() [all …]
|
/xen/tools/libxc/ |
A D | xc_offline_page.c | 59 if ( !status || (end < start) ) in xc_mark_page_online() 74 set_xen_guest_handle(sysctl.u.page_offline.status, status); in xc_mark_page_online() 77 xc_hypercall_bounce_post(xch, status); in xc_mark_page_online() 89 if ( !status || (end < start) ) in xc_mark_page_offline() 104 set_xen_guest_handle(sysctl.u.page_offline.status, status); in xc_mark_page_offline() 119 if ( !status || (end < start) ) in xc_query_page_offline_status() 134 set_xen_guest_handle(sysctl.u.page_offline.status, status); in xc_query_page_offline_status() 370 uint32_t status; in is_page_exchangable() local 391 mfn, status); in is_page_exchangable() 470 uint32_t status; in xc_exchange_page() local [all …]
|
A D | xc_kexec.c | 132 DECLARE_HYPERCALL_BUFFER(xen_kexec_status_t, status); in xc_kexec_status() 135 status = xc_hypercall_buffer_alloc(xch, status, sizeof(*status)); in xc_kexec_status() 136 if ( status == NULL ) in xc_kexec_status() 142 status->type = type; in xc_kexec_status() 146 HYPERCALL_BUFFER_AS_ARG(status)); in xc_kexec_status() 149 xc_hypercall_buffer_free(xch, status); in xc_kexec_status()
|
/xen/xen/common/efi/ |
A D | runtime.c | 151 EFI_STATUS status; in efi_get_time() local 162 if ( EFI_ERROR(status) ) in efi_get_time() 171 EFI_STATUS status; in efi_halt_system() local 184 EFI_STATUS status; in efi_reset_system() local 381 if ( !EFI_ERROR(status) ) in efi_runtime_call() 420 if ( !EFI_ERROR(status) ) in efi_runtime_call() 507 if ( !EFI_ERROR(status) && in efi_runtime_call() 596 if ( !EFI_ERROR(status) && in efi_runtime_call() 629 status = EFI_SUCCESS; in efi_runtime_call() 665 op->status = status; in efi_runtime_call() [all …]
|
A D | boot.c | 772 EFI_STATUS status; in efi_get_gop() local 783 if ( EFI_ERROR(status) ) in efi_get_gop() 796 if ( EFI_ERROR(status) ) in efi_get_gop() 806 EFI_STATUS status; in efi_find_gop_mode() local 886 EFI_STATUS status; in setup_efi_pci() local 973 EFI_STATUS status; in efi_variables() local 1000 EFI_STATUS status; in efi_get_apple_properties() local 1037 EFI_STATUS status; in efi_set_gop_mode() local 1059 EFI_STATUS status; in efi_exit_boot() local 1113 status); in efi_exit_boot() [all …]
|
/xen/xen/include/public/ |
A D | grant_table.h | 347 int16_t status; /* => enum grant_status */ member 371 int16_t status; /* => enum grant_status */ member 390 int16_t status; /* => enum grant_status */ member 408 int16_t status; /* => enum grant_status */ member 428 int16_t status; member 470 int16_t status; member 488 int16_t status; /* => enum grant_status */ member 510 int16_t status; /* => enum grant_status */ member 547 int16_t status; /* => enum grant_status */ member 575 int16_t status; /* => enum grant_status */ member
|
/xen/stubdom/vtpm/ |
A D | vtpm_cmd.c | 24 status = TPM_FAIL; \ 29 status = TPM_FAIL; \ 36 status = ord; \ 96 TPM_RESULT status = TPM_SUCCESS; in VTPM_GetRandom() local 133 return status; in VTPM_GetRandom() 139 TPM_RESULT status = TPM_SUCCESS; in VTPM_LoadHashKey() local 178 return status; in VTPM_LoadHashKey() 183 TPM_RESULT status = TPM_SUCCESS; in VTPM_SaveHashKey() local 217 return status; in VTPM_SaveHashKey() 263 return status; in VTPM_GetParentQuote() [all …]
|