Lines Matching refs:asce

79 	gmap->asce = atype | _ASCE_TABLE_LENGTH |  in gmap_alloc()
109 gmap_asce = gmap->asce; in gmap_create()
121 __tlb_flush_idte(gmap->asce); in gmap_flush_tlb()
260 struct gmap, list)->asce; in gmap_remove()
555 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION1) { in __gmap_link()
563 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION2) { in __gmap_link()
571 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION3) { in __gmap_link()
791 const int asce_type = gmap->asce & _ASCE_TYPE_MASK; in gmap_table_walk()
1273 static inline void gmap_idte_one(unsigned long asce, unsigned long vaddr) in gmap_idte_one() argument
1277 : : "a" (asce), "a" (vaddr) : "cc", "memory"); in gmap_idte_one()
1527 unsigned long asce, *r2t; in __gmap_unshadow_r1t() local
1532 asce = (unsigned long) r1t | _ASCE_TYPE_REGION1; in __gmap_unshadow_r1t()
1539 gmap_idte_one(asce, raddr); in __gmap_unshadow_r1t()
1564 table = (unsigned long *)(sg->asce & _ASCE_ORIGIN); in gmap_unshadow()
1565 switch (sg->asce & _ASCE_TYPE_MASK) { in gmap_unshadow()
1591 static struct gmap *gmap_find_shadow(struct gmap *parent, unsigned long asce, in gmap_find_shadow() argument
1597 if (sg->orig_asce != asce || sg->edat_level != edat_level || in gmap_find_shadow()
1620 int gmap_shadow_valid(struct gmap *sg, unsigned long asce, int edat_level) in gmap_shadow_valid() argument
1624 return sg->orig_asce == asce && sg->edat_level == edat_level; in gmap_shadow_valid()
1643 struct gmap *gmap_shadow(struct gmap *parent, unsigned long asce, in gmap_shadow() argument
1653 sg = gmap_find_shadow(parent, asce, edat_level); in gmap_shadow()
1658 limit = -1UL >> (33 - (((asce & _ASCE_TYPE_MASK) >> 2) * 11)); in gmap_shadow()
1659 if (asce & _ASCE_REAL_SPACE) in gmap_shadow()
1666 new->orig_asce = asce; in gmap_shadow()
1671 sg = gmap_find_shadow(parent, asce, edat_level); in gmap_shadow()
1677 if (asce & _ASCE_REAL_SPACE) { in gmap_shadow()
1692 if (asce & _ASCE_REAL_SPACE) { in gmap_shadow()
1701 rc = gmap_protect_range(parent, asce & _ASCE_ORIGIN, in gmap_shadow()
1702 ((asce & _ASCE_TABLE_LENGTH) + 1) * PAGE_SIZE, in gmap_shadow()
2294 __pmdp_idte(gaddr, (pmd_t *)pmdp, IDTE_GUEST_ASCE, gmap->asce, in gmap_pmdp_xchg()
2376 gmap->asce, IDTE_LOCAL); in gmap_pmdp_idte_local()
2411 gmap->asce, IDTE_GLOBAL); in gmap_pmdp_idte_global()
2780 unsigned long asce; in s390_replace_asce() local
2802 asce = (gmap->asce & ~_ASCE_ORIGIN) | __pa(table); in s390_replace_asce()
2803 WRITE_ONCE(gmap->asce, asce); in s390_replace_asce()
2804 WRITE_ONCE(gmap->mm->context.gmap_asce, asce); in s390_replace_asce()