Lines Matching full:guest
92 * Sets the root GuestID to match the current guest GuestID, for TLB operation
121 /* Set root GuestID for root probe and write of guest TLB entry */ in kvm_vz_host_tlb_inv()
153 * kvm_vz_guest_tlb_lookup() - Lookup a guest VZ TLB mapping.
155 * @gpa: Guest virtual address in a TLB mapped guest segment.
156 * @gpa: Pointer to output guest physical address it maps to.
158 * Converts a guest virtual address in a guest TLB mapped segment to a guest
159 * physical address, by probing the guest TLB.
161 * Returns: 0 if guest TLB mapping exists for @gva. *@gpa will have been
163 * -EFAULT if no guest TLB mapping exists for @gva. *@gpa may not
175 /* Probe the guest TLB for a mapping */ in kvm_vz_guest_tlb_lookup()
177 /* Set root GuestID for root probe of guest TLB entry */ in kvm_vz_guest_tlb_lookup()
236 * Note, this doesn't take guest MIPS32 XPA into account, where PFN is in kvm_vz_guest_tlb_lookup()
271 * Invalidate guest entries in root TLB while leaving root entries in kvm_vz_local_flush_roottlb_all_guests()
280 /* Don't invalidate non-guest (RVA) mappings in the root TLB */ in kvm_vz_local_flush_roottlb_all_guests()
304 * kvm_vz_local_flush_guesttlb_all() - Flush all guest TLB entries.
306 * Invalidate all entries in guest tlb irrespective of guestid.
320 /* Preserve all clobbered guest registers */ in kvm_vz_local_flush_guesttlb_all()
336 /* Invalidate guest entries in guest TLB */ in kvm_vz_local_flush_guesttlb_all()
340 for (entry = 0; entry < current_cpu_data.guest.tlbsize; entry++) { in kvm_vz_local_flush_guesttlb_all()
365 * kvm_vz_save_guesttlb() - Save a range of guest TLB entries.
370 * Save a range of guest TLB entries. The caller must ensure interrupts are
394 /* Read each entry from guest TLB */ in kvm_vz_save_guesttlb()
404 /* Entry invalid or belongs to another guest */ in kvm_vz_save_guesttlb()
410 /* Entry belongs to the right guest */ in kvm_vz_save_guesttlb()
434 * kvm_vz_load_guesttlb() - Save a range of guest TLB entries.
439 * Load a range of guest TLB entries. The caller must ensure interrupts are
460 /* Write each entry to guest TLB */ in kvm_vz_load_guesttlb()
492 /* Set root GuestID for root probe and write of guest TLB entry */ in kvm_loongson_clear_guest_vtlb()
509 /* Set root GuestID for root probe and write of guest TLB entry */ in kvm_loongson_clear_guest_ftlb()