Searched refs:rmapp (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/arch/powerpc/kvm/ |
D | book3s_64_mmu_hv.c | 780 unsigned long *rmapp, unsigned long gfn) in kvmppc_unmap_hpte() argument 790 *rmapp &= ~(KVMPPC_RMAP_PRESENT | KVMPPC_RMAP_INDEX); in kvmppc_unmap_hpte() 797 *rmapp = (*rmapp & ~KVMPPC_RMAP_INDEX) | j; in kvmppc_unmap_hpte() 810 *rmapp |= rcbits << KVMPPC_RMAP_RC_SHIFT; in kvmppc_unmap_hpte() 825 unsigned long *rmapp; in kvm_unmap_rmapp() local 827 rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn]; in kvm_unmap_rmapp() 829 lock_rmap(rmapp); in kvm_unmap_rmapp() 830 if (!(*rmapp & KVMPPC_RMAP_PRESENT)) { in kvm_unmap_rmapp() 831 unlock_rmap(rmapp); in kvm_unmap_rmapp() 840 i = *rmapp & KVMPPC_RMAP_INDEX; in kvm_unmap_rmapp() [all …]
|
D | book3s_hv_nested.c | 884 void kvmhv_insert_nest_rmap(struct kvm *kvm, unsigned long *rmapp, in kvmhv_insert_nest_rmap() argument 887 struct llist_node *entry = ((struct llist_head *) rmapp)->first; in kvmhv_insert_nest_rmap() 892 if (!(*rmapp)) { in kvmhv_insert_nest_rmap() 894 *rmapp = new_rmap | RMAP_NESTED_IS_SINGLE_ENTRY; in kvmhv_insert_nest_rmap() 905 rmap = *rmapp; in kvmhv_insert_nest_rmap() 907 *rmapp = 0UL; in kvmhv_insert_nest_rmap() 908 llist_add(&((*n_rmap)->list), (struct llist_head *) rmapp); in kvmhv_insert_nest_rmap() 945 void kvmhv_update_nest_rmap_rc_list(struct kvm *kvm, unsigned long *rmapp, in kvmhv_update_nest_rmap_rc_list() argument 949 struct llist_node *entry = ((struct llist_head *) rmapp)->first; in kvmhv_update_nest_rmap_rc_list() 984 static void kvmhv_remove_nest_rmap_list(struct kvm *kvm, unsigned long *rmapp, in kvmhv_remove_nest_rmap_list() argument [all …]
|
D | book3s_64_mmu_radix.c | 612 unsigned long *rmapp, struct rmap_nested **n_rmap) in kvmppc_create_pte() argument 694 if (rmapp && n_rmap) in kvmppc_create_pte() 695 kvmhv_insert_nest_rmap(kvm, rmapp, n_rmap); in kvmppc_create_pte() 746 if (rmapp && n_rmap) in kvmppc_create_pte() 747 kvmhv_insert_nest_rmap(kvm, rmapp, n_rmap); in kvmppc_create_pte() 772 if (rmapp && n_rmap) in kvmppc_create_pte() 773 kvmhv_insert_nest_rmap(kvm, rmapp, n_rmap); in kvmppc_create_pte() 1052 unsigned long old, *rmapp; in kvm_age_radix() local 1063 rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn]; in kvm_age_radix() 1064 kvmhv_update_nest_rmap_rc_list(kvm, rmapp, _PAGE_ACCESSED, 0, in kvm_age_radix() [all …]
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | kvm_book3s_64.h | 88 #define for_each_nest_rmap_safe(pos, node, rmapp) \ argument 91 (*(rmapp) = ((RMAP_NESTED_IS_SINGLE_ENTRY & ((u64) (node))) ? \ 628 unsigned long *rmapp, struct rmap_nested **n_rmap); 629 extern void kvmhv_insert_nest_rmap(struct kvm *kvm, unsigned long *rmapp, 631 extern void kvmhv_update_nest_rmap_rc_list(struct kvm *kvm, unsigned long *rmapp,
|