Searched refs:rmapp (Results 1 – 4 of 4) sorted by relevance
/arch/powerpc/kvm/ |
D | book3s_64_mmu_hv.c | 758 unsigned long *rmapp, unsigned long gfn) in kvmppc_unmap_hpte() argument 768 *rmapp &= ~(KVMPPC_RMAP_PRESENT | KVMPPC_RMAP_INDEX); in kvmppc_unmap_hpte() 775 *rmapp = (*rmapp & ~KVMPPC_RMAP_INDEX) | j; in kvmppc_unmap_hpte() 788 *rmapp |= rcbits << KVMPPC_RMAP_RC_SHIFT; in kvmppc_unmap_hpte() 803 unsigned long *rmapp; in kvm_unmap_rmapp() local 805 rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn]; in kvm_unmap_rmapp() 807 lock_rmap(rmapp); in kvm_unmap_rmapp() 808 if (!(*rmapp & KVMPPC_RMAP_PRESENT)) { in kvm_unmap_rmapp() 809 unlock_rmap(rmapp); in kvm_unmap_rmapp() 818 i = *rmapp & KVMPPC_RMAP_INDEX; in kvm_unmap_rmapp() [all …]
|
D | book3s_hv_nested.c | 875 void kvmhv_insert_nest_rmap(struct kvm *kvm, unsigned long *rmapp, in kvmhv_insert_nest_rmap() argument 878 struct llist_node *entry = ((struct llist_head *) rmapp)->first; in kvmhv_insert_nest_rmap() 883 if (!(*rmapp)) { in kvmhv_insert_nest_rmap() 885 *rmapp = new_rmap | RMAP_NESTED_IS_SINGLE_ENTRY; in kvmhv_insert_nest_rmap() 896 rmap = *rmapp; in kvmhv_insert_nest_rmap() 898 *rmapp = 0UL; in kvmhv_insert_nest_rmap() 899 llist_add(&((*n_rmap)->list), (struct llist_head *) rmapp); in kvmhv_insert_nest_rmap() 936 void kvmhv_update_nest_rmap_rc_list(struct kvm *kvm, unsigned long *rmapp, in kvmhv_update_nest_rmap_rc_list() argument 940 struct llist_node *entry = ((struct llist_head *) rmapp)->first; in kvmhv_update_nest_rmap_rc_list() 975 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 | 606 unsigned long *rmapp, struct rmap_nested **n_rmap) in kvmppc_create_pte() argument 688 if (rmapp && n_rmap) in kvmppc_create_pte() 689 kvmhv_insert_nest_rmap(kvm, rmapp, n_rmap); in kvmppc_create_pte() 740 if (rmapp && n_rmap) in kvmppc_create_pte() 741 kvmhv_insert_nest_rmap(kvm, rmapp, n_rmap); in kvmppc_create_pte() 766 if (rmapp && n_rmap) in kvmppc_create_pte() 767 kvmhv_insert_nest_rmap(kvm, rmapp, n_rmap); in kvmppc_create_pte() 1041 unsigned long old, *rmapp; in kvm_age_radix() local 1052 rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn]; in kvm_age_radix() 1053 kvmhv_update_nest_rmap_rc_list(kvm, rmapp, _PAGE_ACCESSED, 0, in kvm_age_radix() [all …]
|
/arch/powerpc/include/asm/ |
D | kvm_book3s_64.h | 101 #define for_each_nest_rmap_safe(pos, node, rmapp) \ argument 104 (*(rmapp) = ((RMAP_NESTED_IS_SINGLE_ENTRY & ((u64) (node))) ? \ 635 unsigned long *rmapp, struct rmap_nested **n_rmap); 636 extern void kvmhv_insert_nest_rmap(struct kvm *kvm, unsigned long *rmapp, 638 extern void kvmhv_update_nest_rmap_rc_list(struct kvm *kvm, unsigned long *rmapp,
|