Home
last modified time | relevance | path

Searched refs:pte1 (Results 1 – 8 of 8) sorted by relevance

/kernel/liteos_a/arch/arm/arm/include/
Dlos_pte_ops.h50 STATIC INLINE VOID OsSavePte1(PTE_T *pte1Ptr, PTE_T pte1) in OsSavePte1() argument
53 *pte1Ptr = pte1; in OsSavePte1()
87 STATIC INLINE BOOL OsIsPte1PageTable(PTE_T pte1) in OsIsPte1PageTable() argument
89 return (pte1 & MMU_DESCRIPTOR_L1_TYPE_MASK) == MMU_DESCRIPTOR_L1_TYPE_PAGE_TABLE; in OsIsPte1PageTable()
92 STATIC INLINE BOOL OsIsPte1Invalid(PTE_T pte1) in OsIsPte1Invalid() argument
94 return (pte1 & MMU_DESCRIPTOR_L1_TYPE_MASK) == MMU_DESCRIPTOR_L1_TYPE_INVALID; in OsIsPte1Invalid()
97 STATIC INLINE BOOL OsIsPte1Section(PTE_T pte1) in OsIsPte1Section() argument
99 return (pte1 & MMU_DESCRIPTOR_L1_TYPE_MASK) == MMU_DESCRIPTOR_L1_TYPE_SECTION; in OsIsPte1Section()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dmachine_kexec_32.c66 free_page((unsigned long)image->arch.pte1); in machine_kexec_free_page_tables()
67 image->arch.pte1 = NULL; in machine_kexec_free_page_tables()
79 image->arch.pte1 = (pte_t *)get_zeroed_page(GFP_KERNEL); in machine_kexec_alloc_page_tables()
84 !image->arch.pte0 || !image->arch.pte1) { in machine_kexec_alloc_page_tables()
127 image->arch.pgd, pmd, image->arch.pte1, in machine_kexec_prepare_page_tables()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_32_mmu.c189 u32 pte0, pte1; in kvmppc_mmu_book3s_32_xlate_pte() local
217 pte1 = be32_to_cpu(pteg[i + 1]); in kvmppc_mmu_book3s_32_xlate_pte()
221 pte->raddr = (pte1 & ~(0xFFFULL)) | (eaddr & 0xFFF); in kvmppc_mmu_book3s_32_xlate_pte()
222 pp = pte1 & 3; in kvmppc_mmu_book3s_32_xlate_pte()
246 pte0, pte1, pp); in kvmppc_mmu_book3s_32_xlate_pte()
255 u32 pte_r = pte1; in kvmppc_mmu_book3s_32_xlate_pte()
Dbook3s_64_mmu.c264 u64 pte1 = be64_to_cpu(pteg[i + 1]); in kvmppc_mmu_book3s_64_xlate() local
271 pgsize = decode_pagesize(slbe, pte1); in kvmppc_mmu_book3s_64_xlate()
/kernel/liteos_a/arch/arm/arm/src/
Dlos_arch_mmu.c129 STATIC INLINE SPIN_LOCK_S *OsGetPte2Lock(LosArchMmu *archMmu, PTE_T pte1, UINT32 *intSave) in OsGetPte2Lock() argument
131 PADDR_T pa = MMU_DESCRIPTOR_L1_PAGE_TABLE_ADDR(pte1); in OsGetPte2Lock()
140 STATIC INLINE PTE_T *OsGetPte2BasePtr(PTE_T pte1) in OsGetPte2BasePtr() argument
142 PADDR_T pa = MMU_DESCRIPTOR_L1_PAGE_TABLE_ADDR(pte1); in OsGetPte2BasePtr()
441 STATIC UINT32 OsUnmapL2PTE(LosArchMmu *archMmu, PTE_T *pte1, vaddr_t vaddr, UINT32 *count) in OsUnmapL2PTE() argument
452 lock = OsGetPte2Lock(archMmu, *pte1, &intSave); in OsUnmapL2PTE()
457 pte2BasePtr = OsGetPte2BasePtr(*pte1); in OsUnmapL2PTE()
774 STATIC UINT32 OsMapL2PageContinous(MmuMapInfo *mmuMapInfo, PTE_T *pte1, UINT32 *count) in OsMapL2PageContinous() argument
782 lock = OsGetPte2Lock(mmuMapInfo->archMmu, *pte1, &intSave); in OsMapL2PageContinous()
786 pte2BasePtr = OsGetPte2BasePtr(*pte1); in OsMapL2PageContinous()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dpgtable-types.h7 typedef struct { pte_basic_t pte, pte1, pte2, pte3; } pte_t; member
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dkexec.h145 pte_t *pte1; member
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/
Dpgtable.h206 ptep->pte = ptep->pte1 = ptep->pte2 = ptep->pte3 = pte_val(pte); in __set_pte_at()