Home
last modified time | relevance | path

Searched refs:unsafe_get_user (Results 1 – 17 of 17) sorted by relevance

/linux/arch/powerpc/kernel/
A Dalign.c173 unsafe_get_user(temp.v[0], p++, Efault_read); in emulate_spe()
174 unsafe_get_user(temp.v[1], p++, Efault_read); in emulate_spe()
175 unsafe_get_user(temp.v[2], p++, Efault_read); in emulate_spe()
176 unsafe_get_user(temp.v[3], p++, Efault_read); in emulate_spe()
179 unsafe_get_user(temp.v[4], p++, Efault_read); in emulate_spe()
180 unsafe_get_user(temp.v[5], p++, Efault_read); in emulate_spe()
183 unsafe_get_user(temp.v[6], p++, Efault_read); in emulate_spe()
184 unsafe_get_user(temp.v[7], p++, Efault_read); in emulate_spe()
A Dsignal.h34 unsafe_get_user(__dst->sig[i], &__src->sig[i], label); \
77 unsafe_get_user(__t->thread.TS_FPR(i), &buf[i], label); \
78 unsafe_get_user(__t->thread.fp_state.fpscr, &buf[i], label); \
87 unsafe_get_user(__t->thread.fp_state.fpr[i][TS_VSRLOWOFFSET], \
118 unsafe_get_user(__t->thread.TS_CKFPR(i), &buf[i], label);\
119 unsafe_get_user(__t->thread.ckfp_state.fpscr, &buf[i], failed); \
128 unsafe_get_user(__t->thread.ckfp_state.fpr[i][TS_VSRLOWOFFSET], \
A Dsignal_64.c353 unsafe_get_user(regs->nip, &sc->gp_regs[PT_NIP], efault_out); in __unsafe_restore_sigcontext()
355 unsafe_get_user(msr, &sc->gp_regs[PT_MSR], efault_out); in __unsafe_restore_sigcontext()
359 unsafe_get_user(regs->ctr, &sc->gp_regs[PT_CTR], efault_out); in __unsafe_restore_sigcontext()
360 unsafe_get_user(regs->link, &sc->gp_regs[PT_LNK], efault_out); in __unsafe_restore_sigcontext()
361 unsafe_get_user(regs->xer, &sc->gp_regs[PT_XER], efault_out); in __unsafe_restore_sigcontext()
362 unsafe_get_user(regs->ccr, &sc->gp_regs[PT_CCR], efault_out); in __unsafe_restore_sigcontext()
365 unsafe_get_user(regs->dar, &sc->gp_regs[PT_DAR], efault_out); in __unsafe_restore_sigcontext()
366 unsafe_get_user(regs->dsisr, &sc->gp_regs[PT_DSISR], efault_out); in __unsafe_restore_sigcontext()
367 unsafe_get_user(regs->result, &sc->gp_regs[PT_RESULT], efault_out); in __unsafe_restore_sigcontext()
372 unsafe_get_user(set->sig[0], &sc->oldmask, efault_out); in __unsafe_restore_sigcontext()
[all …]
A Dsignal_32.c121 unsafe_get_user(gregs[i], &sr->mc_gregs[i], failed); in __unsafe_restore_general_regs()
476 unsafe_get_user(msr, &sr->mc_gregs[PT_MSR], failed); in restore_user_regs()
500 unsafe_get_user(current->thread.vrsave, (u32 __user *)&sr->mc_vregs[32], failed); in restore_user_regs()
579 unsafe_get_user(current->thread.tm_tfhar, &sr->mc_gregs[PT_NIP], failed); in restore_tm_user_regs()
580 unsafe_get_user(msr, &sr->mc_gregs[PT_MSR], failed); in restore_tm_user_regs()
599 unsafe_get_user(current->thread.ckvrsave, in restore_tm_user_regs()
635 unsafe_get_user(current->thread.vrsave, in restore_tm_user_regs()
650 unsafe_get_user(msr_hi, &tm_sr->mc_gregs[PT_MSR], failed); in restore_tm_user_regs()
920 unsafe_get_user(cmcp, &ucp->uc_regs, failed); in do_setcontext()
924 unsafe_get_user(mcp, &ucp->uc_regs, failed); in do_setcontext()
[all …]
/linux/lib/
A Dstrnlen_user.c37 unsafe_get_user(c, (unsigned long __user *)src, efault); in do_strnlen_user()
52 unsafe_get_user(c, (unsigned long __user *)(src+res), efault); in do_strnlen_user()
A Dusercopy.c68 unsafe_get_user(val, (unsigned long __user *) from, err_fault); in check_zeroed_user()
79 unsafe_get_user(val, (unsigned long __user *) from, err_fault); in check_zeroed_user()
A Dstrncpy_from_user.c41 unsafe_get_user(c, (unsigned long __user *)(src+res), byte_at_a_time); in do_strncpy_from_user()
72 unsafe_get_user(c,src+res, efault); in do_strncpy_from_user()
A Diov_iter.c1872 unsafe_get_user(len, &uiov[i].iov_len, uaccess_end); in copy_compat_iovec_from_user()
1873 unsafe_get_user(buf, &uiov[i].iov_base, uaccess_end); in copy_compat_iovec_from_user()
/linux/arch/powerpc/include/asm/
A Duaccess.h417 #define unsafe_get_user(x, p, e) do { \ macro
436 unsafe_get_user(*(u64 *)(_dst + _i), (u64 __user *)(_src + _i), e); \
438 unsafe_get_user(*(u32 *)(_dst + _i), (u32 __user *)(_src + _i), e); \
442 unsafe_get_user(*(u16 *)(_dst + _i), (u16 __user *)(_src + _i), e); \
446 unsafe_get_user(*(u8 *)(_dst + _i), (u8 __user *)(_src + _i), e); \
/linux/kernel/
A Dcompat.c207 unsafe_get_user(l1, umask++, Efault); in compat_get_bitmap()
208 unsafe_get_user(l2, umask++, Efault); in compat_get_bitmap()
213 unsafe_get_user(*mask, umask++, Efault); in compat_get_bitmap()
/linux/include/linux/
A Dcompat.h469 unsafe_get_user(lo, &__c->sig[7], label); \
470 unsafe_get_user(hi, &__c->sig[6], label); \
474 unsafe_get_user(lo, &__c->sig[5], label); \
475 unsafe_get_user(hi, &__c->sig[4], label); \
479 unsafe_get_user(lo, &__c->sig[3], label); \
480 unsafe_get_user(hi, &__c->sig[2], label); \
484 unsafe_get_user(lo, &__c->sig[1], label); \
485 unsafe_get_user(hi, &__c->sig[0], label); \
A Duaccess.h387 #define unsafe_get_user(x,p,e) unsafe_op_wrap(__get_user(x,p),e) macro
/linux/arch/powerpc/kernel/ptrace/
A Dptrace-view.c664 unsafe_get_user(reg, u++, Efault); in gpr32_set_common()
673 unsafe_get_user(reg, u++, Efault); in gpr32_set_common()
686 unsafe_get_user(reg, u++, Efault); in gpr32_set_common()
690 unsafe_get_user(reg, u++, Efault); in gpr32_set_common()
697 unsafe_get_user(reg, u++, Efault); in gpr32_set_common()
/linux/arch/x86/include/asm/
A Duaccess.h491 #define unsafe_get_user(x, ptr, err_label) \ macro
498 #define unsafe_get_user(x, ptr, err_label) \ macro
/linux/fs/
A Dselect.c781 unsafe_get_user(to->p, &from->p, Efault); in get_sigset_argpack()
782 unsafe_get_user(to->size, &from->size, Efault); in get_sigset_argpack()
1354 unsafe_get_user(to->p, &from->p, Efault); in get_compat_sigset_argpack()
1355 unsafe_get_user(to->size, &from->size, Efault); in get_compat_sigset_argpack()
/linux/arch/powerpc/lib/
A Dsstep.c312 unsafe_get_user(x, (unsigned char __user *)ea, Efault); in __read_mem_aligned()
315 unsafe_get_user(x, (unsigned short __user *)ea, Efault); in __read_mem_aligned()
318 unsafe_get_user(x, (unsigned int __user *)ea, Efault); in __read_mem_aligned()
322 unsafe_get_user(x, (unsigned long __user *)ea, Efault); in __read_mem_aligned()
367 unsafe_get_user(*dest, (u8 __user *)ea, Efault); in __copy_mem_in()
370 unsafe_get_user(*(u16 *)dest, (u16 __user *)ea, Efault); in __copy_mem_in()
373 unsafe_get_user(*(u32 *)dest, (u32 __user *)ea, Efault); in __copy_mem_in()
377 unsafe_get_user(*(u64 *)dest, (u64 __user *)ea, Efault); in __copy_mem_in()
/linux/arch/x86/kvm/
A Dx86.c3359 unsafe_get_user(version, &st->version, out); in record_steal_time()
3368 unsafe_get_user(steal, &st->steal, out); in record_steal_time()

Completed in 47 milliseconds