Searched refs:sc_gr (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/arch/ia64/include/uapi/asm/
H A Ducontext.h8 #define uc_link uc_mcontext.sc_gr[0] /* wrong type; nobody cares */
H A Dsigcontext.h52 /* Note: sc_gr[0] is used as the "uc_link" member of ucontext_t */
53 unsigned long sc_gr[32]; /* general registers (static partition) */ member in struct:sigcontext
/linux-4.4.14/arch/parisc/include/uapi/asm/
H A Dsigcontext.h12 unsigned long sc_gr[32]; /* PSW in sc_gr[0] */ member in struct:sigcontext
/linux-4.4.14/arch/ia64/kernel/
H A Dsignal.c64 err |= __copy_from_user(&scr->pt.r1, &sc->sc_gr[1], 8); /* r1 */ restore_sigcontext()
65 err |= __copy_from_user(&scr->pt.r8, &sc->sc_gr[8], 4*8); /* r8-r11 */ restore_sigcontext()
66 err |= __copy_from_user(&scr->pt.r12, &sc->sc_gr[12], 2*8); /* r12-r13 */ restore_sigcontext()
67 err |= __copy_from_user(&scr->pt.r15, &sc->sc_gr[15], 8); /* r15 */ restore_sigcontext()
83 err |= __get_user(scr->pt.r14, &sc->sc_gr[14]); /* r14 */ restore_sigcontext()
85 err |= __copy_from_user(&scr->pt.r2, &sc->sc_gr[2], 2*8); /* r2-r3 */ restore_sigcontext()
86 err |= __copy_from_user(&scr->pt.r16, &sc->sc_gr[16], 16*8); /* r16-r31 */ restore_sigcontext()
258 err |= __copy_to_user(&sc->sc_gr[1], &scr->pt.r1, 8); /* r1 */ setup_sigcontext()
259 err |= __copy_to_user(&sc->sc_gr[8], &scr->pt.r8, 4*8); /* r8-r11 */ setup_sigcontext()
260 err |= __copy_to_user(&sc->sc_gr[12], &scr->pt.r12, 2*8); /* r12-r13 */ setup_sigcontext()
261 err |= __copy_to_user(&sc->sc_gr[15], &scr->pt.r15, 8); /* r15 */ setup_sigcontext()
268 err |= __put_user(scr->pt.r14, &sc->sc_gr[14]); /* r14 */ setup_sigcontext()
270 err |= __copy_to_user(&sc->sc_gr[2], &scr->pt.r2, 2*8); /* r2-r3 */ setup_sigcontext()
271 err |= __copy_to_user(&sc->sc_gr[16], &scr->pt.r16, 16*8); /* r16-r31 */ setup_sigcontext()
H A Dasm-offsets.c186 DEFINE(IA64_SIGCONTEXT_R12_OFFSET, offsetof (struct sigcontext, sc_gr[12])); foo()
/linux-4.4.14/arch/parisc/include/asm/
H A Dcompat.h116 compat_int_t sc_gr[32]; /* PSW in sc_gr[0] */ member in struct:compat_sigcontext
/linux-4.4.14/arch/parisc/kernel/
H A Dsignal32.c77 err |= __get_user(compat_reg,&sc->sc_gr[regn]); restore_sigcontext32()
248 err |= __put_user(compat_reg, &sc->sc_gr[regn]); setup_sigcontext32()
H A Dsignal.c75 err |= __copy_from_user(regs->gr, sc->sc_gr, sizeof(regs->gr)); restore_sigcontext()
220 err |= __copy_to_user(sc->sc_gr, regs->gr, sizeof(regs->gr)); setup_sigcontext()

Completed in 109 milliseconds