Lines Matching defs:rmap
919 u64 rmap, new_rmap = (*n_rmap)->rmap;
923 /* No -> use the rmap as a single entry */
929 for_each_nest_rmap_safe(cursor, entry, &rmap) {
930 if (kvmhv_n_rmap_is_equal(rmap, new_rmap))
935 rmap = *rmapp;
936 if (rmap & RMAP_NESTED_IS_SINGLE_ENTRY) /* Not previously a list */
939 if (rmap & RMAP_NESTED_IS_SINGLE_ENTRY) /* Not previously a list */
940 (*n_rmap)->list.next = (struct llist_node *) rmap;
961 * If the pfn has changed then this is a stale rmap entry, the nested
963 * XXX A future optimisation would be to remove the rmap entry here.
972 * For a given list of rmap entries, update the rc bits in all ptes in shadow
973 * page tables for nested guests which are referenced by the rmap list.
981 unsigned long rmap, mask;
989 for_each_nest_rmap_safe(cursor, entry, &rmap)
990 kvmhv_update_nest_rmap_rc(kvm, rmap, clr, set, hpa, mask);
1019 unsigned long rmap;
1021 for_each_nest_rmap_safe(cursor, entry, &rmap) {
1022 kvmhv_remove_nest_rmap(kvm, rmap, hpa, mask);
1045 unsigned long *rmap = &memslot->arch.rmap[gfn];
1046 kvmhv_remove_nest_rmap_list(kvm, rmap, hpa, addr_mask);
1055 unsigned long rmap, *rmapp = &free->arch.rmap[page];
1060 for_each_nest_rmap_safe(cursor, entry, &rmap)
1671 n_rmap->rmap = (n_gpa & RMAP_NESTED_GPA_MASK) |
1673 rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn];