Home
last modified time | relevance | path

Searched refs:kernel_vm86_regs (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/arch/x86/include/asm/
Dvm86.h141 struct kernel_vm86_regs { struct
156 struct kernel_vm86_regs regs; argument
187 void handle_vm86_fault(struct kernel_vm86_regs *, long);
188 int handle_vm86_trap(struct kernel_vm86_regs *, long, int);
189 struct pt_regs *save_v86_state(struct kernel_vm86_regs *);
199 static inline int handle_vm86_trap(struct kernel_vm86_regs *a, long b, int c) in handle_vm86_trap()
Dmath_emu.h15 struct kernel_vm86_regs *vm86;
/linux-2.6.39/arch/x86/kernel/
Dvm86_32.c93 const struct kernel_vm86_regs *regs) in copy_vm86_regs_to_user()
101 ret += copy_to_user(user, regs, offsetof(struct kernel_vm86_regs, pt.orig_ax)); in copy_vm86_regs_to_user()
103 sizeof(struct kernel_vm86_regs) - in copy_vm86_regs_to_user()
104 offsetof(struct kernel_vm86_regs, pt.orig_ax)); in copy_vm86_regs_to_user()
110 static int copy_vm86_regs_from_user(struct kernel_vm86_regs *regs, in copy_vm86_regs_from_user()
117 ret += copy_from_user(regs, user, offsetof(struct kernel_vm86_regs, pt.orig_ax)); in copy_vm86_regs_from_user()
120 sizeof(struct kernel_vm86_regs) - in copy_vm86_regs_from_user()
121 offsetof(struct kernel_vm86_regs, pt.orig_ax) + in copy_vm86_regs_from_user()
126 struct pt_regs *save_v86_state(struct kernel_vm86_regs *regs) in save_v86_state()
354 static inline void return_to_32bit(struct kernel_vm86_regs *regs16, int retval) in return_to_32bit()
[all …]
Dtraps.c183 if (handle_vm86_trap((struct kernel_vm86_regs *) regs, in do_trap()
294 handle_vm86_fault((struct kernel_vm86_regs *) regs, error_code); in do_general_protection()
573 handle_vm86_trap((struct kernel_vm86_regs *) regs, in do_debug()
/linux-2.6.39/arch/x86/math-emu/
Dget_address.c46 offsetof(struct kernel_vm86_regs, ds),
47 offsetof(struct kernel_vm86_regs, es),
48 offsetof(struct kernel_vm86_regs, fs),
49 offsetof(struct kernel_vm86_regs, gs),
51 offsetof(struct kernel_vm86_regs, ds)