/kernel/uniproton/src/om/include/ |
D | prt_hook_external.h | 23 typedef void (*OsFunPara1)(uintptr_t); 24 typedef void (*OsFunPara2)(uintptr_t, uintptr_t); 25 typedef void (*OsFunPara3)(uintptr_t, uintptr_t, uintptr_t); 26 typedef void (*OsFunPara4)(uintptr_t, uintptr_t, uintptr_t, uintptr_t); 27 typedef void (*OsFunPara5)(uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t); 40 #define OS_MHOOK_IS_VALID(hook) ((uintptr_t)(hook) > OS_MHOOK_BOUNDARY) 42 #define OS_MHOOK_NOT_BOUNDARY(hook) ((uintptr_t)(hook) != OS_MHOOK_BOUNDARY) 46 return ((uintptr_t)hook <= OS_MHOOK_BOUNDARY); in OsMhookBoundaryCheck() 82 …OK_ACTIVATE_PARA1(hookType, arg0) OS_MHOOK_ACTIVATE((hookType), OsFunPara1, pfn((uintptr_t)(arg0))) 84 OsFunPara2, pfn((uintptr_t)(arg0), (uintptr_t)(arg1))) [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | fsl_hcalls.h | 93 register uintptr_t r11 __asm__("r11"); in fh_send_nmi() 94 register uintptr_t r3 __asm__("r3"); in fh_send_nmi() 127 register uintptr_t r11 __asm__("r11"); in fh_partition_get_dtprop() 128 register uintptr_t r3 __asm__("r3"); in fh_partition_get_dtprop() 129 register uintptr_t r4 __asm__("r4"); in fh_partition_get_dtprop() 130 register uintptr_t r5 __asm__("r5"); in fh_partition_get_dtprop() 131 register uintptr_t r6 __asm__("r6"); in fh_partition_get_dtprop() 132 register uintptr_t r7 __asm__("r7"); in fh_partition_get_dtprop() 133 register uintptr_t r8 __asm__("r8"); in fh_partition_get_dtprop() 134 register uintptr_t r9 __asm__("r9"); in fh_partition_get_dtprop() [all …]
|
D | epapr_hcalls.h | 139 register uintptr_t r11 __asm__("r11"); in ev_int_set_config() 140 register uintptr_t r3 __asm__("r3"); in ev_int_set_config() 141 register uintptr_t r4 __asm__("r4"); in ev_int_set_config() 142 register uintptr_t r5 __asm__("r5"); in ev_int_set_config() 143 register uintptr_t r6 __asm__("r6"); in ev_int_set_config() 171 register uintptr_t r11 __asm__("r11"); in ev_int_get_config() 172 register uintptr_t r3 __asm__("r3"); in ev_int_get_config() 173 register uintptr_t r4 __asm__("r4"); in ev_int_get_config() 174 register uintptr_t r5 __asm__("r5"); in ev_int_get_config() 175 register uintptr_t r6 __asm__("r6"); in ev_int_get_config() [all …]
|
/kernel/liteos_a/kernel/extended/lms/usr/ |
D | los_lms.c | 39 uintptr_t addr; 52 ATTRIBUTE_NO_SANITIZE_ADDRESS void LmsMem2Shadow(uintptr_t memAddr, uintptr_t *shadowAddr, uint32_t… in LmsMem2Shadow() 59 ATTRIBUTE_NO_SANITIZE_ADDRESS uint32_t LmsIsShadowAddrMapped(uintptr_t sdStartAddr, uintptr_t sdEnd… in LmsIsShadowAddrMapped() 71 ATTRIBUTE_NO_SANITIZE_ADDRESS void LmsAddMapNode(uintptr_t sdStartAddr, uintptr_t sdEndAddr) in LmsAddMapNode() 76 uintptr_t shadowPageStartAddr = LMS_MEM_ALIGN_DOWN(sdStartAddr, 0x1000); in LmsAddMapNode() 77 uintptr_t shadowPageEndAddr = LMS_MEM_ALIGN_UP(sdEndAddr, 0x1000); in LmsAddMapNode() 120 ATTRIBUTE_NO_SANITIZE_ADDRESS void LmsSetShadowValue(uintptr_t startAddr, uintptr_t endAddr, char v… in LmsSetShadowValue() 122 uintptr_t shadowStart; in LmsSetShadowValue() 123 uintptr_t shadowEnd; in LmsSetShadowValue() 170 ATTRIBUTE_NO_SANITIZE_ADDRESS void LmsGetShadowValue(uintptr_t addr, uint32_t *shadowValue) in LmsGetShadowValue() [all …]
|
D | los_lms_pri.h | 90 uintptr_t memAddr; 91 uintptr_t shadowAddr; 118 uint32_t LmsIsShadowAddrMapped(uintptr_t sdStartAddr, uintptr_t sdEndAddr); 120 void LmsSetShadowValue(uintptr_t startAddr, uintptr_t endAddr, char value); 122 void LmsGetShadowValue(uintptr_t addr, uint32_t *shadowValue); 124 void LmsReportError(uintptr_t p, size_t size, uint32_t errMod); 126 void LmsMem2Shadow(uintptr_t memAddr, uintptr_t *shadowAddr, uint32_t *shadowOffset); 152 SANITIZER_INTERFACE_ATTRIBUTE void __asan_store1_noabort(uintptr_t p); 153 SANITIZER_INTERFACE_ATTRIBUTE void __asan_store4_noabort(uintptr_t p); 154 SANITIZER_INTERFACE_ATTRIBUTE void __asan_load4_noabort(uintptr_t p); [all …]
|
D | los_lmslibc.c | 41 uintptr_t shadowAddr, offset; in LmsFree() 42 LmsMem2Shadow((uintptr_t)ptr, &shadowAddr, &offset); in LmsFree() 47 LmsGetShadowValue((uintptr_t)ptr, &acShadowValue); in LmsFree() 50 LmsReportError((uintptr_t)ptr, MEM_REGION_SIZE_1, erroMode); in LmsFree() 59 LmsSetShadowValue((uintptr_t)ptr, (uintptr_t)ptr + allocSize, LMS_SHADOW_AFTERFREE_U8); in LmsFree() 142 __asan_storeN_noabort((uintptr_t)p, size); in LmsMemset() 154 __asan_loadN_noabort((uintptr_t)src, size); in LmsMemcpy() 155 __asan_storeN_noabort((uintptr_t)dest, size); in LmsMemcpy() 167 __asan_loadN_noabort((uintptr_t)src, len); in LmsMemmove() 168 __asan_storeN_noabort((uintptr_t)dest, len); in LmsMemmove()
|
/kernel/uniproton/src/mem/fsc/ |
D | prt_fscmem.c | 69 OS_SEC_TEXT void *OsFscMemAllocInner(U32 mid, U32 size, uintptr_t align) in OsFscMemAllocInner() 74 uintptr_t usrAddr; in OsFscMemAllocInner() 108 plotBlk = (struct TagFscMemCtrl *)((uintptr_t)currBlk + (uintptr_t)currBlk->size); in OsFscMemAllocInner() 117 nextBlk = (struct TagFscMemCtrl *)((uintptr_t)currBlk + (uintptr_t)currBlk->size); in OsFscMemAllocInner() 122 …blkTailMagic = (U32 *)((uintptr_t)currBlk + (uintptr_t)currBlk->size - (uintptr_t)OS_FSC_MEM_TAIL_… in OsFscMemAllocInner() 127 usrAddr = (((uintptr_t)currBlk + OS_FSC_MEM_SLICE_HEAD_SIZE + align - 1) & ~(align - 1)); in OsFscMemAllocInner() 128 OsMemSetHeadAddr(usrAddr, ((uintptr_t)currBlk + OS_FSC_MEM_SLICE_HEAD_SIZE)); in OsFscMemAllocInner() 139 uintptr_t blkSize; in OsFscMemFree() 145 currBlk = (struct TagFscMemCtrl *)OsMemGetHeadAddr((uintptr_t)addr); in OsFscMemFree() 152 blkTailMagic = (U32 *)((uintptr_t)currBlk + blkSize - (uintptr_t)OS_FSC_MEM_TAIL_SIZE); in OsFscMemFree() [all …]
|
/kernel/linux/common_modules/tzdriver/core/ |
D | shared_mem.c | 35 uint64_t cmd_vaddr = (uint64_t)(uintptr_t)ioremap_cache(cmd_phys, cmd_size); in get_reserved_cmd_vaddr_of() 40 (void)memset_s((void *)(uintptr_t)cmd_vaddr, cmd_size, 0, cmd_size); in get_reserved_cmd_vaddr_of() 58 static uintptr_t g_shmem_start_virt; 59 static uintptr_t g_page_offset; 124 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)g_mailbox_page)) { in mailbox_alloc_pages() 129 g_shmem_start_virt = (uintptr_t)ioremap_cache(g_mailbox_paddr, g_mailbox_size); in mailbox_alloc_pages() 154 uintptr_t mailbox_page_address(mailbox_page_t *page) in mailbox_page_address() 162 uintptr_t mailbox_virt_to_phys(uintptr_t addr) in mailbox_virt_to_phys() 196 uint64_t log_vaddr = (uint64_t)(uintptr_t)ioremap_cache(g_log_mem_paddr, g_log_mem_size); in get_log_mem_vaddr() 202 (void)memset_s((void *)(uintptr_t)log_vaddr, g_log_mem_size, 0, g_log_mem_size); in get_log_mem_vaddr() [all …]
|
D | gp_ops.c | 160 if (access_ok(VERIFY_READ, (void *)(uintptr_t)size_addr, sizeof(uint32_t)) == 0) in is_usr_refmem_valid() 162 if (access_ok((void *)(uintptr_t)size_addr, sizeof(uint32_t)) == 0) in is_usr_refmem_valid() 166 get_user(size, (uint32_t *)(uintptr_t)size_addr); in is_usr_refmem_valid() 170 if (access_ok(VERIFY_READ, (void *)(uintptr_t)buffer_addr, size) == 0) in is_usr_refmem_valid() 172 if (access_ok((void *)(uintptr_t)buffer_addr, size) == 0) in is_usr_refmem_valid() 188 if (access_ok(VERIFY_READ, (void *)(uintptr_t)a_addr, sizeof(uint32_t)) == 0) in is_usr_valmem_valid() 190 if (access_ok((void *)(uintptr_t)a_addr, sizeof(uint32_t)) == 0) in is_usr_valmem_valid() 196 if (access_ok(VERIFY_READ, (void *)(uintptr_t)b_addr, sizeof(uint32_t)) == 0) in is_usr_valmem_valid() 198 if (access_ok((void *)(uintptr_t)b_addr, sizeof(uint32_t)) == 0) in is_usr_valmem_valid() 331 (void *)(uintptr_t)buffer_addr, in update_input_data() [all …]
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | xor_avx.h | 48 p0 = (unsigned long *)((uintptr_t)p0 + 512); in xor_avx_2() 49 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_2() 77 p0 = (unsigned long *)((uintptr_t)p0 + 512); in xor_avx_3() 78 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_3() 79 p2 = (unsigned long *)((uintptr_t)p2 + 512); in xor_avx_3() 109 p0 = (unsigned long *)((uintptr_t)p0 + 512); in xor_avx_4() 110 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_4() 111 p2 = (unsigned long *)((uintptr_t)p2 + 512); in xor_avx_4() 112 p3 = (unsigned long *)((uintptr_t)p3 + 512); in xor_avx_4() 144 p0 = (unsigned long *)((uintptr_t)p0 + 512); in xor_avx_5() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/s390x/ |
D | memop.c | 57 ksmo.gaddr = addr_gva2gpa(vm, (uintptr_t)mem1); in main() 61 ksmo.buf = (uintptr_t)mem1; in main() 75 ksmo.gaddr = (uintptr_t)mem2; in main() 79 ksmo.buf = (uintptr_t)mem2; in main() 87 ksmo.gaddr = (uintptr_t)mem1; in main() 91 ksmo.buf = (uintptr_t)mem1; in main() 97 ksmo.gaddr = (uintptr_t)mem1; in main() 101 ksmo.buf = (uintptr_t)mem1; in main() 108 ksmo.gaddr = (uintptr_t)mem1; in main() 112 ksmo.buf = (uintptr_t)mem1; in main() [all …]
|
/kernel/uniproton/src/mem/include/ |
D | prt_mem_external.h | 42 uintptr_t size; 44 uintptr_t prevSize; 53 OS_SEC_ALW_INLINE INLINE void OsMemSetHeadAddr(uintptr_t usrAddr, uintptr_t ctrlAddr) in OsMemSetHeadAddr() 60 OS_SEC_ALW_INLINE INLINE void *OsMemGetHeadAddr(uintptr_t usrAddr) in OsMemGetHeadAddr() 64 return (void *)(uintptr_t)((usrAddr - (uintptr_t)headOffset) - sizeof(struct TagFscMemCtrl)); in OsMemGetHeadAddr() 66 OS_SEC_ALW_INLINE INLINE uintptr_t OsMemSetHookAddr(uintptr_t addrress) in OsMemSetHookAddr()
|
/kernel/linux/linux-5.10/arch/powerpc/net/ |
D | bpf_jit.h | 50 if ((int)(uintptr_t)(i) >= -32768 && \ 51 (int)(uintptr_t)(i) < 32768) \ 64 if (!((uintptr_t)(i) & 0xffff800000000000ULL)) \ 65 EMIT(PPC_RAW_LI(d, ((uintptr_t)(i) >> 32) & \ 68 EMIT(PPC_RAW_LIS(d, ((uintptr_t)(i) >> 48))); \ 69 if ((uintptr_t)(i) & 0x0000ffff00000000ULL) \ 71 ((uintptr_t)(i) >> 32) & 0xffff)); \ 74 if ((uintptr_t)(i) & 0x00000000ffff0000ULL) \ 76 ((uintptr_t)(i) >> 16) & 0xffff)); \ 77 if ((uintptr_t)(i) & 0x000000000000ffffULL) \ [all …]
|
/kernel/linux/linux-5.10/arch/riscv/mm/ |
D | init.c | 37 uintptr_t dtb_early_pa __initdata; 41 phys_addr_t (*alloc_pte)(uintptr_t va); 44 phys_addr_t (*alloc_pmd)(uintptr_t va); 265 return (pte_t *)((uintptr_t)pa); in get_pte_virt_early() 279 static inline phys_addr_t __init alloc_pte_early(uintptr_t va) in alloc_pte_early() 288 static inline phys_addr_t __init alloc_pte_fixmap(uintptr_t va) in alloc_pte_fixmap() 293 static phys_addr_t alloc_pte_late(uintptr_t va) in alloc_pte_late() 304 uintptr_t va, phys_addr_t pa, in create_pte_mapping() 307 uintptr_t pte_idx = pte_index(va); in create_pte_mapping() 325 return (pmd_t *)((uintptr_t)pa); in get_pmd_virt_early() [all …]
|
/kernel/uniproton/src/core/kernel/task/ |
D | prt_task_init.c | 152 uintptr_t intSave; in OsTskEntry() 195 if (((OS_TSK_STACK_SIZE_ALIGN - 1) & (uintptr_t)initParam->stackAddr) != 0) { in OsTaskCreateParaCheck() 237 OS_SEC_L4_TEXT void OsTskStackInit(U32 stackSize, uintptr_t topStack) in OsTskStackInit() 266 uintptr_t **topStackOut, uintptr_t *curStackSize) in OsTaskCreateRsrcInit() 269 uintptr_t *topStack = NULL; in OsTaskCreateRsrcInit() 300 OS_SEC_ALW_INLINE INLINE void OsTskCreateTcbInit(uintptr_t stackPtr, struct TskInitParam *initParam, in OsTskCreateTcbInit() 301 uintptr_t topStackAddr, uintptr_t curStackSize, struct TagTskCb *taskCb) in OsTskCreateTcbInit() 305 taskCb->args[OS_TSK_PARA_0] = (uintptr_t)initParam->args[OS_TSK_PARA_0]; in OsTskCreateTcbInit() 306 taskCb->args[OS_TSK_PARA_1] = (uintptr_t)initParam->args[OS_TSK_PARA_1]; in OsTskCreateTcbInit() 307 taskCb->args[OS_TSK_PARA_2] = (uintptr_t)initParam->args[OS_TSK_PARA_2]; in OsTskCreateTcbInit() [all …]
|
D | prt_task_info.c | 23 OS_SEC_L2_TEXT uintptr_t OsTaskSpInfoGet(struct TagTskCb *taskCb) in OsTaskSpInfoGet() 25 uintptr_t sp; in OsTaskSpInfoGet() 28 sp = (uintptr_t)taskCb->stackPointer; in OsTaskSpInfoGet() 39 taskInfo->sp = (uintptr_t)taskCb->stackPointer; in OsTaskSpPcGet() 40 taskInfo->pc = OsTskGetInstrAddr((uintptr_t)taskCb->stackPointer); in OsTaskSpPcGet() 89 stackInfo->peakUsed = (U32)(stackInfo->bottom - (uintptr_t)stack); in OsTaskStackPeakGet() 101 uintptr_t intSave; in OsTaskStackInfoGet() 123 stackInfo->top = (uintptr_t)taskCb->topOfStack; in OsTaskStackInfoGet() 124 …stackInfo->bottom = TRUNCATE(((uintptr_t)(taskCb->topOfStack) + (taskCb->stackSize)), OS_TSK_STACK… in OsTaskStackInfoGet() 154 uintptr_t intSave; in PRT_TaskGetInfo() [all …]
|
/kernel/uniproton/src/include/uapi/ |
D | prt_task.h | 806 uintptr_t sp; 808 uintptr_t pc; 816 uintptr_t topOfStack; 824 uintptr_t bottom; 868 typedef void (*TskEntryFunc)(uintptr_t param1, uintptr_t param2, uintptr_t param3, uintptr_t param4… 933 uintptr_t top; 935 uintptr_t bottom; 937 uintptr_t sp; 958 uintptr_t args[4]; 967 uintptr_t stackAddr;
|
/kernel/uniproton/src/arch/cpu/armv7-m/common/ |
D | prt_port.c | 20 OS_SEC_L4_TEXT void *OsTskContextInit(U32 taskId, U32 stackSize, uintptr_t *topStack, uintptr_t fun… in OsTskContextInit() 22 uintptr_t endStack; in OsTskContextInit() 32 endStack = TRUNCATE((uintptr_t)topStack + stackSize, OS_TSK_STACK_ADDR_ALIGN); in OsTskContextInit() 42 context->pc = (uintptr_t)funcTskEntry; in OsTskContextInit() 48 OS_SEC_L4_TEXT void OsTskContextGet(uintptr_t saveAddr, struct TskContext *context) in OsTskContextGet()
|
/kernel/uniproton/src/arch/cpu/armv7-m/common/hwi/ |
D | prt_hwi_internal.h | 89 …*(volatile U32 *)((uintptr_t)OS_NVIC_SETENA_BASE + (((hwiNum) >> 5) << 2)) = 1UL << ((hwiNum) & 0x… 95 …*(volatile U32 *)((uintptr_t)OS_NVIC_CLRENA_BASE + (((hwiNum) >> 5) << 2)) = 1UL << ((hwiNum) & 0x… 101 *(volatile U8 *)((uintptr_t)OS_NVIC_PRI_BASE + (hwiNum)) = (U8)(pri); \ 107 *(volatile U8 *)((uintptr_t)OS_NVIC_EXCPRI_BASE + ((excNum) - 4)) = (U8)(pri); \ 113 …*(volatile U32 *)((uintptr_t)OS_NVIC_CLRPEND_BASE + (((hwiNum) >> 5) << 2)) = 1UL << ((hwiNum) & 0… 119 …*(volatile U32 *)((uintptr_t)OS_NVIC_SETPEND_BASE + (((hwiNum) >> 5) << 2)) = 1UL << ((hwiNum) & 0…
|
D | prt_hwi.c | 68 *(volatile U32 *)OS_NVIC_VTOR = (U32)(uintptr_t)g_hwiTable; in OsHwiGICInit() 83 uintptr_t intSave; in OsInterrupt() 131 return (U32)OS_HWI_GET_USER_PRIO((*((volatile U8 *)((uintptr_t)OS_NVIC_PRI_BASE + (hwiNum))))); in OsHwiPriorityGet() 139 uintptr_t intSave; in PRT_HwiEnable() 158 uintptr_t intSave; in PRT_HwiClearAllPending() 164 *(volatile U32 *)((uintptr_t)OS_NVIC_CLRPEND_BASE + loop) = OS_MAX_U32; in PRT_HwiClearAllPending() 175 uintptr_t intSave; in PRT_HwiClearPendingBit() 191 uintptr_t intSave; in PRT_HwiTrigger() 215 uintptr_t intSave; in PRT_HwiDisable()
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
D | sbi.c | 30 register uintptr_t a0 asm ("a0") = (uintptr_t)(arg0); in sbi_ecall() 31 register uintptr_t a1 asm ("a1") = (uintptr_t)(arg1); in sbi_ecall() 32 register uintptr_t a2 asm ("a2") = (uintptr_t)(arg2); in sbi_ecall() 33 register uintptr_t a3 asm ("a3") = (uintptr_t)(arg3); in sbi_ecall() 34 register uintptr_t a4 asm ("a4") = (uintptr_t)(arg4); in sbi_ecall() 35 register uintptr_t a5 asm ("a5") = (uintptr_t)(arg5); in sbi_ecall() 36 register uintptr_t a6 asm ("a6") = (uintptr_t)(fid); in sbi_ecall() 37 register uintptr_t a7 asm ("a7") = (uintptr_t)(ext); in sbi_ecall()
|
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/mte/ |
D | check_tags_inclusion.c | 24 mte_initialize_current_context(mode, (uintptr_t)ptr, BUFFER_SIZE); in verify_mte_pointer_validity() 31 if (!MT_FETCH_TAG((uintptr_t)ptr)) in verify_mte_pointer_validity() 33 mte_initialize_current_context(mode, (uintptr_t)ptr, BUFFER_SIZE + 1); in verify_mte_pointer_validity() 59 if (MT_FETCH_TAG((uintptr_t)ptr) == tag) { in check_single_included_tags() 61 MT_FETCH_TAG((uintptr_t)ptr), in check_single_included_tags() 91 if (MT_FETCH_TAG((uintptr_t)ptr) < tag) { in check_multiple_included_tags() 93 MT_FETCH_TAG((uintptr_t)ptr), in check_multiple_included_tags() 143 if (MT_FETCH_TAG((uintptr_t)ptr)) { in check_none_included_tags() 148 mte_initialize_current_context(mode, (uintptr_t)ptr, BUFFER_SIZE); in check_none_included_tags()
|
/kernel/linux/linux-5.10/tools/testing/selftests/vDSO/ |
D | parse_vdso.c | 44 uintptr_t load_addr; 45 uintptr_t load_offset; /* load_addr - recorded vaddr */ 72 void vdso_init_from_sysinfo_ehdr(uintptr_t base) in vdso_init_from_sysinfo_ehdr() 99 + (uintptr_t)pt[i].p_offset in vdso_init_from_sysinfo_ehdr() 100 - (uintptr_t)pt[i].p_vaddr; in vdso_init_from_sysinfo_ehdr() 121 ((uintptr_t)dyn[i].d_un.d_ptr in vdso_init_from_sysinfo_ehdr() 126 ((uintptr_t)dyn[i].d_un.d_ptr in vdso_init_from_sysinfo_ehdr() 131 ((uintptr_t)dyn[i].d_un.d_ptr in vdso_init_from_sysinfo_ehdr() 136 ((uintptr_t)dyn[i].d_un.d_ptr in vdso_init_from_sysinfo_ehdr() 141 ((uintptr_t)dyn[i].d_un.d_ptr in vdso_init_from_sysinfo_ehdr()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/ |
D | vmx.c | 85 vmx->vmxon_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx() 86 vmx->vmxon_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx() 90 vmx->vmcs_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmcs); in vcpu_alloc_vmx() 91 vmx->vmcs_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmcs); in vcpu_alloc_vmx() 95 vmx->msr_hva = addr_gva2hva(vm, (uintptr_t)vmx->msr); in vcpu_alloc_vmx() 96 vmx->msr_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->msr); in vcpu_alloc_vmx() 101 vmx->shadow_vmcs_hva = addr_gva2hva(vm, (uintptr_t)vmx->shadow_vmcs); in vcpu_alloc_vmx() 102 vmx->shadow_vmcs_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->shadow_vmcs); in vcpu_alloc_vmx() 106 vmx->vmread_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmread); in vcpu_alloc_vmx() 107 vmx->vmread_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmread); in vcpu_alloc_vmx() [all …]
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | fncpy.h | 60 uintptr_t __funcp_address; \ 69 BUG_ON((uintptr_t)(dest_buf) & (FNCPY_ALIGN - 1) || \ 70 (__funcp_address & ~(uintptr_t)1 & (FNCPY_ALIGN - 1))); \ 77 : "0" ((uintptr_t)(dest_buf) | (__funcp_address & 1))); \
|