Lines Matching refs:lg
72 cpu->lg->dead = ERR_PTR(-ERESTART); in do_hcall()
102 guest_set_pgd(cpu->lg, args->arg1, args->arg2); in do_hcall()
106 guest_set_pmd(cpu->lg, args->arg1, args->arg2); in do_hcall()
142 if (copy_from_user(&st, &cpu->lg->lguest_data->hcall_status, sizeof(st))) in do_async_hcalls()
170 if (copy_from_user(&args, &cpu->lg->lguest_data->hcalls[n], in do_async_hcalls()
180 if (put_user(0xFF, &cpu->lg->lguest_data->hcall_status[n])) { in do_async_hcalls()
210 kill_guest(cpu, "bad guest page %p", cpu->lg->lguest_data); in initialize()
216 if (get_user(cpu->lg->noirq_iret, &cpu->lg->lguest_data->noirq_iret)) in initialize()
217 kill_guest(cpu, "bad guest page %p", cpu->lg->lguest_data); in initialize()
259 if (unlikely(!cpu->lg->lguest_data)) { in do_hypercalls()
305 if (copy_to_user(&cpu->lg->lguest_data->time, in write_timestamp()