Searched refs:crste (Results 1 – 3 of 3) sorted by relevance
| /linux/arch/s390/kvm/ |
| H A D | dat.h | 37 #define _CRSTE_TOK(l, t, p) ((union crste) { \ 211 union crste { union 309 static_assert(sizeof(union crste) == sizeof(unsigned long)); 330 union crste crstes[_CRST_ENTRIES]; 348 typedef long (*dat_walk_op)(union crste *crste, gfn_t gfn, gfn_t next, struct dat_walk *w); 365 union crste *last; 407 static inline union crste _crste_fc0(kvm_pfn_t pfn, int tt) in _crste_fc0() 409 union crste res = { .val = PFN_PHYS(pfn) }; in _crste_fc0() 431 static inline union crste _crste_fc1(kvm_pfn_t pfn, int tt, bool writable, bool dirty) in _crste_fc1() 433 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 | 311 static long gmap_clear_young_crste(union crste *crstep, gfn_t gfn, gfn_t end, struct dat_walk *walk) in gmap_clear_young_crste() 314 union crste crste, new; in gmap_clear_young_crste() local 316 crste = READ_ONCE(*crstep); in gmap_clear_young_crste() 318 if (!crste.h.fc) in gmap_clear_young_crste() 320 if (!crste.s.fc1.y && crste.h.i) in gmap_clear_young_crste() 322 if (!crste_prefix(crste) || gmap_mkold_prefix(priv->gmap, gfn, end)) { in gmap_clear_young_crste() 323 new = crste; in gmap_clear_young_crste() 328 folio_set_dirty(phys_to_folio(crste_origin_large(crste))); in gmap_clear_young_crste() 390 static long _gmap_unmap_crste(union crste *crstep, gfn_t gfn, gfn_t next, struct dat_walk *walk) in _gmap_unmap_crste() 469 static long _crste_test_and_clear_softdirty(union crste *table, gfn_t gfn, gfn_t end, in _crste_test_and_clear_softdirty() [all …]
|