Home
last modified time | relevance | path

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

/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c802 unsigned long *rmapp, unsigned long gfn) in kvmppc_unmap_hpte() argument
812 *rmapp &= ~(KVMPPC_RMAP_PRESENT | KVMPPC_RMAP_INDEX); in kvmppc_unmap_hpte()
819 *rmapp = (*rmapp & ~KVMPPC_RMAP_INDEX) | j; in kvmppc_unmap_hpte()
832 *rmapp |= rcbits << KVMPPC_RMAP_RC_SHIFT; in kvmppc_unmap_hpte()
847 unsigned long *rmapp; in kvm_unmap_rmapp() local
849 rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn]; in kvm_unmap_rmapp()
851 lock_rmap(rmapp); in kvm_unmap_rmapp()
852 if (!(*rmapp & KVMPPC_RMAP_PRESENT)) { in kvm_unmap_rmapp()
853 unlock_rmap(rmapp); in kvm_unmap_rmapp()
862 i = *rmapp & KVMPPC_RMAP_INDEX; in kvm_unmap_rmapp()
[all …]
Dbook3s_64_mmu_radix.c589 unsigned long *rmapp, struct rmap_nested **n_rmap) in kvmppc_create_pte() argument
671 if (rmapp && n_rmap) in kvmppc_create_pte()
672 kvmhv_insert_nest_rmap(kvm, rmapp, n_rmap); in kvmppc_create_pte()
723 if (rmapp && n_rmap) in kvmppc_create_pte()
724 kvmhv_insert_nest_rmap(kvm, rmapp, n_rmap); in kvmppc_create_pte()
749 if (rmapp && n_rmap) in kvmppc_create_pte()
750 kvmhv_insert_nest_rmap(kvm, rmapp, n_rmap); in kvmppc_create_pte()
1025 unsigned long old, *rmapp; in kvm_age_radix() local
1036 rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn]; in kvm_age_radix()
1037 kvmhv_update_nest_rmap_rc_list(kvm, rmapp, _PAGE_ACCESSED, 0, in kvm_age_radix()
[all …]
Dbook3s_hv_nested.c804 void kvmhv_insert_nest_rmap(struct kvm *kvm, unsigned long *rmapp, in kvmhv_insert_nest_rmap() argument
807 struct llist_node *entry = ((struct llist_head *) rmapp)->first; in kvmhv_insert_nest_rmap()
812 if (!(*rmapp)) { in kvmhv_insert_nest_rmap()
814 *rmapp = new_rmap | RMAP_NESTED_IS_SINGLE_ENTRY; in kvmhv_insert_nest_rmap()
825 rmap = *rmapp; in kvmhv_insert_nest_rmap()
827 *rmapp = 0UL; in kvmhv_insert_nest_rmap()
828 llist_add(&((*n_rmap)->list), (struct llist_head *) rmapp); in kvmhv_insert_nest_rmap()
865 void kvmhv_update_nest_rmap_rc_list(struct kvm *kvm, unsigned long *rmapp, in kvmhv_update_nest_rmap_rc_list() argument
869 struct llist_node *entry = ((struct llist_head *) rmapp)->first; in kvmhv_update_nest_rmap_rc_list()
904 static void kvmhv_remove_nest_rmap_list(struct kvm *kvm, unsigned long *rmapp, in kvmhv_remove_nest_rmap_list() argument
[all …]
/arch/powerpc/include/asm/
Dkvm_book3s_64.h101 #define for_each_nest_rmap_safe(pos, node, rmapp) \ argument
104 (*(rmapp) = ((RMAP_NESTED_IS_SINGLE_ENTRY & ((u64) (node))) ? \
627 unsigned long *rmapp, struct rmap_nested **n_rmap);
628 extern void kvmhv_insert_nest_rmap(struct kvm *kvm, unsigned long *rmapp,
630 extern void kvmhv_update_nest_rmap_rc_list(struct kvm *kvm, unsigned long *rmapp,