Lines Matching refs:shared

39 							     bool shared)  in kvm_lockdep_assert_mmu_lock_held()  argument
41 if (shared) in kvm_lockdep_assert_mmu_lock_held()
91 bool shared);
141 bool shared) in kvm_tdp_mmu_put_root() argument
143 kvm_lockdep_assert_mmu_lock_held(kvm, shared); in kvm_tdp_mmu_put_root()
206 bool shared, bool only_valid) in tdp_mmu_next_root() argument
232 kvm_tdp_mmu_put_root(kvm, prev_root, shared); in tdp_mmu_next_root()
344 bool shared);
395 bool shared) in tdp_mmu_unlink_sp() argument
398 if (shared) in tdp_mmu_unlink_sp()
407 if (shared) in tdp_mmu_unlink_sp()
428 static void handle_removed_pt(struct kvm *kvm, tdp_ptep_t pt, bool shared) in handle_removed_pt() argument
437 tdp_mmu_unlink_sp(kvm, sp, shared); in handle_removed_pt()
444 if (shared) { in handle_removed_pt()
505 old_spte, REMOVED_SPTE, level, shared); in handle_removed_pt()
528 bool shared) in __handle_changed_spte() argument
611 handle_removed_pt(kvm, spte_to_child_pt(old_spte, level), shared); in __handle_changed_spte()
616 bool shared) in handle_changed_spte() argument
619 shared); in handle_changed_spte()
814 bool flush, bool shared) in tdp_mmu_iter_cond_resched() argument
828 if (shared) in tdp_mmu_iter_cond_resched()
855 bool shared, int zap_level) in __tdp_mmu_zap_root() argument
864 if (tdp_mmu_iter_cond_resched(kvm, &iter, false, shared)) in __tdp_mmu_zap_root()
873 if (!shared) in __tdp_mmu_zap_root()
881 bool shared) in tdp_mmu_zap_root() argument
896 kvm_lockdep_assert_mmu_lock_held(kvm, shared); in tdp_mmu_zap_root()
910 __tdp_mmu_zap_root(kvm, root, shared, PG_LEVEL_1G); in tdp_mmu_zap_root()
911 __tdp_mmu_zap_root(kvm, root, shared, root->role.level); in tdp_mmu_zap_root()
1128 bool shared) in tdp_mmu_link_sp() argument
1133 if (shared) { in tdp_mmu_link_sp()
1438 bool shared) in tdp_mmu_alloc_sp_for_split() argument
1457 if (shared) in tdp_mmu_alloc_sp_for_split()
1465 if (shared) in tdp_mmu_alloc_sp_for_split()
1476 struct kvm_mmu_page *sp, bool shared) in tdp_mmu_split_huge_page() argument
1499 ret = tdp_mmu_link_sp(kvm, iter, sp, false, shared); in tdp_mmu_split_huge_page()
1518 int target_level, bool shared) in tdp_mmu_split_huge_pages_root() argument
1539 if (tdp_mmu_iter_cond_resched(kvm, &iter, false, shared)) in tdp_mmu_split_huge_pages_root()
1546 sp = tdp_mmu_alloc_sp_for_split(kvm, &iter, shared); in tdp_mmu_split_huge_pages_root()
1559 if (tdp_mmu_split_huge_page(kvm, &iter, sp, shared)) in tdp_mmu_split_huge_pages_root()
1585 int target_level, bool shared) in kvm_tdp_mmu_try_split_huge_pages() argument
1590 kvm_lockdep_assert_mmu_lock_held(kvm, shared); in kvm_tdp_mmu_try_split_huge_pages()
1592 for_each_valid_tdp_mmu_root_yield_safe(kvm, root, slot->as_id, shared) { in kvm_tdp_mmu_try_split_huge_pages()
1593 r = tdp_mmu_split_huge_pages_root(kvm, root, start, end, target_level, shared); in kvm_tdp_mmu_try_split_huge_pages()
1595 kvm_tdp_mmu_put_root(kvm, root, shared); in kvm_tdp_mmu_try_split_huge_pages()