Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 11 of 11) sorted by relevance

/hypervisor/debug/
A Ddbg_cmd.c34 int32_t tmp = strnlen_s(cmd_list[i].str, MAX_CMD_LEN); in handle_dbg_cmd() local
38 if (len < tmp) in handle_dbg_cmd()
41 if (strncmp(cmd_list[i].str, cmd, tmp) != 0) in handle_dbg_cmd()
48 data = strtoul_hex(cmd + tmp); in handle_dbg_cmd()
56 data = strtoul_hex(cmd + tmp); in handle_dbg_cmd()
A Ddump.c115 uint64_t tmp[DUMP_STACK_SIZE], fault_addr; in dump_guest_stack() local
118 if (copy_from_gva(vcpu, tmp, vcpu_get_gpreg(vcpu, CPU_REG_RSP), in dump_guest_stack()
130 tmp[i*4], tmp[(i*4)+1], in dump_guest_stack()
131 tmp[(i*4)+2], tmp[(i*4)+3]); in dump_guest_stack()
A Dshell.c865 uint64_t i, fault_addr, tmp[DUMPREG_SP_SIZE]; in dump_vcpu_reg() local
915 status = copy_from_gva(vcpu, tmp, vcpu_get_gpreg(vcpu, CPU_REG_RSP), in dump_vcpu_reg()
937 tmp[i*4UL], tmp[(i*4UL)+1UL], tmp[(i*4UL)+2UL], tmp[(i*4UL)+3UL]); in dump_vcpu_reg()
/hypervisor/arch/x86/guest/
A Dvirtual_cr.c248 uint64_t mask, tmp; in vmx_write_cr0() local
315 tmp = (initial_guest_cr0 & ~mask) | (effective_cr0 & mask); in vmx_write_cr0()
317 exec_vmwrite(VMX_GUEST_CR0, tmp); in vmx_write_cr0()
323 pr_dbg("VMM: Try to write %016lx, allow to write 0x%016lx to CR0", effective_cr0, tmp); in vmx_write_cr0()
368 uint64_t mask, tmp; in vmx_write_cr4() local
413 tmp = (initial_guest_cr4 & ~mask) | (cr4 & mask); in vmx_write_cr4()
419 exec_vmwrite(VMX_GUEST_CR4, tmp); in vmx_write_cr4()
425 pr_dbg("VMM: Try to write %016lx, allow to write 0x%016lx to CR4", cr4, tmp); in vmx_write_cr4()
A Dvcpuid.c40 const struct vcpuid_entry *tmp = (const struct vcpuid_entry *)(&vm->vcpuid_entries[i]); in local_find_vcpuid_entry() local
42 if (tmp->leaf < leaf) { in local_find_vcpuid_entry()
44 } else if (tmp->leaf == leaf) { in local_find_vcpuid_entry()
45 if (((tmp->flags & CPUID_CHECK_SUBLEAF) != 0U) && (tmp->subleaf != subleaf)) { in local_find_vcpuid_entry()
48 found_entry = tmp; in local_find_vcpuid_entry()
94 struct vcpuid_entry *tmp; in set_vcpuid_entry() local
102 tmp = &vm->vcpuid_entries[vm->vcpuid_entry_nr]; in set_vcpuid_entry()
104 (void)memcpy_s(tmp, entry_size, entry, entry_size); in set_vcpuid_entry()
A Dhyperv.c43 uint64_t ret, tmp; in u64_shl64_div_u64() local
46 "=a" (ret), "=d" (tmp) : in u64_shl64_div_u64()
/hypervisor/common/
A Dtimer.c76 struct hv_timer *tmp; in local_add_timer() local
81 tmp = container_of(pos, struct hv_timer, node); in local_add_timer()
82 if (tmp->timeout < tsc) { in local_add_timer()
83 prev = &tmp->node; in local_add_timer()
/hypervisor/dm/vpci/
A Dvdev.c81 struct pci_vdev *vdev = NULL, *tmp; in pci_find_vdev() local
85 tmp = hlist_entry(n, struct pci_vdev, link); in pci_find_vdev()
86 if (bdf_is_equal(vbdf, tmp->bdf)) { in pci_find_vdev()
87 vdev = tmp; in pci_find_vdev()
/hypervisor/lib/crypto/mbedtls/
A Dmd.c146 uint8_t tmp[MBEDTLS_MD_MAX_SIZE]; in mbedtls_md_hmac_finish() local
156 ret = ctx->md_info->finish_func((void *) ctx->md_ctx, tmp); in mbedtls_md_hmac_finish()
166 ret = ctx->md_info->update_func((void *) ctx->md_ctx, tmp, in mbedtls_md_hmac_finish()
/hypervisor/dm/
A Dvpic.c97 uint32_t bit, pin, tmp; in vpic_get_highest_irrpin() local
122 for (tmp = 0U; tmp < NR_VPIC_PINS_PER_CHIP; tmp++) { in vpic_get_highest_irrpin()
/hypervisor/hw/
A Dpci.c284 const struct pci_pdev *found = NULL, *tmp; in pci_find_pdev() local
287 tmp = hlist_entry(n, struct pci_pdev, link); in pci_find_pdev()
288 if (pbdf == tmp->bdf.value) { in pci_find_pdev()
289 found = tmp; in pci_find_pdev()

Completed in 17 milliseconds