Searched refs:as_id (Results 1 – 9 of 9) sorted by relevance
/linux/arch/x86/kvm/mmu/ |
A D | tdp_mmu.c | 249 slot = __gfn_to_memslot(__kvm_memslots(kvm, as_id), gfn); in handle_changed_spte_dirty_log() 424 as_id, gfn, old_spte, new_spte, level); in __handle_changed_spte() 459 as_id, gfn, old_spte, new_spte, level); in __handle_changed_spte() 486 handle_changed_spte_dirty_log(kvm, as_id, gfn, old_spte, in handle_changed_spte() 601 handle_changed_spte_dirty_log(kvm, iter->as_id, iter->gfn, in __tdp_mmu_set_spte() 778 for_each_tdp_mmu_root_yield_safe(kvm, root, as_id, false) in __kvm_tdp_mmu_zap_gfn_range() 1061 for_each_tdp_mmu_root(kvm, root, range->slot->as_id) { in kvm_tdp_mmu_handle_gfn() 1224 for_each_tdp_mmu_root_yield_safe(kvm, root, slot->as_id, true) in kvm_tdp_mmu_wrprot_slot() 1294 for_each_tdp_mmu_root_yield_safe(kvm, root, slot->as_id, true) in kvm_tdp_mmu_clear_dirty_slot() 1360 for_each_tdp_mmu_root(kvm, root, slot->as_id) in kvm_tdp_mmu_clear_dirty_pt_masked() [all …]
|
A D | mmutrace.h | 392 TP_PROTO(int as_id, gfn_t gfn, int level, u64 old_spte, u64 new_spte), 393 TP_ARGS(as_id, gfn, level, old_spte, new_spte), 402 __field(u8, as_id) 410 __entry->as_id = as_id; 414 __entry->as_id, __entry->gfn, __entry->level,
|
A D | tdp_mmu.h | 22 bool __kvm_tdp_mmu_zap_gfn_range(struct kvm *kvm, int as_id, gfn_t start, 24 static inline bool kvm_tdp_mmu_zap_gfn_range(struct kvm *kvm, int as_id, in kvm_tdp_mmu_zap_gfn_range() argument 27 return __kvm_tdp_mmu_zap_gfn_range(kvm, as_id, start, end, true, flush); in kvm_tdp_mmu_zap_gfn_range()
|
A D | tdp_iter.h | 40 int as_id; member
|
A D | tdp_iter.c | 53 iter->as_id = kvm_mmu_page_as_id(sptep_to_sp(root_pt)); in tdp_iter_start()
|
/linux/virt/kvm/ |
A D | dirty_ring.c | 51 int as_id, id; in kvm_reset_dirty_gfn() local 53 as_id = slot >> 16; in kvm_reset_dirty_gfn() 56 if (as_id >= KVM_ADDRESS_SPACE_NUM || id >= KVM_USER_MEM_SLOTS) in kvm_reset_dirty_gfn() 59 memslot = id_to_memslot(__kvm_memslots(kvm, as_id), id); in kvm_reset_dirty_gfn()
|
A D | kvm_main.c | 1613 old.as_id = as_id; in kvm_set_memslot() 1662 new.as_id = as_id; in kvm_delete_memslot() 1681 int as_id, id; in __kvm_set_memory_region() local 1688 as_id = mem->slot >> 16; in __kvm_set_memory_region() 1726 new.as_id = as_id; in __kvm_set_memory_region() 1827 int i, as_id, id; in kvm_get_dirty_log() local 1838 as_id = log->slot >> 16; in kvm_get_dirty_log() 1890 int i, as_id, id; in kvm_get_dirty_log_protect() local 1900 as_id = log->slot >> 16; in kvm_get_dirty_log_protect() 2001 int as_id, id; in kvm_clear_dirty_log_protect() local [all …]
|
/linux/include/linux/ |
A D | kvm_host.h | 435 u16 as_id; member 776 static inline struct kvm_memslots *__kvm_memslots(struct kvm *kvm, int as_id) in __kvm_memslots() argument 778 as_id = array_index_nospec(as_id, KVM_ADDRESS_SPACE_NUM); in __kvm_memslots() 779 return srcu_dereference_check(kvm->memslots[as_id], &kvm->srcu, in __kvm_memslots() 791 int as_id = kvm_arch_vcpu_memslots_id(vcpu); in kvm_vcpu_memslots() local 793 return __kvm_memslots(vcpu->kvm, as_id); in kvm_vcpu_memslots()
|
/linux/Documentation/virt/kvm/ |
A D | api.rst | 7319 __u32 slot; /* as_id | slot_id */
|
Completed in 32 milliseconds