Home
last modified time | relevance | path

Searched refs:_kvm (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/x86/kvm/mmu/
Dtdp_mmu.c152 #define __for_each_tdp_mmu_root_yield_safe(_kvm, _root, _as_id, _only_valid) \ argument
153 for (_root = tdp_mmu_next_root(_kvm, NULL, _only_valid); \
154 ({ lockdep_assert_held(&(_kvm)->mmu_lock); }), _root; \
155 _root = tdp_mmu_next_root(_kvm, _root, _only_valid)) \
159 #define for_each_valid_tdp_mmu_root_yield_safe(_kvm, _root, _as_id) \ argument
160 __for_each_tdp_mmu_root_yield_safe(_kvm, _root, _as_id, true)
162 #define for_each_tdp_mmu_root_yield_safe(_kvm, _root) \ argument
163 for (_root = tdp_mmu_next_root(_kvm, NULL, false); \
164 ({ lockdep_assert_held(&(_kvm)->mmu_lock); }), _root; \
165 _root = tdp_mmu_next_root(_kvm, _root, false))
[all …]
Dmmu.c1893 #define for_each_valid_sp(_kvm, _sp, _list) \ argument
1895 if (is_obsolete_sp((_kvm), (_sp))) { \
1898 #define for_each_gfn_valid_sp_with_gptes(_kvm, _sp, _gfn) \ argument
1899 for_each_valid_sp(_kvm, _sp, \
1900 &(_kvm)->arch.mmu_page_hash[kvm_page_table_hashfn(_gfn)]) \