Home
last modified time | relevance | path

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

/arch/sparc/kernel/
Dsignal_64.c43 struct ucontext __user *ucp = (struct ucontext __user *) in sparc64_set_context() local
54 (((unsigned long)ucp) & (sizeof(unsigned long)-1)) || in sparc64_set_context()
55 (!__access_ok(ucp, sizeof(*ucp)))) in sparc64_set_context()
57 grp = &ucp->uc_mcontext.mc_gregs; in sparc64_set_context()
66 if (__get_user(set.sig[0], &ucp->uc_sigmask.sig[0])) in sparc64_set_context()
69 if (__copy_from_user(&set, &ucp->uc_sigmask, sizeof(sigset_t))) in sparc64_set_context()
102 err |= __get_user(fp, &(ucp->uc_mcontext.mc_fp)); in sparc64_set_context()
103 err |= __get_user(i7, &(ucp->uc_mcontext.mc_i7)); in sparc64_set_context()
109 err |= __get_user(fenab, &(ucp->uc_mcontext.mc_fpregs.mcfpu_enab)); in sparc64_set_context()
115 err |= __get_user(fprs, &(ucp->uc_mcontext.mc_fpregs.mcfpu_fprs)); in sparc64_set_context()
[all …]
/arch/m68k/mvme16x/
Dconfig.c322 volatile unsigned char uc, *ucp; in mvme16x_abort_int() local
327 ucp = (volatile unsigned char *)0xfff42043; in mvme16x_abort_int()
328 uc = *ucp | 8; in mvme16x_abort_int()
329 *ucp = uc; in mvme16x_abort_int()
/arch/sh/boards/mach-highlander/
Dsetup.c400 unsigned char *ucp = highlander_plat_irq_setup(); in highlander_init_irq() local
402 if (ucp) { in highlander_init_irq()
404 memcpy(irl2irq, ucp, HL_NR_IRL); in highlander_init_irq()
/arch/powerpc/kernel/
Dsignal_32.c848 static int do_setcontext(struct ucontext __user *ucp, struct pt_regs *regs, int sig) in do_setcontext() argument
853 if (get_sigset_t(&set, &ucp->uc_sigmask)) in do_setcontext()
859 if (__get_user(cmcp, &ucp->uc_regs)) in do_setcontext()
865 if (__get_user(mcp, &ucp->uc_regs)) in do_setcontext()
878 static int do_setcontext_tm(struct ucontext __user *ucp, in do_setcontext_tm() argument
888 if (get_sigset_t(&set, &ucp->uc_sigmask)) in do_setcontext_tm()
891 if (__get_user(cmcp, &ucp->uc_regs) || in do_setcontext_tm()