Home
last modified time | relevance | path

Searched refs:as_id (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
Dtdp_mmu.c195 static void handle_changed_spte(struct kvm *kvm, int as_id, gfn_t gfn,
215 static void handle_changed_spte_dirty_log(struct kvm *kvm, int as_id, gfn_t gfn, in handle_changed_spte_dirty_log() argument
228 slot = __gfn_to_memslot(__kvm_memslots(kvm, as_id), gfn); in handle_changed_spte_dirty_log()
245 static void __handle_changed_spte(struct kvm *kvm, int as_id, gfn_t gfn, in __handle_changed_spte() argument
276 as_id, gfn, old_spte, new_spte, level); in __handle_changed_spte()
305 as_id, gfn, old_spte, new_spte, level); in __handle_changed_spte()
330 handle_changed_spte(kvm, as_id, in __handle_changed_spte()
343 static void handle_changed_spte(struct kvm *kvm, int as_id, gfn_t gfn, in handle_changed_spte() argument
346 __handle_changed_spte(kvm, as_id, gfn, old_spte, new_spte, level); in handle_changed_spte()
348 handle_changed_spte_dirty_log(kvm, as_id, gfn, old_spte, in handle_changed_spte()
[all …]
/kernel/linux/linux-5.10/virt/kvm/
Dkvm_main.c1153 int as_id, struct kvm_memslots *slots) in install_new_memslots() argument
1155 struct kvm_memslots *old_memslots = __kvm_memslots(kvm, as_id); in install_new_memslots()
1161 rcu_assign_pointer(kvm->memslots[as_id], slots); in install_new_memslots()
1217 struct kvm_memory_slot *new, int as_id, in kvm_set_memslot() argument
1224 slots = kvm_dup_memslots(__kvm_memslots(kvm, as_id), change); in kvm_set_memslot()
1242 slots = install_new_memslots(kvm, as_id, slots); in kvm_set_memslot()
1260 slots = install_new_memslots(kvm, as_id, slots); in kvm_set_memslot()
1269 slots = install_new_memslots(kvm, as_id, slots); in kvm_set_memslot()
1276 struct kvm_memory_slot *old, int as_id) in kvm_delete_memslot() argument
1290 new.as_id = as_id; in kvm_delete_memslot()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dkvm_host.h350 u16 as_id; member
657 static inline struct kvm_memslots *__kvm_memslots(struct kvm *kvm, int as_id) in __kvm_memslots() argument
659 as_id = array_index_nospec(as_id, KVM_ADDRESS_SPACE_NUM); in __kvm_memslots()
660 return srcu_dereference_check(kvm->memslots[as_id], &kvm->srcu, in __kvm_memslots()
672 int as_id = kvm_arch_vcpu_memslots_id(vcpu); in kvm_vcpu_memslots() local
674 return __kvm_memslots(vcpu->kvm, as_id); in kvm_vcpu_memslots()