Lines Matching refs:__user
45 static int (*save_fp_context)(void __user *sc);
46 static int (*restore_fp_context)(void __user *sc);
69 static int copy_fp_to_sigcontext(void __user *sc) in copy_fp_to_sigcontext()
72 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in copy_fp_to_sigcontext()
73 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in copy_fp_to_sigcontext()
88 static int copy_fp_from_sigcontext(void __user *sc) in copy_fp_from_sigcontext()
91 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in copy_fp_from_sigcontext()
92 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in copy_fp_from_sigcontext()
110 static int save_hw_fp_context(void __user *sc) in save_hw_fp_context()
113 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in save_hw_fp_context()
114 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in save_hw_fp_context()
119 static int restore_hw_fp_context(void __user *sc) in restore_hw_fp_context()
122 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in restore_hw_fp_context()
123 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in restore_hw_fp_context()
132 static inline void __user *sc_to_extcontext(void __user *sc) in sc_to_extcontext()
134 struct ucontext __user *uc; in sc_to_extcontext()
145 static int save_msa_extcontext(void __user *buf) in save_msa_extcontext()
147 struct msa_extcontext __user *msa = buf; in save_msa_extcontext()
191 static int restore_msa_extcontext(void __user *buf, unsigned int size) in restore_msa_extcontext()
193 struct msa_extcontext __user *msa = buf; in restore_msa_extcontext()
237 static int save_extcontext(void __user *buf) in save_extcontext()
258 static int restore_extcontext(void __user *buf) in restore_extcontext()
296 int protected_save_fp_context(void __user *sc) in protected_save_fp_context()
299 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in protected_save_fp_context()
300 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in protected_save_fp_context()
301 uint32_t __user *used_math = sc + abi->off_sc_used_math; in protected_save_fp_context()
349 int protected_restore_fp_context(void __user *sc) in protected_restore_fp_context()
352 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in protected_restore_fp_context()
353 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in protected_restore_fp_context()
354 uint32_t __user *used_math = sc + abi->off_sc_used_math; in protected_restore_fp_context()
410 int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) in setup_sigcontext()
468 int fpcsr_pending(unsigned int __user *fpcsr) in fpcsr_pending()
487 int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) in restore_sigcontext()
519 void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, in get_sigframe()
539 …return (void __user *)((sp - frame_size) & (ICACHE_REFILLS_WORKAROUND_WAR ? ~(cpu_icache_line_size… in get_sigframe()
547 SYSCALL_DEFINE1(sigsuspend, sigset_t __user *, uset) in SYSCALL_DEFINE1() argument
554 SYSCALL_DEFINE3(sigaction, int, sig, const struct sigaction __user *, act, in SYSCALL_DEFINE3() argument
555 struct sigaction __user *, oact) in SYSCALL_DEFINE3()
597 struct sigframe __user *frame; in sys_sigreturn()
601 frame = (struct sigframe __user *) regs.regs[29]; in sys_sigreturn()
632 struct rt_sigframe __user *frame; in sys_rt_sigreturn()
636 frame = (struct rt_sigframe __user *) regs.regs[29]; in sys_rt_sigreturn()
671 struct sigframe __user *frame; in setup_frame()
710 struct rt_sigframe __user *frame; in setup_rt_frame()
869 static int smp_save_fp_context(void __user *sc) in smp_save_fp_context()
876 static int smp_restore_fp_context(void __user *sc) in smp_restore_fp_context()