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()
145 if (copy_from_user(&st, &cpu->lg->lguest_data->hcall_status, sizeof(st))) in do_async_hcalls()
173 if (copy_from_user(&args, &cpu->lg->lguest_data->hcalls[n], in do_async_hcalls()
183 if (put_user(0xFF, &cpu->lg->lguest_data->hcall_status[n])) { in do_async_hcalls()
213 kill_guest(cpu, "bad guest page %p", cpu->lg->lguest_data); in initialize()
219 if (get_user(cpu->lg->noirq_start, &cpu->lg->lguest_data->noirq_start) in initialize()
220 || get_user(cpu->lg->noirq_end, &cpu->lg->lguest_data->noirq_end)) in initialize()
221 kill_guest(cpu, "bad guest page %p", cpu->lg->lguest_data); in initialize()
263 if (unlikely(!cpu->lg->lguest_data)) { in do_hypercalls()
309 if (copy_to_user(&cpu->lg->lguest_data->time, in write_timestamp()