Lines Matching refs:pg_mode
30 int pg_mode; member
144 const int pg_mode = in->pg_mode; in mmu_translate() local
162 if (!(pg_mode & PG_MODE_NXE)) { in mmu_translate()
166 if (pg_mode & PG_MODE_PAE) { in mmu_translate()
168 if (pg_mode & PG_MODE_LMA) { in mmu_translate()
169 if (pg_mode & PG_MODE_LA57) { in mmu_translate()
306 } else if (pg_mode & PG_MODE_PG) { in mmu_translate()
322 if ((pte & PG_PSE_MASK) && (pg_mode & PG_MODE_PSE)) { in mmu_translate()
378 if ((ptep & PG_RW_MASK) || !(is_user || (pg_mode & PG_MODE_WP))) { in mmu_translate()
384 !((pg_mode & PG_MODE_SMEP) && (ptep & PG_USER_MASK)))) { in mmu_translate()
389 pkr = pg_mode & PG_MODE_PKE ? env->pkru : 0; in mmu_translate()
391 pkr = pg_mode & PG_MODE_PKS ? env->pkrs : 0; in mmu_translate()
401 } else if (pkr_wd && (is_user || (pg_mode & PG_MODE_WP))) { in mmu_translate()
508 if (pg_mode & (PG_MODE_NXE | PG_MODE_SMEP)) { in mmu_translate()
561 in.pg_mode = env->nested_pg_mode; in get_physical_address()
583 in.pg_mode = get_pg_mode(env); in get_physical_address()
585 if (in.pg_mode & PG_MODE_LMA) { in get_physical_address()
587 int shift = in.pg_mode & PG_MODE_LA57 ? 56 : 47; in get_physical_address()