Home
last modified time | relevance | path

Searched refs:ptep (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/uts/i86pc/vm/
H A Dkboot_mmu.c160 x86pte_t *ptep; in kbm_map() local
186 ptep = find_pte(va, &pte_physaddr, level, 0); in kbm_map()
187 if (ptep == NULL) in kbm_map()
195 *ptep = pteval; in kbm_map()
197 *((x86pte32_t *)ptep) = pteval; in kbm_map()
251 x86pte_t *ptep; in kbm_probe() local
280 ptep = find_pte(probe_va, &pte_physaddr, l, 1); in kbm_probe()
281 if (ptep == NULL) in kbm_probe()
284 pte_val = *ptep; in kbm_probe()
286 pte_val = *((x86pte32_t *)ptep); in kbm_probe()
[all …]
H A Dhtable.c1479 x86pte_t *ptep; in htable_attach() local
1549 ptep = kbm_remap_window(pfn_to_pa(pfn), 0); in htable_attach()
1552 pte = ptep[i]; in htable_attach()
1554 pte = ((x86pte32_t *)ptep)[i]; in htable_attach()
1560 ptep = kbm_remap_window(pfn_to_pa(pfn), 0); in htable_attach()
2056 x86pte_t *ptep; in x86pte_get() local
2062 ptep = x86pte_access_pagetable(ht, entry); in x86pte_get()
2063 pte = GET_PTE(ptep); in x86pte_get()
2083 x86pte_t *ptep; in x86pte_set() local
2093 ptep = x86pte_access_pagetable(ht, entry); in x86pte_set()
[all …]
/titanic_41/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_page_tables.c1002 uint64_t *ptep = &(pt->pt_pgtblva[index]); in init_pte() local
1008 if (AMD_IOMMU_REG_GET64(ptep, AMD_IOMMU_PTDE_PR) == 1) { in init_pte()
1017 R = AMD_IOMMU_REG_GET64(ptep, AMD_IOMMU_PTDE_IR); in init_pte()
1018 W = AMD_IOMMU_REG_GET64(ptep, AMD_IOMMU_PTDE_IW); in init_pte()
1021 AMD_IOMMU_REG_SET64(ptep, AMD_IOMMU_PTDE_IR, 1); in init_pte()
1025 AMD_IOMMU_REG_SET64(ptep, AMD_IOMMU_PTDE_IW, 1); in init_pte()
1030 ASSERT(AMD_IOMMU_REG_GET64(ptep, AMD_IOMMU_PTDE_ADDR) in init_pte()
1040 AMD_IOMMU_REG_SET64(ptep, AMD_IOMMU_PTDE_IR, 0); in init_pte()
1041 AMD_IOMMU_REG_SET64(ptep, AMD_IOMMU_PTDE_IW, 0); in init_pte()
1043 AMD_IOMMU_REG_SET64(ptep, AMD_IOMMU_PTDE_IW, 1); in init_pte()
[all …]
/titanic_41/usr/src/uts/i86pc/dboot/
H A Ddboot_startkern.c496 x86pte_t *ptep; in map_ma_at_va() local
523 ptep = find_pte(va, NULL, level, 0); in map_ma_at_va()
531 ptep = ptep; /* shut lint up */ in map_ma_at_va()
540 *ptep = pteval; in map_ma_at_va()
542 *((x86pte32_t *)ptep) = (x86pte32_t)pteval; in map_ma_at_va()
/titanic_41/usr/src/uts/i86xpv/os/
H A Dxpv_panic.c188 x86pte_t *ptep; in xpv_va_walk() local
227 ptep = (x86pte_t *)(ptable_window + in xpv_va_walk()
229 pte = GET_PTE(ptep); in xpv_va_walk()
/titanic_41/usr/src/cmd/mdb/intel/modules/mdb_kb/
H A Dmdb_kb.c744 xkb_get_pte(mmu_info_t *mmu, char *ptep) in xkb_get_pte() argument
750 pte = *((uint64_t *)ptep); in xkb_get_pte()
753 pte = *((uint32_t *)ptep); in xkb_get_pte()