Lines Matching defs:rmap
889 u64 rmap, new_rmap = (*n_rmap)->rmap;
893 /* No -> use the rmap as a single entry */
899 for_each_nest_rmap_safe(cursor, entry, &rmap) {
900 if (kvmhv_n_rmap_is_equal(rmap, new_rmap))
905 rmap = *rmapp;
906 if (rmap & RMAP_NESTED_IS_SINGLE_ENTRY) /* Not previously a list */
909 if (rmap & RMAP_NESTED_IS_SINGLE_ENTRY) /* Not previously a list */
910 (*n_rmap)->list.next = (struct llist_node *) rmap;
931 * If the pfn has changed then this is a stale rmap entry, the nested
933 * XXX A future optimisation would be to remove the rmap entry here.
942 * For a given list of rmap entries, update the rc bits in all ptes in shadow
943 * page tables for nested guests which are referenced by the rmap list.
951 unsigned long rmap, mask;
959 for_each_nest_rmap_safe(cursor, entry, &rmap)
960 kvmhv_update_nest_rmap_rc(kvm, rmap, clr, set, hpa, mask);
989 unsigned long rmap;
991 for_each_nest_rmap_safe(cursor, entry, &rmap) {
992 kvmhv_remove_nest_rmap(kvm, rmap, hpa, mask);
1015 unsigned long *rmap = &memslot->arch.rmap[gfn];
1016 kvmhv_remove_nest_rmap_list(kvm, rmap, hpa, addr_mask);
1025 unsigned long rmap, *rmapp = &free->arch.rmap[page];
1030 for_each_nest_rmap_safe(cursor, entry, &rmap)
1641 n_rmap->rmap = (n_gpa & RMAP_NESTED_GPA_MASK) |
1643 rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn];