Lines Matching refs:lg
116 if (get_user(irq_enable, &cpu->lg->lguest_data->irq_enabled) == 0 in set_guest_interrupt()
147 if (put_user(0, &cpu->lg->lguest_data->irq_enabled)) in set_guest_interrupt()
164 if (!cpu->lg->lguest_data) in interrupt_pending()
171 if (copy_from_user(&blk, cpu->lg->lguest_data->blocked_interrupts, in interrupt_pending()
197 if (cpu->regs->eip >= cpu->lg->noirq_start && in try_deliver_interrupt()
198 (cpu->regs->eip < cpu->lg->noirq_end)) in try_deliver_interrupt()
204 if (put_user(X86_EFLAGS_IF, &cpu->lg->lguest_data->irq_enabled)) in try_deliver_interrupt()
210 if (get_user(irq_enabled, &cpu->lg->lguest_data->irq_enabled)) in try_deliver_interrupt()
215 &cpu->lg->lguest_data->irq_pending); in try_deliver_interrupt()
252 put_user(0, &cpu->lg->lguest_data->irq_pending); in try_deliver_interrupt()
288 bool check_syscall_vector(struct lguest *lg) in check_syscall_vector() argument
292 if (get_user(vector, &lg->lguest_data->syscall_vec)) in check_syscall_vector()
418 for (i = 0; i < cpu->lg->stack_pages; i++) in pin_stack_pages()
451 cpu->lg->stack_pages = pages; in guest_set_stack()