Lines Matching refs:err_code
46 int err_code; member
105 pt->err_code |= MMU_PAGE_WT; in test_pt_entry()
108 pt->err_code |= MMU_PAGE_US; in test_pt_entry()
111 pt->err_code |= MMU_PAGE_NX; in test_pt_entry()
123 pt->err_code |= MMU_PAGE_PT; in test_pt_entry()
127 pt->err_code |= MMU_PAGE_PT; in test_pt_entry()
179 static bool walk_gpt(CPUState *cpu, target_ulong addr, int err_code, in walk_gpt() argument
192 pt->user_access = (err_code & MMU_PAGE_US); in walk_gpt()
193 pt->write_access = (err_code & MMU_PAGE_WT); in walk_gpt()
194 pt->exec_access = (err_code & MMU_PAGE_NX); in walk_gpt()
222 int err_code = 0; in mmu_gva_to_gpa() local
229 res = walk_gpt(cpu, gva, err_code, &pt, x86_is_pae_enabled(cpu)); in mmu_gva_to_gpa()