Lines Matching defs:shared

23 							     bool shared)
25 if (shared)
77 bool shared)
79 kvm_lockdep_assert_mmu_lock_held(kvm, shared);
109 bool shared, bool only_valid)
135 kvm_tdp_mmu_put_root(kvm, prev_root, shared);
146 * If shared is set, this function is operating under the MMU lock in read
260 bool shared);
279 * @shared: This operation may not be running under the exclusive use of
284 bool shared)
291 if (shared)
299 if (shared)
308 * @shared: This operation may not be running under the exclusive use
320 static void handle_removed_pt(struct kvm *kvm, tdp_ptep_t pt, bool shared)
329 tdp_mmu_unlink_sp(kvm, sp, shared);
336 if (shared) {
380 * the remove SPTE value keeps the shared/exclusive
397 old_spte, REMOVED_SPTE, level, shared);
411 * @shared: This operation may not be running under the exclusive use of
421 bool shared)
504 handle_removed_pt(kvm, spte_to_child_pt(old_spte, level), shared);
661 bool flush, bool shared)
675 if (shared)
702 bool shared, int zap_level)
711 if (tdp_mmu_iter_cond_resched(kvm, &iter, false, shared))
720 if (!shared)
728 bool shared)
743 kvm_lockdep_assert_mmu_lock_held(kvm, shared);
757 __tdp_mmu_zap_root(kvm, root, shared, PG_LEVEL_1G);
758 __tdp_mmu_zap_root(kvm, root, shared, root->role.level);
1010 * @shared: This operation is running under the MMU lock in read mode.
1016 struct kvm_mmu_page *sp, bool shared)
1021 if (shared) {
1035 struct kvm_mmu_page *sp, bool shared);
1345 bool shared)
1364 if (shared)
1372 if (shared)
1384 struct kvm_mmu_page *sp, bool shared)
1405 ret = tdp_mmu_link_sp(kvm, iter, sp, shared);
1424 int target_level, bool shared)
1445 if (tdp_mmu_iter_cond_resched(kvm, &iter, false, shared))
1452 sp = tdp_mmu_alloc_sp_for_split(kvm, &iter, shared);
1467 if (tdp_mmu_split_huge_page(kvm, &iter, sp, shared))
1493 int target_level, bool shared)
1498 kvm_lockdep_assert_mmu_lock_held(kvm, shared);
1500 for_each_valid_tdp_mmu_root_yield_safe(kvm, root, slot->as_id, shared) {
1501 r = tdp_mmu_split_huge_pages_root(kvm, root, start, end, target_level, shared);
1503 kvm_tdp_mmu_put_root(kvm, root, shared);
1808 * we are passing it up to fast_page_fault, which is shared with the