Searched refs:lguest_data (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/arch/x86/lguest/ |
D | head_32.S | 38 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 cmpl $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 190 popl %ss:lguest_data+LGUEST_DATA_irq_enabled
|
D | boot.c | 88 struct lguest_data lguest_data = { variable 122 if (lguest_data.hcall_status[next_call] != 0xFF) { in async_hcall() 126 lguest_data.hcalls[next_call].arg0 = call; in async_hcall() 127 lguest_data.hcalls[next_call].arg1 = arg1; in async_hcall() 128 lguest_data.hcalls[next_call].arg2 = arg2; in async_hcall() 129 lguest_data.hcalls[next_call].arg3 = arg3; in async_hcall() 130 lguest_data.hcalls[next_call].arg4 = arg4; in async_hcall() 133 lguest_data.hcall_status[next_call] = 0; in async_hcall() 242 return lguest_data.irq_enabled; in lguest_save_fl() 248 lguest_data.irq_enabled = 0; in lguest_irq_disable() [all …]
|
/linux-4.1.27/drivers/lguest/ |
D | hypercalls.c | 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()
|
D | interrupts_and_traps.c | 111 if (get_user(irq_enable, &cpu->lg->lguest_data->irq_enabled) == 0 in push_guest_interrupt_stack() 168 if (put_user(0, &cpu->lg->lguest_data->irq_enabled)) in guest_run_interrupt() 203 if (!cpu->lg->lguest_data) in interrupt_pending() 210 if (copy_from_user(&blk, cpu->lg->lguest_data->blocked_interrupts, in interrupt_pending() 235 if (put_user(X86_EFLAGS_IF, &cpu->lg->lguest_data->irq_enabled)) in try_deliver_interrupt() 241 if (get_user(irq_enabled, &cpu->lg->lguest_data->irq_enabled)) in try_deliver_interrupt() 246 &cpu->lg->lguest_data->irq_pending); in try_deliver_interrupt() 305 put_user(0, &cpu->lg->lguest_data->irq_pending); in try_deliver_interrupt() 345 if (get_user(vector, &lg->lguest_data->syscall_vec)) in check_syscall_vector()
|
D | lg.h | 86 struct lguest_data __user *lguest_data; member
|
D | page_tables.c | 1107 &cpu->lg->lguest_data->kernel_address) in page_table_guest_data_init() 1112 || put_user(top, &cpu->lg->lguest_data->reserve_mem)) { in page_table_guest_data_init() 1113 kill_guest(cpu, "bad guest page %p", cpu->lg->lguest_data); in page_table_guest_data_init()
|
/linux-4.1.27/include/linux/ |
D | lguest.h | 21 struct lguest_data { struct 71 extern struct lguest_data lguest_data; argument
|
/linux-4.1.27/drivers/lguest/x86/ |
D | core.c | 418 if (cpu->lg->lguest_data && in lguest_arch_handle_trap() 420 &cpu->lg->lguest_data->cr2)) in lguest_arch_handle_trap() 660 sizeof(*cpu->lg->lguest_data))) in lguest_arch_init_hypercalls() 670 cpu->lg->lguest_data = cpu->lg->mem_base + cpu->hcall->arg1; in lguest_arch_init_hypercalls() 685 if (put_user(tsc_speed, &cpu->lg->lguest_data->tsc_khz)) in lguest_arch_init_hypercalls()
|
/linux-4.1.27/arch/x86/kernel/ |
D | asm-offsets_32.c | 75 OFFSET(LGUEST_DATA_irq_enabled, lguest_data, irq_enabled); in foo() 76 OFFSET(LGUEST_DATA_irq_pending, lguest_data, irq_pending); in foo()
|