Home
last modified time | relevance | path

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

/arch/s390/mm/
Dhugetlbpage.c26 unsigned long rste; in __pte_to_rste() local
49 rste = pte_val(pte) & PAGE_MASK; in __pte_to_rste()
50 rste |= move_set_bit(pte_val(pte), _PAGE_READ, in __pte_to_rste()
52 rste |= move_set_bit(pte_val(pte), _PAGE_WRITE, in __pte_to_rste()
54 rste |= move_set_bit(pte_val(pte), _PAGE_INVALID, in __pte_to_rste()
56 rste |= move_set_bit(pte_val(pte), _PAGE_PROTECT, in __pte_to_rste()
58 rste |= move_set_bit(pte_val(pte), _PAGE_DIRTY, in __pte_to_rste()
60 rste |= move_set_bit(pte_val(pte), _PAGE_YOUNG, in __pte_to_rste()
63 rste |= move_set_bit(pte_val(pte), _PAGE_SOFT_DIRTY, in __pte_to_rste()
66 rste |= move_set_bit(pte_val(pte), _PAGE_NOEXEC, in __pte_to_rste()
[all …]
Dpgalloc.c469 unsigned long *rste, next, table; in base_region2_walk() local
472 rste = (unsigned long *) origin; in base_region2_walk()
473 rste += (addr & _REGION2_INDEX) >> _REGION2_SHIFT; in base_region2_walk()
476 if (*rste & _REGION_ENTRY_INVALID) { in base_region2_walk()
482 *rste = table | _REGION2_ENTRY; in base_region2_walk()
484 table = *rste & _REGION_ENTRY_ORIGIN; in base_region2_walk()
490 } 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.h1237 unsigned long rste; in pgd_offset_raw() local
1241 rste = pgd_val(*pgd); in pgd_offset_raw()
1243 shift = ((rste & _REGION_ENTRY_TYPE_MASK) >> 2) * 11 + 20; in pgd_offset_raw()