Searched refs:crste (Results 1 – 4 of 4) sorted by relevance
| /linux/arch/s390/kvm/gmap/ |
| H A D | dat.h | 38 #define _CRSTE_TOK(l, t, p) ((union crste) { \ 218 union crste { union 316 static_assert(sizeof(union crste) == sizeof(unsigned long)); 337 union crste crstes[_CRST_ENTRIES]; 355 typedef long (*dat_walk_op)(union crste *crste, gfn_t gfn, gfn_t next, struct dat_walk *w); 372 union crste *last; 414 static inline union crste _crste_fc0(kvm_pfn_t pfn, int tt) in _crste_fc0() 416 union crste res = { .val = PFN_PHYS(pfn) }; in _crste_fc0() 438 static inline union crste _crste_fc1(kvm_pfn_t pfn, int tt, bool writable, bool dirty) in _crste_fc1() 440 union crste res = { .val = PFN_PHYS(pfn) & _SEGMENT_MASK }; in _crste_fc1() [all …]
|
| H A D | dat.c | 108 union crste crste; in dat_set_asce_limit() local 112 crste = table->crstes[0]; in dat_set_asce_limit() 113 if (crste.h.fc) in dat_set_asce_limit() 115 if (!crste.h.i) { in dat_set_asce_limit() 116 asce->rsto = crste.h.fc0.to; in dat_set_asce_limit() 119 crste.h.tt--; in dat_set_asce_limit() 120 crst_table_init((void *)table, crste.val); in dat_set_asce_limit() 125 crste = _crste_fc0(asce->rsto, asce->dt + 1); in dat_set_asce_limit() 129 crst_table_init((void *)table, _CRSTE_HOLE(crste.h.tt).val); in dat_set_asce_limit() 130 table->crstes[0] = crste; in dat_set_asce_limit() [all …]
|
| H A D | gmap.c | 318 static long gmap_clear_young_crste(union crste *crstep, gfn_t gfn, gfn_t end, struct dat_walk *walk) in gmap_clear_young_crste() 321 union crste crste, new; in gmap_clear_young_crste() local 324 crste = READ_ONCE(*crstep); in gmap_clear_young_crste() 326 if (!crste.h.fc) in gmap_clear_young_crste() 328 if (!crste.s.fc1.y && crste.h.i) in gmap_clear_young_crste() 330 if (crste_prefix(crste) && !gmap_mkold_prefix(priv->gmap, gfn, end)) in gmap_clear_young_crste() 333 new = crste; in gmap_clear_young_crste() 338 folio_set_dirty(phys_to_folio(crste_origin_large(crste))); in gmap_clear_young_crste() 341 } while (!dat_crstep_xchg_atomic(crstep, crste, new, gfn, walk->asce)); in gmap_clear_young_crste() 400 static long _gmap_unmap_crste(union crste *crstep, gfn_t gfn, gfn_t next, struct dat_walk *walk) in _gmap_unmap_crste() [all …]
|
| /linux/arch/s390/kvm/s390/ |
| H A D | gaccess.c | 1461 union crste *host, union crste *table, struct guest_fault *f, bool p) in _do_shadow_crste() 1463 union crste newcrste, oldcrste; in _do_shadow_crste() 1507 union crste *table, *host; in _gaccess_do_shadow()
|