Lines Matching defs:rmap
809 u64 rmap, new_rmap = (*n_rmap)->rmap;
813 /* No -> use the rmap as a single entry */
819 for_each_nest_rmap_safe(cursor, entry, &rmap) {
820 if (kvmhv_n_rmap_is_equal(rmap, new_rmap))
825 rmap = *rmapp;
826 if (rmap & RMAP_NESTED_IS_SINGLE_ENTRY) /* Not previously a list */
829 if (rmap & RMAP_NESTED_IS_SINGLE_ENTRY) /* Not previously a list */
830 (*n_rmap)->list.next = (struct llist_node *) rmap;
851 * If the pfn has changed then this is a stale rmap entry, the nested
853 * XXX A future optimisation would be to remove the rmap entry here.
862 * For a given list of rmap entries, update the rc bits in all ptes in shadow
863 * page tables for nested guests which are referenced by the rmap list.
871 unsigned long rmap, mask;
879 for_each_nest_rmap_safe(cursor, entry, &rmap)
880 kvmhv_update_nest_rmap_rc(kvm, rmap, clr, set, hpa, mask);
909 unsigned long rmap;
911 for_each_nest_rmap_safe(cursor, entry, &rmap) {
912 kvmhv_remove_nest_rmap(kvm, rmap, hpa, mask);
935 unsigned long *rmap = &memslot->arch.rmap[gfn];
936 kvmhv_remove_nest_rmap_list(kvm, rmap, hpa, addr_mask);
945 unsigned long rmap, *rmapp = &free->arch.rmap[page];
950 for_each_nest_rmap_safe(cursor, entry, &rmap)
1454 n_rmap->rmap = (n_gpa & RMAP_NESTED_GPA_MASK) |
1456 rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn];