Home
last modified time | relevance | path

Searched refs:__get_user (Results 1 – 25 of 108) sorted by relevance

12345

/linux-6.3-rc2/arch/nios2/kernel/
A Dsignal.c52 err |= __get_user(regs->r1, &gregs[0]); in rt_restore_ucontext()
53 err |= __get_user(regs->r2, &gregs[1]); in rt_restore_ucontext()
54 err |= __get_user(regs->r3, &gregs[2]); in rt_restore_ucontext()
55 err |= __get_user(regs->r4, &gregs[3]); in rt_restore_ucontext()
56 err |= __get_user(regs->r5, &gregs[4]); in rt_restore_ucontext()
57 err |= __get_user(regs->r6, &gregs[5]); in rt_restore_ucontext()
58 err |= __get_user(regs->r7, &gregs[6]); in rt_restore_ucontext()
59 err |= __get_user(regs->r8, &gregs[7]); in rt_restore_ucontext()
60 err |= __get_user(regs->r9, &gregs[8]); in rt_restore_ucontext()
67 err |= __get_user(sw->r16, &gregs[15]); in rt_restore_ucontext()
[all …]
A Dmisaligned.c98 fault |= __get_user(d0, (u8 *)(addr+0)); in handle_unaligned_c()
99 fault |= __get_user(d1, (u8 *)(addr+1)); in handle_unaligned_c()
116 fault |= __get_user(d0, (u8 *)(addr+0)); in handle_unaligned_c()
117 fault |= __get_user(d1, (u8 *)(addr+1)); in handle_unaligned_c()
140 fault |= __get_user(d0, (u8 *)(addr+0)); in handle_unaligned_c()
141 fault |= __get_user(d1, (u8 *)(addr+1)); in handle_unaligned_c()
142 fault |= __get_user(d2, (u8 *)(addr+2)); in handle_unaligned_c()
143 fault |= __get_user(d3, (u8 *)(addr+3)); in handle_unaligned_c()
/linux-6.3-rc2/arch/alpha/kernel/
A Dsignal.c71 __get_user(mask, &act->sa_mask)) in SYSCALL_DEFINE3()
160 err |= __get_user(regs->r0, sc->sc_regs+0); in restore_sigcontext()
161 err |= __get_user(regs->r1, sc->sc_regs+1); in restore_sigcontext()
162 err |= __get_user(regs->r2, sc->sc_regs+2); in restore_sigcontext()
163 err |= __get_user(regs->r3, sc->sc_regs+3); in restore_sigcontext()
164 err |= __get_user(regs->r4, sc->sc_regs+4); in restore_sigcontext()
165 err |= __get_user(regs->r5, sc->sc_regs+5); in restore_sigcontext()
166 err |= __get_user(regs->r6, sc->sc_regs+6); in restore_sigcontext()
169 err |= __get_user(sw->r9, sc->sc_regs+9); in restore_sigcontext()
190 err |= __get_user(usp, sc->sc_regs+30); in restore_sigcontext()
[all …]
/linux-6.3-rc2/arch/sparc/kernel/
A Dsignal_64.c58 err = __get_user(pc, &((*grp)[MC_PC])); in sparc64_set_context()
59 err |= __get_user(npc, &((*grp)[MC_NPC])); in sparc64_set_context()
80 err |= __get_user(regs->y, &((*grp)[MC_Y])); in sparc64_set_context()
81 err |= __get_user(tstate, &((*grp)[MC_TSTATE])); in sparc64_set_context()
200 err |= __get_user(fp, in sparc64_get_context()
202 err |= __get_user(i7, in sparc64_get_context()
281 err = __get_user(tpc, &sf->regs.tpc); in do_rt_sigreturn()
282 err |= __get_user(tnpc, &sf->regs.tnpc); in do_rt_sigreturn()
290 err |= __get_user(regs->y, &sf->regs.y); in do_rt_sigreturn()
291 err |= __get_user(tstate, &sf->regs.tstate); in do_rt_sigreturn()
[all …]
A Dsignal32.c112 if (__get_user(pc, &sf->info.si_regs.pc) || in do_sigreturn32()
113 __get_user(npc, &sf->info.si_regs.npc)) in do_sigreturn32()
139 err |= __get_user(asi, &sf->v8plus.asi); in do_sigreturn32()
152 err |= __get_user(fpu_save, &sf->fpu_save); in do_sigreturn32()
155 err |= __get_user(rwin_save, &sf->rwin_save); in do_sigreturn32()
200 if (__get_user(pc, &sf->regs.pc) || in do_rt_sigreturn32()
201 __get_user(npc, &sf->regs.npc)) in do_rt_sigreturn32()
215 err = __get_user(regs->y, &sf->regs.y); in do_rt_sigreturn32()
216 err |= __get_user(psr, &sf->regs.psr); in do_rt_sigreturn32()
227 err |= __get_user(asi, &sf->v8plus.asi); in do_rt_sigreturn32()
[all …]
A Dsignal_32.c100 err = __get_user(pc, &sf->info.si_regs.pc); in do_sigreturn()
101 err |= __get_user(npc, &sf->info.si_regs.npc); in do_sigreturn()
117 err |= __get_user(fpu_save, &sf->fpu_save); in do_sigreturn()
120 err |= __get_user(rwin_save, &sf->rwin_save); in do_sigreturn()
127 err |= __get_user(set.sig[0], &sf->info.si_mask); in do_sigreturn()
161 err = __get_user(pc, &sf->regs.pc); in do_rt_sigreturn()
162 err |= __get_user(npc, &sf->regs.npc); in do_rt_sigreturn()
165 err |= __get_user(regs->y, &sf->regs.y); in do_rt_sigreturn()
166 err |= __get_user(psr, &sf->regs.psr); in do_rt_sigreturn()
176 err |= __get_user(fpu_save, &sf->fpu_save); in do_rt_sigreturn()
[all …]
A Dsigutil_64.c53 err |= __get_user(current_thread_info()->xfsr[0], &fpu->si_fsr); in restore_fpu_state()
54 err |= __get_user(current_thread_info()->gsr[0], &fpu->si_gsr); in restore_fpu_state()
91 err |= __get_user(t->rwbuf_stkptrs[i], in restore_rwin_state()
A Dsigutil_32.c73 err |= __get_user(current->thread.fsr, &fpu->si_fsr); in restore_fpu_state()
74 err |= __get_user(current->thread.fpqdepth, &fpu->si_fpqdepth); in restore_fpu_state()
117 err |= __get_user(t->rwbuf_stkptrs[i], in restore_rwin_state()
/linux-6.3-rc2/arch/hexagon/kernel/
A Dsignal.c73 err |= __get_user(regs->sa0, &sc->sc_regs.sa0); in restore_sigcontext()
74 err |= __get_user(regs->lc0, &sc->sc_regs.lc0); in restore_sigcontext()
75 err |= __get_user(regs->sa1, &sc->sc_regs.sa1); in restore_sigcontext()
76 err |= __get_user(regs->lc1, &sc->sc_regs.lc1); in restore_sigcontext()
77 err |= __get_user(regs->m0, &sc->sc_regs.m0); in restore_sigcontext()
78 err |= __get_user(regs->m1, &sc->sc_regs.m1); in restore_sigcontext()
79 err |= __get_user(regs->usr, &sc->sc_regs.usr); in restore_sigcontext()
81 err |= __get_user(regs->gp, &sc->sc_regs.gp); in restore_sigcontext()
82 err |= __get_user(regs->ugp, &sc->sc_regs.ugp); in restore_sigcontext()
84 err |= __get_user(regs->cs0, &sc->sc_regs.cs0); in restore_sigcontext()
[all …]
/linux-6.3-rc2/arch/parisc/kernel/
A Dsignal32.c50 err |= __get_user(compat_reg,&sc->sc_gr[regn]); in restore_sigcontext32()
53 err |= __get_user(compat_regt,&rf->rf_gr[regn]); in restore_sigcontext32()
65 err |= __get_user(compat_reg, &sc->sc_iaoq[0]); in restore_sigcontext32()
67 err |= __get_user(compat_regt, &rf->rf_iaoq[0]); in restore_sigcontext32()
73 err |= __get_user(compat_reg, &sc->sc_iaoq[1]); in restore_sigcontext32()
75 err |= __get_user(compat_regt, &rf->rf_iaoq[1]); in restore_sigcontext32()
83 err |= __get_user(compat_reg, &sc->sc_iasq[0]); in restore_sigcontext32()
85 err |= __get_user(compat_regt, &rf->rf_iasq[0]); in restore_sigcontext32()
89 err |= __get_user(compat_reg, &sc->sc_iasq[1]); in restore_sigcontext32()
97 err |= __get_user(compat_reg, &sc->sc_sar); in restore_sigcontext32()
[all …]
/linux-6.3-rc2/arch/ia64/kernel/
A Dsignal.c39 # define GET_SIGSET(k,u) __get_user((k)->sig[0], &(u)->sig[0])
52 err = __get_user(flags, &sc->sc_flags); in restore_sigcontext()
53 err |= __get_user(nat, &sc->sc_nat); in restore_sigcontext()
55 err |= __get_user(cfm, &sc->sc_cfm); in restore_sigcontext()
56 err |= __get_user(um, &sc->sc_um); /* user mask */ in restore_sigcontext()
57 err |= __get_user(rsc, &sc->sc_ar_rsc); in restore_sigcontext()
58 err |= __get_user(scr->pt.ar_unat, &sc->sc_ar_unat); in restore_sigcontext()
59 err |= __get_user(scr->pt.ar_fpsr, &sc->sc_ar_fpsr); in restore_sigcontext()
60 err |= __get_user(scr->pt.ar_pfs, &sc->sc_ar_pfs); in restore_sigcontext()
63 err |= __get_user(scr->pt.b6, &sc->sc_br[6]); /* b6 */ in restore_sigcontext()
[all …]
A Dptrace.c941 retval |= __get_user(psr, &ppr->cr_ipsr); in ptrace_setregs()
952 retval |= __get_user(ec, &ppr->ar[PT_AUR_EC]); in ptrace_setregs()
953 retval |= __get_user(lc, &ppr->ar[PT_AUR_LC]); in ptrace_setregs()
956 retval |= __get_user(cfm, &ppr->cfm); in ptrace_setregs()
966 retval |= __get_user(val, &ppr->gr[i]); in ptrace_setregs()
988 retval |= __get_user(pt->b0, &ppr->br[0]); in ptrace_setregs()
993 retval |= __get_user(val, &ppr->br[i]); in ptrace_setregs()
999 retval |= __get_user(pt->b6, &ppr->br[6]); in ptrace_setregs()
1000 retval |= __get_user(pt->b7, &ppr->br[7]); in ptrace_setregs()
1037 retval |= __get_user(pt->pr, &ppr->pr); in ptrace_setregs()
[all …]
/linux-6.3-rc2/arch/mips/kernel/
A Dsignal.c100 err |= __get_user(fpr_val, &fpregs[i]); in copy_fp_from_sigcontext()
243 err |= __get_user(val, &msa->wr[i]); in restore_msa_extcontext()
386 err = __get_user(used, used_math); in protected_restore_fp_context()
424 err = __get_user(tmp, &fpregs[0]) | in protected_restore_fp_context()
425 __get_user(tmp, &fpregs[31]) | in protected_restore_fp_context()
426 __get_user(tmp, csr); in protected_restore_fp_context()
501 err = __get_user(csr, fpcsr); in fpcsr_pending()
524 err |= __get_user(regs->cp0_epc, &sc->sc_pc); in restore_sigcontext()
527 err |= __get_user(regs->acx, &sc->sc_acx); in restore_sigcontext()
529 err |= __get_user(regs->hi, &sc->sc_mdhi); in restore_sigcontext()
[all …]
A Dsignal_o32.c95 err |= __get_user(regs->cp0_epc, &sc->sc_pc); in restore_sigcontext32()
96 err |= __get_user(regs->hi, &sc->sc_mdhi); in restore_sigcontext32()
97 err |= __get_user(regs->lo, &sc->sc_mdlo); in restore_sigcontext32()
99 err |= __get_user(treg, &sc->sc_hi1); mthi1(treg); in restore_sigcontext32()
100 err |= __get_user(treg, &sc->sc_lo1); mtlo1(treg); in restore_sigcontext32()
101 err |= __get_user(treg, &sc->sc_hi2); mthi2(treg); in restore_sigcontext32()
102 err |= __get_user(treg, &sc->sc_lo2); mtlo2(treg); in restore_sigcontext32()
103 err |= __get_user(treg, &sc->sc_hi3); mthi3(treg); in restore_sigcontext32()
104 err |= __get_user(treg, &sc->sc_lo3); mtlo3(treg); in restore_sigcontext32()
105 err |= __get_user(treg, &sc->sc_dsp); wrdsp(treg, DSP_MASK); in restore_sigcontext32()
[all …]
A Dsignal32.c51 err |= __get_user(handler, &act->sa_handler);
53 err |= __get_user(new_ka.sa.sa_flags, &act->sa_flags);
54 err |= __get_user(mask, &act->sa_mask.sig[0]);
/linux-6.3-rc2/arch/m68k/kernel/
A Dsignal.c724 err |= __get_user(regs->d0, &gregs[0]); in rt_restore_ucontext()
725 err |= __get_user(regs->d1, &gregs[1]); in rt_restore_ucontext()
726 err |= __get_user(regs->d2, &gregs[2]); in rt_restore_ucontext()
730 err |= __get_user(sw->d6, &gregs[6]); in rt_restore_ucontext()
731 err |= __get_user(sw->d7, &gregs[7]); in rt_restore_ucontext()
735 err |= __get_user(sw->a3, &gregs[11]); in rt_restore_ucontext()
736 err |= __get_user(sw->a4, &gregs[12]); in rt_restore_ucontext()
737 err |= __get_user(sw->a5, &gregs[13]); in rt_restore_ucontext()
738 err |= __get_user(sw->a6, &gregs[14]); in rt_restore_ucontext()
739 err |= __get_user(usp, &gregs[15]); in rt_restore_ucontext()
[all …]
/linux-6.3-rc2/arch/powerpc/kernel/
A Dsignal_64.c473 err |= __get_user(msr, &sc->gp_regs[PT_MSR]); in restore_tm_sigcontexts()
486 err |= __get_user(tsk->thread.ckpt_regs.ctr, in restore_tm_sigcontexts()
488 err |= __get_user(tsk->thread.ckpt_regs.link, in restore_tm_sigcontexts()
490 err |= __get_user(tsk->thread.ckpt_regs.xer, in restore_tm_sigcontexts()
492 err |= __get_user(tsk->thread.ckpt_regs.ccr, in restore_tm_sigcontexts()
497 err |= __get_user(regs->dar, &sc->gp_regs[PT_DAR]); in restore_tm_sigcontexts()
509 err |= __get_user(v_regs, &sc->v_regs); in restore_tm_sigcontexts()
510 err |= __get_user(tm_v_regs, &tm_sc->v_regs); in restore_tm_sigcontexts()
531 err |= __get_user(tsk->thread.ckvrsave, in restore_tm_sigcontexts()
533 err |= __get_user(tsk->thread.vrsave, in restore_tm_sigcontexts()
[all …]
/linux-6.3-rc2/arch/loongarch/kernel/
A Dsignal.c109 err |= __get_user(fpr_val, &regs[i]); in copy_fpu_from_sigcontext()
112 err |= __get_user(current->thread.fpu.fcc, fcc); in copy_fpu_from_sigcontext()
144 err = __get_user(csr, fcsr); in fcsr_pending()
219 err = __get_user(tmp, &regs[0]) | in protected_restore_fpu_context()
220 __get_user(tmp, &regs[31]) | in protected_restore_fpu_context()
221 __get_user(tmp, fcc) | in protected_restore_fpu_context()
222 __get_user(tmp, fcsr); in protected_restore_fpu_context()
261 err |= __get_user(magic, &info->magic); in parse_extcontext()
262 err |= __get_user(size, &info->size); in parse_extcontext()
298 err = __get_user(extctx.flags, &sc->sc_flags); in restore_sigcontext()
[all …]
/linux-6.3-rc2/tools/perf/util/include/asm/
A Duaccess.h5 #define __get_user(src, dest) \ macro
11 #define get_user __get_user
/linux-6.3-rc2/arch/sh/kernel/
A Dsignal_32.c120 #define COPY(x) err |= __get_user(regs->x, &sc->sc_##x) in restore_sigcontext()
144 err |= __get_user (owned_fp, &sc->sc_ownedfp); in restore_sigcontext()
151 err |= __get_user(*r0_p, &sc->sc_regs[0]); in restore_sigcontext()
168 if (__get_user(set.sig[0], &frame->sc.oldmask) in sys_sigreturn()
321 err |= __get_user(regs->pc, &funcptr->text); in setup_frame()
322 err |= __get_user(regs->regs[12], &funcptr->GOT); in setup_frame()
391 err |= __get_user(regs->pc, &funcptr->text); in setup_rt_frame()
392 err |= __get_user(regs->regs[12], &funcptr->GOT); in setup_rt_frame()
/linux-6.3-rc2/drivers/macintosh/
A Dans-lcd.c74 __get_user(c, p); in anslcd_write()
105 __get_user(ch, temp); in anslcd_ioctl()
108 __get_user(ch, temp); in anslcd_ioctl()
/linux-6.3-rc2/kernel/
A Dcompat.c184 __get_user(event->sigev_value.sival_int, in get_compat_sigevent()
186 __get_user(event->sigev_signo, &u_event->sigev_signo) || in get_compat_sigevent()
187 __get_user(event->sigev_notify, &u_event->sigev_notify) || in get_compat_sigevent()
188 __get_user(event->sigev_notify_thread_id, in get_compat_sigevent()
/linux-6.3-rc2/drivers/pci/
A Dproc.c139 __get_user(val, buf); in proc_bus_pci_write()
148 __get_user(val, (__le16 __user *) buf); in proc_bus_pci_write()
157 __get_user(val, (__le32 __user *) buf); in proc_bus_pci_write()
166 __get_user(val, (__le16 __user *) buf); in proc_bus_pci_write()
175 __get_user(val, buf); in proc_bus_pci_write()
/linux-6.3-rc2/arch/x86/kernel/
A Dstacktrace.c98 if (__get_user(frame->next_fp, &fp->next_fp) || in copy_stack_frame()
99 __get_user(frame->ret_addr, &fp->ret_addr)) in copy_stack_frame()
/linux-6.3-rc2/arch/microblaze/include/asm/
A Duaccess.h98 __get_user(x, __gu_ptr) : -EFAULT; \
101 #define __get_user(x, ptr) \ macro

Completed in 38 milliseconds

12345