Lines Matching refs:n_rmap
885 struct rmap_nested **n_rmap) in kvmhv_insert_nest_rmap() argument
889 u64 rmap, new_rmap = (*n_rmap)->rmap; in kvmhv_insert_nest_rmap()
908 llist_add(&((*n_rmap)->list), (struct llist_head *) rmapp); in kvmhv_insert_nest_rmap()
910 (*n_rmap)->list.next = (struct llist_node *) rmap; in kvmhv_insert_nest_rmap()
913 *n_rmap = NULL; in kvmhv_insert_nest_rmap()
916 static void kvmhv_update_nest_rmap_rc(struct kvm *kvm, u64 n_rmap, in kvmhv_update_nest_rmap_rc() argument
924 gpa = n_rmap & RMAP_NESTED_GPA_MASK; in kvmhv_update_nest_rmap_rc()
925 lpid = (n_rmap & RMAP_NESTED_LPID_MASK) >> RMAP_NESTED_LPID_SHIFT; in kvmhv_update_nest_rmap_rc()
963 static void kvmhv_remove_nest_rmap(struct kvm *kvm, u64 n_rmap, in kvmhv_remove_nest_rmap() argument
971 gpa = n_rmap & RMAP_NESTED_GPA_MASK; in kvmhv_remove_nest_rmap()
972 lpid = (n_rmap & RMAP_NESTED_LPID_MASK) >> RMAP_NESTED_LPID_SHIFT; in kvmhv_remove_nest_rmap()
1490 struct rmap_nested *n_rmap; in __kvmhv_nested_page_fault() local
1638 n_rmap = kzalloc(sizeof(*n_rmap), GFP_KERNEL); in __kvmhv_nested_page_fault()
1639 if (!n_rmap) in __kvmhv_nested_page_fault()
1641 n_rmap->rmap = (n_gpa & RMAP_NESTED_GPA_MASK) | in __kvmhv_nested_page_fault()
1645 mmu_seq, gp->shadow_lpid, rmapp, &n_rmap); in __kvmhv_nested_page_fault()
1646 kfree(n_rmap); in __kvmhv_nested_page_fault()