Home
last modified time | relevance | path

Searched refs:lguest_data (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/arch/x86/lguest/
Di386_head.S38 movl $lguest_data - __PAGE_OFFSET, %ebx
62 LGUEST_PATCH(cli, movl $0, lguest_data+LGUEST_DATA_irq_enabled)
63 LGUEST_PATCH(pushf, movl lguest_data+LGUEST_DATA_irq_enabled, %eax)
80 movl $X86_EFLAGS_IF, lguest_data+LGUEST_DATA_irq_enabled
87 testl $0, lguest_data+LGUEST_DATA_irq_pending
121 movl %eax, lguest_data+LGUEST_DATA_irq_enabled
130 testl lguest_data+LGUEST_DATA_irq_pending, %eax
193 movl %eax,%ss:lguest_data+LGUEST_DATA_irq_enabled
Dboot.c84 struct lguest_data lguest_data = { variable
119 if (lguest_data.hcall_status[next_call] != 0xFF) { in async_hcall()
123 lguest_data.hcalls[next_call].arg0 = call; in async_hcall()
124 lguest_data.hcalls[next_call].arg1 = arg1; in async_hcall()
125 lguest_data.hcalls[next_call].arg2 = arg2; in async_hcall()
126 lguest_data.hcalls[next_call].arg3 = arg3; in async_hcall()
127 lguest_data.hcalls[next_call].arg4 = arg4; in async_hcall()
130 lguest_data.hcall_status[next_call] = 0; in async_hcall()
239 return lguest_data.irq_enabled; in save_fl()
245 lguest_data.irq_enabled = 0; in irq_disable()
[all …]
/linux-3.4.99/drivers/lguest/
Dhypercalls.c145 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()
Dinterrupts_and_traps.c116 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()
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()
292 if (get_user(vector, &lg->lguest_data->syscall_vec)) in check_syscall_vector()
Dlg.h94 struct lguest_data __user *lguest_data; member
Dpage_tables.c982 &cpu->lg->lguest_data->kernel_address) in page_table_guest_data_init()
988 &cpu->lg->lguest_data->reserve_mem)) { in page_table_guest_data_init()
989 kill_guest(cpu, "bad guest page %p", cpu->lg->lguest_data); in page_table_guest_data_init()
/linux-3.4.99/include/linux/
Dlguest.h21 struct lguest_data { struct
71 extern struct lguest_data lguest_data; argument
/linux-3.4.99/drivers/lguest/x86/
Dcore.c396 if (cpu->lg->lguest_data && in lguest_arch_handle_trap()
398 &cpu->lg->lguest_data->cr2)) in lguest_arch_handle_trap()
638 sizeof(*cpu->lg->lguest_data))) in lguest_arch_init_hypercalls()
648 cpu->lg->lguest_data = cpu->lg->mem_base + cpu->hcall->arg1; in lguest_arch_init_hypercalls()
663 if (put_user(tsc_speed, &cpu->lg->lguest_data->tsc_khz)) in lguest_arch_init_hypercalls()
/linux-3.4.99/arch/x86/kernel/
Dasm-offsets_32.c69 OFFSET(LGUEST_DATA_irq_enabled, lguest_data, irq_enabled); in foo()
70 OFFSET(LGUEST_DATA_irq_pending, lguest_data, irq_pending); in foo()