Lines Matching refs:roots

2590 		 * Already invalid pages (previously active roots) are not on
2620 * Make the request to free obsolete roots after marking the root
2720 * four pages, e.g. for PAE roots or for 5-level paging. Temporarily
3593 /* Nothing to cleanup for dummy roots. */
3624 * _only_ its own roots, e.g. INVVPID unconditionally exits.
3909 * is allocated if the other roots are valid and pml5 is needed, as any
3916 * The special roots should always be allocated in concert. Yell and
3917 * bail if KVM ends up in a state where only one of the roots is valid.
3981 * PAE roots (somewhat arbitrarily) aren't backed by shadow pages, the
4345 /* Special roots, e.g. pae_root, are not backed by shadow pages. */
4351 * there is a pending request to free obsolete roots. The request is
4368 /* Dummy roots are used only for shadowing bad guest roots. */
4596 /* Bubble up the remaining roots. */
4607 * Limit reuse to 64-bit hosts+VMs without "special" roots in order to
5506 * When freeing obsolete roots, treat roots as obsolete if they don't
5508 * such roots are fresh or stale. This does mean KVM will get false
5509 * positives and free roots that don't strictly need to be freed, but
5512 * (a) only PAE paging and nested NPT have roots without shadow pages
5514 * (b) remote reloads due to a memslot update obsoletes _all_ roots
5515 * (c) KVM doesn't track previous roots for PAE paging, and the guest
5518 * Note! Dummy roots are unique in that they are obsoleted by memslot
5806 u64 addr, unsigned long roots)
5810 WARN_ON_ONCE(roots & ~KVM_MMU_ROOTS_ALL);
5824 if (roots & KVM_MMU_ROOT_CURRENT)
5828 if (roots & KVM_MMU_ROOT_PREVIOUS(i))
5838 * irrespective of PCID. Blindly sync all roots as it would take
5840 * previous roots have a global mapping.
5842 * Mappings not reachable via the current or previous cached roots will
5855 unsigned long roots = 0;
5859 roots |= KVM_MMU_ROOT_CURRENT;
5864 roots |= KVM_MMU_ROOT_PREVIOUS(i);
5867 if (roots)
5868 kvm_mmu_invalidate_addr(vcpu, mmu, gva, roots);
6131 * In order to ensure all vCPUs drop their soon-to-be invalid roots,
6132 * invalidating TDP MMU roots must be done while holding mmu_lock for
6154 * Zap the invalidated TDP MMU roots, all SPTEs must be dropped before
6314 * aliased by multiple L2 gfns and/or from multiple nested roots with