/linux-6.6.21/arch/powerpc/kernel/ |
D | align.c | 173 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()
|
D | signal.h | 34 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], \
|
D | signal_64.c | 358 unsafe_get_user(regs->nip, &sc->gp_regs[PT_NIP], efault_out); in __unsafe_restore_sigcontext() 360 unsafe_get_user(msr, &sc->gp_regs[PT_MSR], efault_out); in __unsafe_restore_sigcontext() 363 unsafe_get_user(regs->orig_gpr3, &sc->gp_regs[PT_ORIG_R3], efault_out); in __unsafe_restore_sigcontext() 364 unsafe_get_user(regs->ctr, &sc->gp_regs[PT_CTR], efault_out); in __unsafe_restore_sigcontext() 365 unsafe_get_user(regs->link, &sc->gp_regs[PT_LNK], efault_out); in __unsafe_restore_sigcontext() 366 unsafe_get_user(regs->xer, &sc->gp_regs[PT_XER], efault_out); in __unsafe_restore_sigcontext() 367 unsafe_get_user(regs->ccr, &sc->gp_regs[PT_CCR], efault_out); in __unsafe_restore_sigcontext() 370 unsafe_get_user(regs->dar, &sc->gp_regs[PT_DAR], efault_out); in __unsafe_restore_sigcontext() 371 unsafe_get_user(regs->dsisr, &sc->gp_regs[PT_DSISR], efault_out); in __unsafe_restore_sigcontext() 372 unsafe_get_user(regs->result, &sc->gp_regs[PT_RESULT], efault_out); in __unsafe_restore_sigcontext() [all …]
|
D | signal_32.c | 121 unsafe_get_user(gregs[i], &sr->mc_gregs[i], failed); in __unsafe_restore_general_regs() 485 unsafe_get_user(msr, &sr->mc_gregs[PT_MSR], failed); in restore_user_regs() 509 unsafe_get_user(current->thread.vrsave, (u32 __user *)&sr->mc_vregs[32], failed); in restore_user_regs() 555 unsafe_get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs + ELF_NEVRREG, failed); in restore_user_regs() 592 unsafe_get_user(current->thread.tm_tfhar, &sr->mc_gregs[PT_NIP], failed); in restore_tm_user_regs() 593 unsafe_get_user(msr, &sr->mc_gregs[PT_MSR], failed); in restore_tm_user_regs() 612 unsafe_get_user(current->thread.ckvrsave, in restore_tm_user_regs() 648 unsafe_get_user(current->thread.vrsave, in restore_tm_user_regs() 663 unsafe_get_user(msr_hi, &tm_sr->mc_gregs[PT_MSR], failed); in restore_tm_user_regs() 933 unsafe_get_user(cmcp, &ucp->uc_regs, failed); in do_setcontext() [all …]
|
/linux-6.6.21/lib/ |
D | strnlen_user.c | 37 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()
|
D | usercopy.c | 76 unsafe_get_user(val, (unsigned long __user *) from, err_fault); in check_zeroed_user() 87 unsafe_get_user(val, (unsigned long __user *) from, err_fault); in check_zeroed_user()
|
D | strncpy_from_user.c | 41 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()
|
D | iov_iter.c | 1347 unsafe_get_user(len, &uiov[i].iov_len, uaccess_end); in copy_compat_iovec_from_user() 1348 unsafe_get_user(buf, &uiov[i].iov_base, uaccess_end); in copy_compat_iovec_from_user() 1377 unsafe_get_user(len, &uiov->iov_len, uaccess_end); in copy_iovec_from_user() 1378 unsafe_get_user(buf, &uiov->iov_base, uaccess_end); in copy_iovec_from_user()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | uaccess.h | 432 #define unsafe_get_user(x, p, e) do { \ macro 451 unsafe_get_user(*(u64 *)(_dst + _i), (u64 __user *)(_src + _i), e); \ 453 unsafe_get_user(*(u32 *)(_dst + _i), (u32 __user *)(_src + _i), e); \ 457 unsafe_get_user(*(u16 *)(_dst + _i), (u16 __user *)(_src + _i), e); \ 461 unsafe_get_user(*(u8 *)(_dst + _i), (u8 __user *)(_src + _i), e); \
|
/linux-6.6.21/kernel/ |
D | compat.c | 207 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-6.6.21/include/linux/ |
D | compat.h | 499 unsafe_get_user(lo, &__c->sig[7], label); \ 500 unsafe_get_user(hi, &__c->sig[6], label); \ 504 unsafe_get_user(lo, &__c->sig[5], label); \ 505 unsafe_get_user(hi, &__c->sig[4], label); \ 509 unsafe_get_user(lo, &__c->sig[3], label); \ 510 unsafe_get_user(hi, &__c->sig[2], label); \ 514 unsafe_get_user(lo, &__c->sig[1], label); \ 515 unsafe_get_user(hi, &__c->sig[0], label); \
|
D | uaccess.h | 423 #define unsafe_get_user(x,p,e) unsafe_op_wrap(__get_user(x,p),e) macro
|
/linux-6.6.21/arch/powerpc/kernel/ptrace/ |
D | ptrace-view.c | 773 unsafe_get_user(reg, u++, Efault); in gpr32_set_common_user() 778 unsafe_get_user(reg, u++, Efault); in gpr32_set_common_user() 785 unsafe_get_user(reg, u++, Efault); in gpr32_set_common_user() 789 unsafe_get_user(reg, u++, Efault); in gpr32_set_common_user() 792 unsafe_get_user(reg, u++, Efault); in gpr32_set_common_user()
|
/linux-6.6.21/arch/x86/include/asm/ |
D | uaccess.h | 536 #define unsafe_get_user(x, ptr, err_label) \ macro 543 #define unsafe_get_user(x, ptr, err_label) \ macro
|
/linux-6.6.21/fs/ |
D | select.c | 785 unsafe_get_user(to->p, &from->p, Efault); in get_sigset_argpack() 786 unsafe_get_user(to->size, &from->size, Efault); in get_sigset_argpack() 1358 unsafe_get_user(to->p, &from->p, Efault); in get_compat_sigset_argpack() 1359 unsafe_get_user(to->size, &from->size, Efault); in get_compat_sigset_argpack()
|
/linux-6.6.21/arch/powerpc/lib/ |
D | sstep.c | 307 unsafe_get_user(x, (unsigned char __user *)ea, Efault); in __read_mem_aligned() 310 unsafe_get_user(x, (unsigned short __user *)ea, Efault); in __read_mem_aligned() 313 unsafe_get_user(x, (unsigned int __user *)ea, Efault); in __read_mem_aligned() 317 unsafe_get_user(x, (unsigned long __user *)ea, Efault); in __read_mem_aligned() 362 unsafe_get_user(*dest, (u8 __user *)ea, Efault); in __copy_mem_in() 365 unsafe_get_user(*(u16 *)dest, (u16 __user *)ea, Efault); in __copy_mem_in() 368 unsafe_get_user(*(u32 *)dest, (u32 __user *)ea, Efault); in __copy_mem_in() 372 unsafe_get_user(*(u64 *)dest, (u64 __user *)ea, Efault); in __copy_mem_in()
|
/linux-6.6.21/mm/ |
D | gup.c | 1977 unsafe_get_user(c, uaddr, out); in fault_in_readable() 1984 unsafe_get_user(c, uaddr, out); in fault_in_readable()
|
/linux-6.6.21/arch/x86/kvm/ |
D | x86.c | 3593 unsafe_get_user(version, &st->version, out); in record_steal_time() 3602 unsafe_get_user(steal, &st->steal, out); in record_steal_time()
|