Lines Matching refs:__user

45 static int (*save_fp_context)(void __user *sc);
46 static int (*restore_fp_context)(void __user *sc);
71 static int copy_fp_to_sigcontext(void __user *sc) in copy_fp_to_sigcontext()
74 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in copy_fp_to_sigcontext()
75 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in copy_fp_to_sigcontext()
90 static int copy_fp_from_sigcontext(void __user *sc) in copy_fp_from_sigcontext()
93 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in copy_fp_from_sigcontext()
94 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in copy_fp_from_sigcontext()
111 static int copy_fp_to_sigcontext(void __user *sc) in copy_fp_to_sigcontext()
116 static int copy_fp_from_sigcontext(void __user *sc) in copy_fp_from_sigcontext()
126 static int save_hw_fp_context(void __user *sc) in save_hw_fp_context()
129 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in save_hw_fp_context()
130 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in save_hw_fp_context()
135 static int restore_hw_fp_context(void __user *sc) in restore_hw_fp_context()
138 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in restore_hw_fp_context()
139 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in restore_hw_fp_context()
148 static inline void __user *sc_to_extcontext(void __user *sc) in sc_to_extcontext()
150 struct ucontext __user *uc; in sc_to_extcontext()
163 static int save_msa_extcontext(void __user *buf) in save_msa_extcontext()
165 struct msa_extcontext __user *msa = buf; in save_msa_extcontext()
209 static int restore_msa_extcontext(void __user *buf, unsigned int size) in restore_msa_extcontext()
211 struct msa_extcontext __user *msa = buf; in restore_msa_extcontext()
254 static int save_msa_extcontext(void __user *buf) in save_msa_extcontext()
259 static int restore_msa_extcontext(void __user *buf, unsigned int size) in restore_msa_extcontext()
266 static int save_extcontext(void __user *buf) in save_extcontext()
287 static int restore_extcontext(void __user *buf) in restore_extcontext()
325 int protected_save_fp_context(void __user *sc) in protected_save_fp_context()
328 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in protected_save_fp_context()
329 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in protected_save_fp_context()
330 uint32_t __user *used_math = sc + abi->off_sc_used_math; in protected_save_fp_context()
378 int protected_restore_fp_context(void __user *sc) in protected_restore_fp_context()
381 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in protected_restore_fp_context()
382 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in protected_restore_fp_context()
383 uint32_t __user *used_math = sc + abi->off_sc_used_math; in protected_restore_fp_context()
439 int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) in setup_sigcontext()
497 int fpcsr_pending(unsigned int __user *fpcsr) in fpcsr_pending()
516 int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) in restore_sigcontext()
548 void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, in get_sigframe()
568 …return (void __user *)((sp - frame_size) & (ICACHE_REFILLS_WORKAROUND_WAR ? ~(cpu_icache_line_size… in get_sigframe()
576 SYSCALL_DEFINE1(sigsuspend, sigset_t __user *, uset) in SYSCALL_DEFINE1() argument
583 SYSCALL_DEFINE3(sigaction, int, sig, const struct sigaction __user *, act, in SYSCALL_DEFINE3() argument
584 struct sigaction __user *, oact) in SYSCALL_DEFINE3()
626 struct sigframe __user *frame; in sys_sigreturn()
632 frame = (struct sigframe __user *)regs->regs[29]; in sys_sigreturn()
663 struct rt_sigframe __user *frame; in sys_rt_sigreturn()
669 frame = (struct rt_sigframe __user *)regs->regs[29]; in sys_rt_sigreturn()
704 struct sigframe __user *frame; in setup_frame()
743 struct rt_sigframe __user *frame; in setup_rt_frame()
913 static int smp_save_fp_context(void __user *sc) in smp_save_fp_context()
920 static int smp_restore_fp_context(void __user *sc) in smp_restore_fp_context()