Lines Matching refs:__user
44 static int (*save_fp_context)(void __user *sc);
45 static int (*restore_fp_context)(void __user *sc);
70 static int copy_fp_to_sigcontext(void __user *sc) in copy_fp_to_sigcontext()
73 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in copy_fp_to_sigcontext()
74 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in copy_fp_to_sigcontext()
89 static int copy_fp_from_sigcontext(void __user *sc) in copy_fp_from_sigcontext()
92 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in copy_fp_from_sigcontext()
93 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in copy_fp_from_sigcontext()
110 static int copy_fp_to_sigcontext(void __user *sc) in copy_fp_to_sigcontext()
115 static int copy_fp_from_sigcontext(void __user *sc) in copy_fp_from_sigcontext()
125 static int save_hw_fp_context(void __user *sc) in save_hw_fp_context()
128 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in save_hw_fp_context()
129 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in save_hw_fp_context()
134 static int restore_hw_fp_context(void __user *sc) in restore_hw_fp_context()
137 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in restore_hw_fp_context()
138 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in restore_hw_fp_context()
147 static inline void __user *sc_to_extcontext(void __user *sc) in sc_to_extcontext()
149 struct ucontext __user *uc; in sc_to_extcontext()
162 static int save_msa_extcontext(void __user *buf) in save_msa_extcontext()
164 struct msa_extcontext __user *msa = buf; in save_msa_extcontext()
208 static int restore_msa_extcontext(void __user *buf, unsigned int size) in restore_msa_extcontext()
210 struct msa_extcontext __user *msa = buf; in restore_msa_extcontext()
253 static int save_msa_extcontext(void __user *buf) in save_msa_extcontext()
258 static int restore_msa_extcontext(void __user *buf, unsigned int size) in restore_msa_extcontext()
265 static int save_extcontext(void __user *buf) in save_extcontext()
286 static int restore_extcontext(void __user *buf) in restore_extcontext()
324 int protected_save_fp_context(void __user *sc) in protected_save_fp_context()
327 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in protected_save_fp_context()
328 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in protected_save_fp_context()
329 uint32_t __user *used_math = sc + abi->off_sc_used_math; in protected_save_fp_context()
377 int protected_restore_fp_context(void __user *sc) in protected_restore_fp_context()
380 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in protected_restore_fp_context()
381 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in protected_restore_fp_context()
382 uint32_t __user *used_math = sc + abi->off_sc_used_math; in protected_restore_fp_context()
438 int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) in setup_sigcontext()
496 int fpcsr_pending(unsigned int __user *fpcsr) in fpcsr_pending()
515 int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) in restore_sigcontext()
553 void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, in get_sigframe()
569 return (void __user __force *)(-1UL); in get_sigframe()
580 return (void __user *)((sp - frame_size) & SIGMASK); in get_sigframe()
588 SYSCALL_DEFINE1(sigsuspend, sigset_t __user *, uset) in SYSCALL_DEFINE1() argument
595 SYSCALL_DEFINE3(sigaction, int, sig, const struct sigaction __user *, act, in SYSCALL_DEFINE3() argument
596 struct sigaction __user *, oact) in SYSCALL_DEFINE3()
638 struct sigframe __user *frame; in sys_sigreturn()
644 frame = (struct sigframe __user *)regs->regs[29]; in sys_sigreturn()
675 struct rt_sigframe __user *frame; in sys_rt_sigreturn()
681 frame = (struct rt_sigframe __user *)regs->regs[29]; in sys_rt_sigreturn()
716 struct sigframe __user *frame; in setup_frame()
755 struct rt_sigframe __user *frame; in setup_rt_frame()
924 static int smp_save_fp_context(void __user *sc) in smp_save_fp_context()
931 static int smp_restore_fp_context(void __user *sc) in smp_restore_fp_context()