Home
last modified time | relevance | path

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

/arch/x86/kernel/
Dtraps.c335 asmlinkage __kprobes struct pt_regs *sync_regs(struct pt_regs *eregs) in sync_regs() argument
337 struct pt_regs *regs = eregs; in sync_regs()
339 if (eregs == (struct pt_regs *)eregs->sp) in sync_regs()
342 else if (user_mode(eregs)) in sync_regs()
348 else if (eregs->flags & X86_EFLAGS_IF) in sync_regs()
349 regs = (struct pt_regs *)(eregs->sp -= sizeof(struct pt_regs)); in sync_regs()
350 if (eregs != regs) in sync_regs()
351 *regs = *eregs; in sync_regs()