/arch/sparc/include/asm/ |
D | termios.h | 54 err = put_user((termios)->c_iflag, &(termio)->c_iflag); \ 55 err |= put_user((termios)->c_oflag, &(termio)->c_oflag); \ 56 err |= put_user((termios)->c_cflag, &(termio)->c_cflag); \ 57 err |= put_user((termios)->c_lflag, &(termio)->c_lflag); \ 58 err |= put_user((termios)->c_line, &(termio)->c_line); \ 61 err |= put_user((termios)->c_cc[VMIN], &(termio)->c_cc[_VMIN]); \ 62 err |= put_user((termios)->c_cc[VTIME], &(termio)->c_cc[_VTIME]); \ 91 err = put_user((k)->c_iflag, &(u)->c_iflag); \ 92 err |= put_user((k)->c_oflag, &(u)->c_oflag); \ 93 err |= put_user((k)->c_cflag, &(u)->c_cflag); \ [all …]
|
D | uaccess_64.h | 86 #define put_user(x, ptr) ({ \ macro 98 #define __put_user(x, ptr) put_user(x, ptr)
|
/arch/sparc/kernel/ |
D | sys_sparc32.c | 70 err = put_user(huge_encode_dev(stat->dev), &statbuf->st_dev); in cp_compat_stat64() 71 err |= put_user(stat->ino, &statbuf->st_ino); in cp_compat_stat64() 72 err |= put_user(stat->mode, &statbuf->st_mode); in cp_compat_stat64() 73 err |= put_user(stat->nlink, &statbuf->st_nlink); in cp_compat_stat64() 74 err |= put_user(from_kuid_munged(current_user_ns(), stat->uid), &statbuf->st_uid); in cp_compat_stat64() 75 err |= put_user(from_kgid_munged(current_user_ns(), stat->gid), &statbuf->st_gid); in cp_compat_stat64() 76 err |= put_user(huge_encode_dev(stat->rdev), &statbuf->st_rdev); in cp_compat_stat64() 77 err |= put_user(0, (unsigned long __user *) &statbuf->__pad3[0]); in cp_compat_stat64() 78 err |= put_user(stat->size, &statbuf->st_size); in cp_compat_stat64() 79 err |= put_user(stat->blksize, &statbuf->st_blksize); in cp_compat_stat64() [all …]
|
D | apc.c | 95 if (put_user(apc_readb(APC_FANCTL_REG) & APC_REGMASK, arg)) in apc_ioctl() 100 if (put_user(apc_readb(APC_CPOWER_REG) & APC_REGMASK, arg)) in apc_ioctl() 105 if (put_user(apc_readb(APC_BPORT_REG) & APC_BPMASK, arg)) in apc_ioctl()
|
D | ptrace_32.c | 78 if (put_user(regs->u_regs[pos++], u++)) in genregs32_get() 86 put_user(reg, u++)) in genregs32_get() 114 else if (put_user(reg, u++)) in genregs32_get() 151 if (put_user(*k++, ®_window[pos++])) in genregs32_set() 165 put_user(reg, ®_window[pos++])) in genregs32_set()
|
D | unaligned_64.c | 420 put_user(ret, &win32->locals[rd - 16]); in handle_popc() 424 put_user(ret, &win->locals[rd - 16]); in handle_popc() 488 if (put_user (first >> 32, (u32 __user *)addr) || in handle_ldf_stq() 585 put_user(0, (int __user *) reg); in handle_ld_nf() 587 put_user(0, ((int __user *) reg) + 1); in handle_ld_nf() 589 put_user(0, (unsigned long __user *) reg); in handle_ld_nf() 591 put_user(0, (unsigned long __user *) reg + 1); in handle_ld_nf() 695 if (put_user (value >> 32, (u32 __user *) sfar) || in handle_stdfmna()
|
D | sys_sparc_64.c | 395 if (put_user(raddr, in SYSCALL_DEFINE6() 617 if (put_user(NULL, old_p)) in SYSCALL_DEFINE5() 620 if (put_user((utrap_handler_t)(current_thread_info()->utraps[type]), old_p)) in SYSCALL_DEFINE5() 625 if (put_user(NULL, old_d)) in SYSCALL_DEFINE5() 657 if (put_user((utrap_handler_t)(current_thread_info()->utraps[type]), old_p)) in SYSCALL_DEFINE5() 661 if (put_user(NULL, old_d)) in SYSCALL_DEFINE5()
|
/arch/ia64/include/asm/ |
D | termios.h | 45 put_user((termios)->c_iflag, &(termio)->c_iflag); \ 46 put_user((termios)->c_oflag, &(termio)->c_oflag); \ 47 put_user((termios)->c_cflag, &(termio)->c_cflag); \ 48 put_user((termios)->c_lflag, &(termio)->c_lflag); \ 49 put_user((termios)->c_line, &(termio)->c_line); \
|
/arch/parisc/include/asm/ |
D | termios.h | 39 put_user((termios)->c_iflag, &(termio)->c_iflag); \ 40 put_user((termios)->c_oflag, &(termio)->c_oflag); \ 41 put_user((termios)->c_cflag, &(termio)->c_cflag); \ 42 put_user((termios)->c_lflag, &(termio)->c_lflag); \ 43 put_user((termios)->c_line, &(termio)->c_line); \
|
D | futex.h | 72 if (ret == 0 && unlikely(put_user(tmp, uaddr) != 0)) in arch_futex_atomic_op_inuser() 113 if (val == oldval && unlikely(put_user(newval, uaddr) != 0)) { in futex_atomic_cmpxchg_inatomic()
|
/arch/arm/nwfpe/ |
D | fpa11_cpdt.c | 114 put_user(val.i[0], pMem); in storeSingle() 141 put_user(val.i[0], &pMem[0]); /* msw */ in storeDouble() 142 put_user(val.i[1], &pMem[1]); /* lsw */ in storeDouble() 144 put_user(val.i[1], &pMem[0]); /* msw */ in storeDouble() 145 put_user(val.i[0], &pMem[1]); /* lsw */ in storeDouble() 171 put_user(val.i[0], &pMem[0]); /* sign & exp */ in storeExtended() 173 put_user(val.i[1], &pMem[1]); /* msw */ in storeExtended() 174 put_user(val.i[2], &pMem[2]); in storeExtended() 176 put_user(val.i[1], &pMem[2]); in storeExtended() 177 put_user(val.i[2], &pMem[1]); /* msw */ in storeExtended() [all …]
|
/arch/powerpc/kernel/ |
D | ptrace32.c | 80 ret = put_user(tmp, (u32 __user *)data); in compat_arch_ptrace() 110 ret = put_user((unsigned int)tmp, (u32 __user *)data); in compat_arch_ptrace() 158 ret = put_user(reg32bits, (u32 __user *)data); in compat_arch_ptrace() 270 ret = put_user(child->thread.debug.dac1, (u32 __user *)data); in compat_arch_ptrace() 275 ret = put_user(dabr_fake, (u32 __user *)data); in compat_arch_ptrace()
|
/arch/x86/ia32/ |
D | ia32_aout.c | 74 put_user((unsigned long) envp, --sp); in create_aout_tables() 75 put_user((unsigned long) argv, --sp); in create_aout_tables() 76 put_user(argc, --sp); in create_aout_tables() 81 put_user((u32)(unsigned long)p, argv++); in create_aout_tables() 86 put_user(0, argv); in create_aout_tables() 91 put_user((u32)(unsigned long)p, envp++); in create_aout_tables() 96 put_user(0, envp); in create_aout_tables()
|
/arch/x86/um/ |
D | syscalls_64.c | 68 ret = put_user(tmp, arg2); in arch_prctl() 71 ret = put_user(tmp, arg2); in arch_prctl()
|
/arch/powerpc/platforms/cell/spufs/ |
D | syscalls.c | 54 if (put_user(npc, unpc)) in do_spu_run() 57 if (ustatus && put_user(status, ustatus)) in do_spu_run()
|
/arch/mips/kernel/ |
D | ptrace32.c | 78 ret = put_user(tmp, (u32 __user *) (unsigned long) data); in compat_arch_ptrace() 165 ret = put_user(tmp, (unsigned __user *) (unsigned long) data); in compat_arch_ptrace() 293 ret = put_user(task_thread_info(child)->tp_value, in compat_arch_ptrace() 298 ret = put_user(task_thread_info(child)->tp_value, in compat_arch_ptrace()
|
/arch/arm/kvm/ |
D | guest.c | 57 return put_user(((u32 *)regs)[off], uaddr); in get_core_reg() 121 if (put_user(KVM_REG_ARM_TIMER_CTL, uindices)) in copy_timer_indices() 124 if (put_user(KVM_REG_ARM_TIMER_CNT, uindices)) in copy_timer_indices() 127 if (put_user(KVM_REG_ARM_TIMER_CVAL, uindices)) in copy_timer_indices() 184 if (put_user(core_reg | i, uindices)) in kvm_arm_copy_reg_indices()
|
/arch/parisc/kernel/ |
D | signal.c | 537 err |= put_user(regs->gr[31] >> 32, &usp[0]); in insert_restart_trampoline() 538 err |= put_user(regs->gr[31] & 0xffffffff, &usp[1]); in insert_restart_trampoline() 539 err |= put_user(0x0fc010df, &usp[2]); in insert_restart_trampoline() 541 err |= put_user(regs->gr[31], &usp[0]); in insert_restart_trampoline() 542 err |= put_user(0x0fc0109f, &usp[2]); in insert_restart_trampoline() 544 err |= put_user(0xe0008200, &usp[3]); in insert_restart_trampoline() 545 err |= put_user(0x34140000, &usp[4]); in insert_restart_trampoline()
|
/arch/unicore32/kernel/ |
D | ptrace.c | 70 return put_user(tmp, ret); in ptrace_read_user() 101 ret = put_user(task_pt_regs(child)->UCreg_16, in arch_ptrace()
|
/arch/m68k/include/asm/ |
D | uaccess_no.h | 31 #define put_user(x, ptr) \ macro 54 #define __put_user(x, ptr) put_user(x, ptr)
|
/arch/alpha/kernel/ |
D | osf_sys.c | 129 if (put_user(offset, buf->basep)) in osf_filldir() 134 if (put_user(d_ino, &dirent->d_ino) || in osf_filldir() 135 put_user(namlen, &dirent->d_namlen) || in osf_filldir() 136 put_user(reclen, &dirent->d_reclen) || in osf_filldir() 138 put_user(0, dirent->d_name + namlen)) in osf_filldir() 665 error = put_user(0, min_buf_size_ptr); in SYSCALL_DEFINE2() 671 error = put_user(0, min_buf_size_ptr); in SYSCALL_DEFINE2() 714 if (put_user(oss_sp, &uoss->ss_sp) || in SYSCALL_DEFINE2() 715 put_user(oss_os, &uoss->ss_onstack)) in SYSCALL_DEFINE2() 774 if (put_user(w, (unsigned long __user *) buffer)) in SYSCALL_DEFINE5() [all …]
|
/arch/sh/include/asm/ |
D | futex-irq.h | 17 ret = put_user(newval, uaddr); in atomic_futex_op_cmpxchg_inatomic()
|
/arch/arm64/kvm/ |
D | guest.c | 478 if (put_user(reg, uindices)) in copy_core_reg_indices() 513 if (put_user(KVM_REG_ARM_TIMER_CTL, uindices)) in copy_timer_indices() 516 if (put_user(KVM_REG_ARM_TIMER_CNT, uindices)) in copy_timer_indices() 519 if (put_user(KVM_REG_ARM_TIMER_CVAL, uindices)) in copy_timer_indices() 580 if (put_user(reg, uindices++)) in copy_sve_reg_indices() 587 if (put_user(reg, uindices++)) in copy_sve_reg_indices() 594 if (put_user(reg, uindices++)) in copy_sve_reg_indices() 600 if (put_user(reg, uindices++)) in copy_sve_reg_indices()
|
/arch/m68k/kernel/ |
D | ptrace.c | 196 ret = put_user(tmp, datap); in arch_ptrace() 228 ret = put_user(tmp, datap); in arch_ptrace() 262 ret = put_user(task_thread_info(child)->tp_value, datap); in arch_ptrace()
|
/arch/arc/kernel/ |
D | arc_hostlink.c | 35 put_user((unsigned int)__HOSTLINK__, (int __user *)arg); in arc_hl_ioctl()
|