Searched refs:oldcrste (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/s390/kvm/ |
| H A D | gmap.h | 200 union crste oldcrste, union crste newcrste, in _gmap_crstep_xchg_atomic() argument 205 if (KVM_BUG_ON(crstep->h.tt != oldcrste.h.tt || newcrste.h.tt != oldcrste.h.tt, gmap->kvm)) in _gmap_crstep_xchg_atomic() 213 if (crste_prefix(oldcrste) && (newcrste.h.p || newcrste.h.i || !crste_prefix(newcrste))) { in _gmap_crstep_xchg_atomic() 217 if (crste_leaf(oldcrste) && oldcrste.s.fc1.vsie_notif && in _gmap_crstep_xchg_atomic() 225 if (!oldcrste.s.fc1.d && newcrste.s.fc1.d && !newcrste.s.fc1.s) in _gmap_crstep_xchg_atomic() 227 return dat_crstep_xchg_atomic(crstep, oldcrste, newcrste, gfn, gmap->asce); in _gmap_crstep_xchg_atomic() 231 union crste oldcrste, union crste newcrste, in gmap_crstep_xchg_atomic() argument 234 return _gmap_crstep_xchg_atomic(gmap, crstep, oldcrste, newcrste, gfn, true); in gmap_crstep_xchg_atomic()
|
| H A D | gmap.c | 524 union crste newcrste, oldcrste = READ_ONCE(*f->crstep); in gmap_handle_minor_crste_fault() local 527 if (!oldcrste.h.fc) in gmap_handle_minor_crste_fault() 530 f->pfn = PHYS_PFN(large_crste_to_phys(oldcrste, f->gfn)); in gmap_handle_minor_crste_fault() 531 f->writable = oldcrste.s.fc1.w; in gmap_handle_minor_crste_fault() 534 if (!oldcrste.h.i && !(f->write_attempt && oldcrste.h.p)) in gmap_handle_minor_crste_fault() 537 if (!f->write_attempt || oldcrste.s.fc1.w) { in gmap_handle_minor_crste_fault() 538 f->write_attempt |= oldcrste.s.fc1.w && oldcrste.s.fc1.d; in gmap_handle_minor_crste_fault() 539 newcrste = oldcrste; in gmap_handle_minor_crste_fault() 548 return !gmap_crstep_xchg_atomic(gmap, f->crstep, oldcrste, newcrste, f->gfn); in gmap_handle_minor_crste_fault() 702 union crste newcrste, oldcrste; in gmap_ucas_map_one() local [all …]
|
| H A D | gaccess.c | 1467 union crste newcrste, oldcrste; in _do_shadow_crste() local 1484 oldcrste = READ_ONCE(*host); in _do_shadow_crste() 1485 newcrste = _crste_fc1(f->pfn, oldcrste.h.tt, f->writable, !p); in _do_shadow_crste() 1486 newcrste.s.fc1.d |= oldcrste.s.fc1.d; in _do_shadow_crste() 1487 newcrste.s.fc1.sd |= oldcrste.s.fc1.sd; in _do_shadow_crste() 1488 newcrste.h.p &= oldcrste.h.p; in _do_shadow_crste() 1490 newcrste.s.fc1.prefix_notif = oldcrste.s.fc1.prefix_notif; in _do_shadow_crste() 1491 newcrste.s.fc1.s = oldcrste.s.fc1.s; in _do_shadow_crste() 1494 } while (!_gmap_crstep_xchg_atomic(sg->parent, host, oldcrste, newcrste, f->gfn, false)); in _do_shadow_crste() 1498 newcrste = _crste_fc1(f->pfn, oldcrste.h.tt, 0, !p); in _do_shadow_crste()
|
| H A D | dat.c | 1002 union crste newcrste, oldcrste; in dat_set_pn_crste() local 1006 oldcrste = READ_ONCE(*crstep); in dat_set_pn_crste() 1007 if (!oldcrste.h.fc || oldcrste.h.i || oldcrste.h.p) in dat_set_pn_crste() 1009 if (oldcrste.s.fc1.prefix_notif) in dat_set_pn_crste() 1011 newcrste = oldcrste; in dat_set_pn_crste() 1013 } while (!dat_crstep_xchg_atomic(crstep, oldcrste, newcrste, gfn, walk->asce)); in dat_set_pn_crste()
|
| H A D | dat.h | 941 union crste oldcrste, empty = _CRSTE_EMPTY(crstep->h.tt); in dat_crstep_clear_atomic() local 944 oldcrste = READ_ONCE(*crstep); in dat_crstep_clear_atomic() 945 } while (!dat_crstep_xchg_atomic(crstep, oldcrste, empty, gfn, asce)); in dat_crstep_clear_atomic() 946 return oldcrste; in dat_crstep_clear_atomic()
|