Home
last modified time | relevance | path

Searched refs:rste (Results 1 – 4 of 4) sorted by relevance

/arch/s390/mm/
Dhugetlbpage.c23 unsigned long rste; in __pte_to_rste() local
46 rste = pte_val(pte) & PAGE_MASK; in __pte_to_rste()
47 rste |= move_set_bit(pte_val(pte), _PAGE_READ, in __pte_to_rste()
49 rste |= move_set_bit(pte_val(pte), _PAGE_WRITE, in __pte_to_rste()
51 rste |= move_set_bit(pte_val(pte), _PAGE_INVALID, in __pte_to_rste()
53 rste |= move_set_bit(pte_val(pte), _PAGE_PROTECT, in __pte_to_rste()
55 rste |= move_set_bit(pte_val(pte), _PAGE_DIRTY, in __pte_to_rste()
57 rste |= move_set_bit(pte_val(pte), _PAGE_YOUNG, in __pte_to_rste()
60 rste |= move_set_bit(pte_val(pte), _PAGE_SOFT_DIRTY, in __pte_to_rste()
63 rste |= move_set_bit(pte_val(pte), _PAGE_NOEXEC, in __pte_to_rste()
[all …]
Dpgalloc.c455 unsigned long *rste, next, table; in base_region2_walk() local
458 rste = (unsigned long *) origin; in base_region2_walk()
459 rste += (addr & _REGION2_INDEX) >> _REGION2_SHIFT; in base_region2_walk()
462 if (*rste & _REGION_ENTRY_INVALID) { in base_region2_walk()
468 *rste = table | _REGION2_ENTRY; in base_region2_walk()
470 table = *rste & _REGION_ENTRY_ORIGIN; in base_region2_walk()
476 } while (rste++, addr = next, addr < end); in base_region2_walk()
/arch/s390/kvm/
Dgaccess.c682 union region2_table_entry rste; in guest_translate() local
686 if (deref_table(vcpu->kvm, ptr, &rste.val)) in guest_translate()
688 if (rste.i) in guest_translate()
690 if (rste.tt != TABLE_TYPE_REGION2) in guest_translate()
692 if (vaddr.rtx01 < rste.tf || vaddr.rtx01 > rste.tl) in guest_translate()
695 dat_protection |= rste.p; in guest_translate()
696 ptr = rste.rto * PAGE_SIZE + vaddr.rtx * 8; in guest_translate()
1055 union region2_table_entry rste; in kvm_s390_shadow_tables() local
1059 rste.val = ptr; in kvm_s390_shadow_tables()
1062 rc = gmap_read_table(parent, ptr + vaddr.rsx * 8, &rste.val); in kvm_s390_shadow_tables()
[all …]
/arch/s390/include/asm/
Dpgtable.h1231 unsigned long rste; in pgd_offset_raw() local
1235 rste = pgd_val(*pgd); in pgd_offset_raw()
1237 shift = ((rste & _REGION_ENTRY_TYPE_MASK) >> 2) * 11 + 20; in pgd_offset_raw()