Searched refs:rmapp (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/arch/powerpc/kvm/ |
D | book3s_64_mmu_hv.c | 781 unsigned long *rmapp, unsigned long gfn) in kvmppc_unmap_hpte() argument 791 *rmapp &= ~(KVMPPC_RMAP_PRESENT | KVMPPC_RMAP_INDEX); in kvmppc_unmap_hpte() 798 *rmapp = (*rmapp & ~KVMPPC_RMAP_INDEX) | j; in kvmppc_unmap_hpte() 811 *rmapp |= rcbits << KVMPPC_RMAP_RC_SHIFT; in kvmppc_unmap_hpte() 826 unsigned long *rmapp; in kvm_unmap_rmapp() local 828 rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn]; in kvm_unmap_rmapp() 830 lock_rmap(rmapp); in kvm_unmap_rmapp() 831 if (!(*rmapp & KVMPPC_RMAP_PRESENT)) { in kvm_unmap_rmapp() 832 unlock_rmap(rmapp); in kvm_unmap_rmapp() 841 i = *rmapp & KVMPPC_RMAP_INDEX; in kvm_unmap_rmapp() [all …]
|
D | book3s_hv_nested.c | 914 void kvmhv_insert_nest_rmap(struct kvm *kvm, unsigned long *rmapp, in kvmhv_insert_nest_rmap() argument 917 struct llist_node *entry = ((struct llist_head *) rmapp)->first; in kvmhv_insert_nest_rmap() 922 if (!(*rmapp)) { in kvmhv_insert_nest_rmap() 924 *rmapp = new_rmap | RMAP_NESTED_IS_SINGLE_ENTRY; in kvmhv_insert_nest_rmap() 935 rmap = *rmapp; in kvmhv_insert_nest_rmap() 937 *rmapp = 0UL; in kvmhv_insert_nest_rmap() 938 llist_add(&((*n_rmap)->list), (struct llist_head *) rmapp); in kvmhv_insert_nest_rmap() 975 void kvmhv_update_nest_rmap_rc_list(struct kvm *kvm, unsigned long *rmapp, in kvmhv_update_nest_rmap_rc_list() argument 979 struct llist_node *entry = ((struct llist_head *) rmapp)->first; in kvmhv_update_nest_rmap_rc_list() 1014 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 | 618 unsigned long *rmapp, struct rmap_nested **n_rmap) in kvmppc_create_pte() argument 700 if (rmapp && n_rmap) in kvmppc_create_pte() 701 kvmhv_insert_nest_rmap(kvm, rmapp, n_rmap); in kvmppc_create_pte() 752 if (rmapp && n_rmap) in kvmppc_create_pte() 753 kvmhv_insert_nest_rmap(kvm, rmapp, n_rmap); in kvmppc_create_pte() 778 if (rmapp && n_rmap) in kvmppc_create_pte() 779 kvmhv_insert_nest_rmap(kvm, rmapp, n_rmap); in kvmppc_create_pte() 1058 unsigned long old, *rmapp; in kvm_age_radix() local 1069 rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn]; in kvm_age_radix() 1070 kvmhv_update_nest_rmap_rc_list(kvm, rmapp, _PAGE_ACCESSED, 0, in kvm_age_radix() [all …]
|
/linux-6.12.1/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,
|