/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 | 249 if ( status & MCi_STATUS_S ) in intel_check_mce_type() 411 && !(status & MCi_STATUS_PCC) && !(status & MCi_STATUS_S) in intel_need_clearbank_scan() 425 if ( (status & MCi_STATUS_UC) && (status & MCi_STATUS_PCC) ) in intel_need_clearbank_scan() 429 && (status & MCi_STATUS_UC) && !(status & MCi_STATUS_EN) ) in intel_need_clearbank_scan() 433 && (status & MCi_STATUS_S) && (status & MCi_STATUS_AR) in intel_need_clearbank_scan() 438 && (status & MCi_STATUS_S) && (status & MCi_STATUS_UC) ) in intel_need_clearbank_scan() 465 && !(status & MCi_STATUS_PCC) && (status & MCi_STATUS_S) in intel_recoverable_scan() 466 && (status & MCi_STATUS_AR) && (status & MCi_STATUS_EN) ) in intel_recoverable_scan() 470 && (status & MCi_STATUS_S) && !(status & MCi_STATUS_AR) in intel_recoverable_scan() 475 && (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() 40 uint32_t status; in mc_memerr_dhandler() local 53 if ( offline_page(mfn, 1, &status) ) in mc_memerr_dhandler() 61 mci_action_add_pageoffline(binfo->bank, binfo->mi, mfn, status); in mc_memerr_dhandler() 64 if ( status & PG_OFFLINE_OFFLINED ) in mc_memerr_dhandler() 66 else if ( status & PG_OFFLINE_AGAIN ) in mc_memerr_dhandler() 68 else if ( status & PG_OFFLINE_PENDING ) in mc_memerr_dhandler() 71 if ( status & PG_OFFLINE_OWNED ) in mc_memerr_dhandler() 73 bank->mc_domid = status >> PG_OFFLINE_OWNER_SHIFT; in mc_memerr_dhandler()
|
A D | mce_amd.c | 104 bool cf_check mc_amd_recoverable_scan(uint64_t status) in mc_amd_recoverable_scan() argument 110 if ( !(status & MCi_STATUS_UC) ) in mc_amd_recoverable_scan() 113 errorcode = status & (MCi_STATUS_MCA | MCi_STATUS_MSEC); in mc_amd_recoverable_scan() 134 bool cf_check mc_amd_addrcheck(uint64_t status, uint64_t misc, int addrtype) in mc_amd_addrcheck() argument 139 errorcode = status & (MCi_STATUS_MCA | MCi_STATUS_MSEC); in mc_amd_addrcheck() 208 amd_f10_handler(struct mc_info *mi, uint16_t bank, uint64_t status) in amd_f10_handler() argument 217 if ( !(status & MCi_STATUS_VAL) ) in amd_f10_handler() 220 if ( !(status & MCi_STATUS_MISCV) ) in amd_f10_handler() 244 enum mca_source who, uint64_t status) in amd_need_clearbank_scan() argument 253 if ( (status & MCi_STATUS_UC) && (status & MCi_STATUS_PCC) ) in amd_need_clearbank_scan()
|
/xen/xen/arch/x86/include/asm/guest/ |
A D | hyperv-hcall.h | 22 uint64_t status; in hv_do_hypercall() local 27 : "=a" (status), "+c" (control), in hv_do_hypercall() 32 return status; in hv_do_hypercall() 38 uint64_t status; in hv_do_fast_hypercall() local 44 : "=a" (status), "+c" (control), in hv_do_fast_hypercall() 48 return status; in hv_do_fast_hypercall() 56 uint64_t status; in hv_do_rep_hypercall() local 63 status = hv_do_hypercall(control, input, output); in hv_do_rep_hypercall() 64 if ( (status & HV_HYPERCALL_RESULT_MASK) != HV_STATUS_SUCCESS ) in hv_do_rep_hypercall() 67 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 | 171 if (status) in vtpmmgr_SaveHashKey() 183 return status; in vtpmmgr_SaveHashKey() 196 if (status) in vtpmmgr_LoadHashKey() 212 return status; in vtpmmgr_LoadHashKey() 223 if (status) \ 226 return status 230 if (status) { \ 304 if (status) in vtpmmgr_GetQuote() 557 if (status) in vtpmmgr_GroupRegister() 649 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() 387 return status; in vtpmmgr_create() 503 return status; in vtpmmgr_init() 573 return status; in tpm2_take_ownership() 642 return status; in vtpmmgr2_create() 751 return status; in vtpmmgr2_init() [all …]
|
/xen/tools/misc/ |
A D | xen-hptool.c | 38 uint32_t status; in hp_mem_online_func() local 51 ret = xc_mark_page_online(xch, mfn, mfn, &status); in hp_mem_online_func() 60 else if (status & PG_ONLINE_ONLINED) in hp_mem_online_func() 70 uint32_t status; in hp_mem_query_func() local 88 printf("Memory Status %x: [", status); in hp_mem_query_func() 91 if ( status & PG_OFFLINE_STATUS_BROKEN ) in hp_mem_query_func() 93 if ( status & PG_OFFLINE_STATUS_OFFLINED ) in hp_mem_query_func() 151 uint32_t status, domid; in hp_mem_offline_func() local 173 switch(status & PG_OFFLINE_STATUS_MASK) in hp_mem_offline_func() 179 if (status & PG_OFFLINE_BROKEN) in hp_mem_offline_func() [all …]
|
/xen/tools/libs/light/ |
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 | 454 int status) in childproc_reaped_ours() argument 459 ch->callback(egc, ch, pid, status); in childproc_reaped_ours() 475 childproc_reaped_ours(egc, ch, status); in childproc_reaped() 499 int status; in childproc_checkall() local 517 assert(WIFEXITED(status)); in childproc_checkall() 518 assert(WEXITSTATUS(status)==255); in childproc_checkall() 519 assert(!WIFSIGNALED(status)); in childproc_checkall() 520 assert(!WIFSTOPPED(status)); in childproc_checkall() 522 childproc_reaped_ours(egc, ch, status); in childproc_checkall() 567 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() 87 uint32_t status; in libxl_uuid_from_string() local 90 uuid_from_string(in, &nat_uuid, &status); in libxl_uuid_from_string() 91 if (status != uuid_s_ok) in libxl_uuid_from_string()
|
/xen/tools/xenpmd/ |
A D | xenpmd.c | 233 status->state = 0; in set_attribute_battery_status() 235 status->state = 1; in set_attribute_battery_status() 260 status->present = YES; in set_attribute_battery_status() 415 void print_battery_status(struct battery_status *status) in print_battery_status() argument 433 write_ulong_lsb_first(val+2, status->state); in write_battery_status_to_xenstore() 434 write_ulong_lsb_first(val+10, status->present_rate); in write_battery_status_to_xenstore() 436 write_ulong_lsb_first(val+26, status->present_voltage); in write_battery_status_to_xenstore() 446 struct battery_status status; in wait_for_and_update_battery_status_request() local 460 print_battery_status(&status); in wait_for_and_update_battery_status_request() 462 if ( status.present == YES ) in wait_for_and_update_battery_status_request() [all …]
|
/xen/xen/arch/arm/ |
A D | gic-vgic.c | 30 clear_bit(GIC_IRQ_GUEST_PRISTINE_LPI, &p->status); in gic_set_lr() 35 set_bit(GIC_IRQ_GUEST_VISIBLE, &p->status); in gic_set_lr() 36 clear_bit(GIC_IRQ_GUEST_QUEUED, &p->status); in gic_set_lr() 78 if ( !test_bit(GIC_IRQ_GUEST_ENABLED, &n->status) ) in gic_raise_inflight_irq() 185 set_bit(GIC_IRQ_GUEST_ACTIVE, &p->status); in gic_update_one_lr() 186 if ( test_bit(GIC_IRQ_GUEST_ENABLED, &p->status) && in gic_update_one_lr() 216 clear_bit(_IRQ_INPROGRESS, &p->desc->status); in gic_update_one_lr() 217 clear_bit(GIC_IRQ_GUEST_VISIBLE, &p->status); in gic_update_one_lr() 218 clear_bit(GIC_IRQ_GUEST_ACTIVE, &p->status); in gic_update_one_lr() 221 test_bit(GIC_IRQ_GUEST_QUEUED, &p->status) && in gic_update_one_lr() [all …]
|
/xen/tools/libs/guest/ |
A D | xg_offline_page.c | 58 if ( !status || (end < start) ) in xc_mark_page_online() 73 set_xen_guest_handle(sysctl.u.page_offline.status, status); in xc_mark_page_online() 76 xc_hypercall_bounce_post(xch, status); in xc_mark_page_online() 88 if ( !status || (end < start) ) in xc_mark_page_offline() 103 set_xen_guest_handle(sysctl.u.page_offline.status, status); in xc_mark_page_offline() 118 if ( !status || (end < start) ) in xc_query_page_offline_status() 133 set_xen_guest_handle(sysctl.u.page_offline.status, status); in xc_query_page_offline_status() 371 uint32_t status; in is_page_exchangable() local 392 mfn, status); in is_page_exchangable() 471 uint32_t status; in xc_exchange_page() local [all …]
|
/xen/xen/common/efi/ |
A D | runtime.c | 169 EFI_STATUS status; in efi_get_time() local 180 if ( EFI_ERROR(status) ) in efi_get_time() 189 EFI_STATUS status; in efi_halt_system() local 202 EFI_STATUS status; in efi_reset_system() local 399 if ( !EFI_ERROR(status) ) in efi_runtime_call() 438 if ( !EFI_ERROR(status) ) in efi_runtime_call() 525 if ( !EFI_ERROR(status) && in efi_runtime_call() 614 if ( !EFI_ERROR(status) && in efi_runtime_call() 658 status = EFI_SUCCESS; in efi_runtime_call() 699 op->status = status; in efi_runtime_call() [all …]
|
A D | boot.c | 633 EFI_STATUS status; in efi_relocate_esrt() local 893 EFI_STATUS status; in efi_get_gop() local 904 if ( EFI_ERROR(status) ) in efi_get_gop() 930 EFI_STATUS status; in efi_find_gop_mode() local 1012 EFI_STATUS status; in setup_efi_pci() local 1099 EFI_STATUS status; in efi_variables() local 1126 EFI_STATUS status; in efi_get_apple_properties() local 1163 EFI_STATUS status; in efi_set_gop_mode() local 1185 EFI_STATUS status; in efi_exit_boot() local 1245 status); in efi_exit_boot() [all …]
|
/xen/tools/libs/ctrl/ |
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/arch/arm/efi/ |
A D | efi-boot.h | 238 int status; in fdt_add_uefi_nodes() local 266 if ( status ) in fdt_add_uefi_nodes() 272 if ( status ) in fdt_add_uefi_nodes() 278 if ( status ) in fdt_add_uefi_nodes() 284 if ( status ) in fdt_add_uefi_nodes() 290 if ( status ) in fdt_add_uefi_nodes() 310 EFI_STATUS status; in fdt_increase_size() local 380 EFI_STATUS status; in efi_arch_process_memory_map() local 383 if ( EFI_ERROR(status) ) in efi_arch_process_memory_map() 437 EFI_STATUS status; in efi_arch_allocate_mmap_buffer() local [all …]
|
/xen/xen/include/public/ |
A D | grant_table.h | 333 int16_t status; /* => enum grant_status */ member 357 int16_t status; /* => enum grant_status */ member 376 int16_t status; /* => enum grant_status */ member 394 int16_t status; /* => enum grant_status */ member 414 int16_t status; member 456 int16_t status; member 474 int16_t status; /* => enum grant_status */ member 496 int16_t status; /* => enum grant_status */ member 533 int16_t status; /* => enum grant_status */ member 561 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 …]
|