Home
last modified time | relevance | path

Searched refs:rmapp (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c781 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 …]
Dbook3s_hv_nested.c884 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 …]
Dbook3s_64_mmu_radix.c613 unsigned long *rmapp, struct rmap_nested **n_rmap) in kvmppc_create_pte() argument
695 if (rmapp && n_rmap) in kvmppc_create_pte()
696 kvmhv_insert_nest_rmap(kvm, rmapp, n_rmap); in kvmppc_create_pte()
747 if (rmapp && n_rmap) in kvmppc_create_pte()
748 kvmhv_insert_nest_rmap(kvm, rmapp, n_rmap); in kvmppc_create_pte()
773 if (rmapp && n_rmap) in kvmppc_create_pte()
774 kvmhv_insert_nest_rmap(kvm, rmapp, n_rmap); in kvmppc_create_pte()
1053 unsigned long old, *rmapp; in kvm_age_radix() local
1064 rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn]; in kvm_age_radix()
1065 kvmhv_update_nest_rmap_rc_list(kvm, rmapp, _PAGE_ACCESSED, 0, in kvm_age_radix()
[all …]
/linux-6.6.21/arch/powerpc/include/asm/
Dkvm_book3s_64.h88 #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,