Lines Matching refs:n_rmap
877 struct rmap_nested **n_rmap) in kvmhv_insert_nest_rmap() argument
881 u64 rmap, new_rmap = (*n_rmap)->rmap; in kvmhv_insert_nest_rmap()
900 llist_add(&((*n_rmap)->list), (struct llist_head *) rmapp); in kvmhv_insert_nest_rmap()
902 (*n_rmap)->list.next = (struct llist_node *) rmap; in kvmhv_insert_nest_rmap()
905 *n_rmap = NULL; in kvmhv_insert_nest_rmap()
908 static void kvmhv_update_nest_rmap_rc(struct kvm *kvm, u64 n_rmap, in kvmhv_update_nest_rmap_rc() argument
916 gpa = n_rmap & RMAP_NESTED_GPA_MASK; in kvmhv_update_nest_rmap_rc()
917 lpid = (n_rmap & RMAP_NESTED_LPID_MASK) >> RMAP_NESTED_LPID_SHIFT; in kvmhv_update_nest_rmap_rc()
955 static void kvmhv_remove_nest_rmap(struct kvm *kvm, u64 n_rmap, in kvmhv_remove_nest_rmap() argument
963 gpa = n_rmap & RMAP_NESTED_GPA_MASK; in kvmhv_remove_nest_rmap()
964 lpid = (n_rmap & RMAP_NESTED_LPID_MASK) >> RMAP_NESTED_LPID_SHIFT; in kvmhv_remove_nest_rmap()
1485 struct rmap_nested *n_rmap; in __kvmhv_nested_page_fault() local
1630 n_rmap = kzalloc(sizeof(*n_rmap), GFP_KERNEL); in __kvmhv_nested_page_fault()
1631 if (!n_rmap) in __kvmhv_nested_page_fault()
1633 n_rmap->rmap = (n_gpa & RMAP_NESTED_GPA_MASK) | in __kvmhv_nested_page_fault()
1637 mmu_seq, gp->shadow_lpid, rmapp, &n_rmap); in __kvmhv_nested_page_fault()
1638 kfree(n_rmap); in __kvmhv_nested_page_fault()