Searched refs:_kvm (Results 1 – 2 of 2) sorted by relevance
/linux/arch/x86/kvm/mmu/ |
H A D | tdp_mmu.c | 167 #define __for_each_tdp_mmu_root_yield_safe(_kvm, _root, _as_id, _types) \ argument 168 for (_root = tdp_mmu_next_root(_kvm, NULL, _types); \ 169 ({ lockdep_assert_held(&(_kvm)->mmu_lock); }), _root; \ 170 _root = tdp_mmu_next_root(_kvm, _root, _types)) \ 174 #define for_each_valid_tdp_mmu_root_yield_safe(_kvm, _root, _as_id) \ argument 175 __for_each_tdp_mmu_root_yield_safe(_kvm, _root, _as_id, KVM_VALID_ROOTS) 177 #define for_each_tdp_mmu_root_yield_safe(_kvm, _root) \ argument 178 for (_root = tdp_mmu_next_root(_kvm, NULL, KVM_ALL_ROOTS); \ 179 ({ lockdep_assert_held(&(_kvm)->mmu_lock); }), _root; \ 180 _root = tdp_mmu_next_root(_kvm, _root, KVM_ALL_ROOTS)) [all …]
|
H A D | mmu.c | 1813 #define for_each_valid_sp(_kvm, _sp, _list) \ argument 1815 if (is_obsolete_sp((_kvm), (_sp))) { \ 1818 #define for_each_gfn_valid_sp_with_gptes(_kvm, _sp, _gfn) \ argument 1819 for_each_valid_sp(_kvm, _sp, \ 1820 &(_kvm)->arch.mmu_page_hash[kvm_page_table_hashfn(_gfn)]) \
|