Lines Matching refs:lg_cpu
95 static pgd_t *spgd_addr(struct lg_cpu *cpu, u32 i, unsigned long vaddr)
116 static pmd_t *spmd_addr(struct lg_cpu *cpu, pgd_t spgd, unsigned long vaddr)
141 static pte_t *spte_addr(struct lg_cpu *cpu, pgd_t spgd, unsigned long vaddr)
162 static unsigned long gpgd_addr(struct lg_cpu *cpu, unsigned long vaddr)
178 static unsigned long gpte_addr(struct lg_cpu *cpu,
188 static unsigned long gpte_addr(struct lg_cpu *cpu,
232 static pte_t gpte_to_spte(struct lg_cpu *cpu, pte_t gpte, int write)
279 static void check_gpte(struct lg_cpu *cpu, pte_t gpte)
286 static void check_gpgd(struct lg_cpu *cpu, pgd_t gpgd)
294 static void check_gpmd(struct lg_cpu *cpu, pmd_t gpmd)
313 bool demand_page(struct lg_cpu *cpu, unsigned long vaddr, int errcode)
479 static bool page_writable(struct lg_cpu *cpu, unsigned long vaddr)
512 void pin_page(struct lg_cpu *cpu, unsigned long vaddr)
600 void guest_pagetable_flush_user(struct lg_cpu *cpu)
608 unsigned long guest_pa(struct lg_cpu *cpu, unsigned long vaddr)
656 static unsigned int new_pgdir(struct lg_cpu *cpu,
718 void guest_new_pagetable(struct lg_cpu *cpu, unsigned long pgtable)
777 void guest_pagetable_clear_all(struct lg_cpu *cpu)
810 static void do_set_pte(struct lg_cpu *cpu, int idx,
865 void guest_set_pte(struct lg_cpu *cpu,
1088 void page_table_guest_data_init(struct lg_cpu *cpu)
1138 void map_switcher_in_guest(struct lg_cpu *cpu, struct lguest_pages *pages)