/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 | 85 #define put_user(x, ptr) ({ \ macro 97 #define __put_user(x, ptr) put_user(x, ptr)
|
/arch/sparc/kernel/ |
D | sys_sparc32.c | 69 err = put_user(huge_encode_dev(stat->dev), &statbuf->st_dev); in cp_compat_stat64() 70 err |= put_user(stat->ino, &statbuf->st_ino); in cp_compat_stat64() 71 err |= put_user(stat->mode, &statbuf->st_mode); in cp_compat_stat64() 72 err |= put_user(stat->nlink, &statbuf->st_nlink); in cp_compat_stat64() 73 err |= put_user(from_kuid_munged(current_user_ns(), stat->uid), &statbuf->st_uid); in cp_compat_stat64() 74 err |= put_user(from_kgid_munged(current_user_ns(), stat->gid), &statbuf->st_gid); in cp_compat_stat64() 75 err |= put_user(huge_encode_dev(stat->rdev), &statbuf->st_rdev); in cp_compat_stat64() 76 err |= put_user(0, (unsigned long __user *) &statbuf->__pad3[0]); in cp_compat_stat64() 77 err |= put_user(stat->size, &statbuf->st_size); in cp_compat_stat64() 78 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 | 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() 618 if (put_user(NULL, old_p)) in SYSCALL_DEFINE5() 621 if (put_user((utrap_handler_t)(current_thread_info()->utraps[type]), old_p)) in SYSCALL_DEFINE5() 626 if (put_user(NULL, old_d)) in SYSCALL_DEFINE5() 658 if (put_user((utrap_handler_t)(current_thread_info()->utraps[type]), old_p)) in SYSCALL_DEFINE5() 662 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 | 71 if (ret == 0 && unlikely(put_user(tmp, uaddr) != 0)) in arch_futex_atomic_op_inuser() 111 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/ptrace/ |
D | ptrace32.c | 71 ret = put_user(tmp, (u32 __user *)data); in compat_arch_ptrace() 100 ret = put_user((unsigned int)tmp, (u32 __user *)data); in compat_arch_ptrace() 147 ret = put_user(reg32bits, (u32 __user *)data); in compat_arch_ptrace() 257 ret = put_user(child->thread.debug.dac1, (u32 __user *)data); in compat_arch_ptrace() 262 ret = put_user(dabr_fake, (u32 __user *)data); in compat_arch_ptrace()
|
/arch/x86/ia32/ |
D | ia32_aout.c | 73 put_user((unsigned long) envp, --sp); in create_aout_tables() 74 put_user((unsigned long) argv, --sp); in create_aout_tables() 75 put_user(argc, --sp); in create_aout_tables() 80 put_user((u32)(unsigned long)p, argv++); in create_aout_tables() 85 put_user(0, argv); in create_aout_tables() 90 put_user((u32)(unsigned long)p, envp++); in create_aout_tables() 95 put_user(0, envp); in create_aout_tables()
|
/arch/x86/um/ |
D | syscalls_64.c | 69 ret = put_user(tmp, arg2); in arch_prctl() 72 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 | 77 ret = put_user(tmp, (u32 __user *) (unsigned long) data); in compat_arch_ptrace() 164 ret = put_user(tmp, (unsigned __user *) (unsigned long) data); in compat_arch_ptrace() 292 ret = put_user(task_thread_info(child)->tp_value, in compat_arch_ptrace() 297 ret = put_user(task_thread_info(child)->tp_value, in compat_arch_ptrace()
|
/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/parisc/kernel/ |
D | signal.c | 534 err |= put_user(regs->gr[31] >> 32, &usp[0]); in insert_restart_trampoline() 535 err |= put_user(regs->gr[31] & 0xffffffff, &usp[1]); in insert_restart_trampoline() 536 err |= put_user(0x0fc010df, &usp[2]); in insert_restart_trampoline() 538 err |= put_user(regs->gr[31], &usp[0]); in insert_restart_trampoline() 539 err |= put_user(0x0fc0109f, &usp[2]); in insert_restart_trampoline() 541 err |= put_user(0xe0008200, &usp[3]); in insert_restart_trampoline() 542 err |= put_user(0x34140000, &usp[4]); in insert_restart_trampoline()
|
/arch/sh/include/asm/ |
D | futex-irq.h | 17 ret = put_user(newval, uaddr); in atomic_futex_op_cmpxchg_inatomic()
|
/arch/m68k/kernel/ |
D | ptrace.c | 195 ret = put_user(tmp, datap); in arch_ptrace() 227 ret = put_user(tmp, datap); in arch_ptrace() 261 ret = put_user(task_thread_info(child)->tp_value, datap); in arch_ptrace()
|
/arch/nios2/include/asm/ |
D | uaccess.h | 170 #define put_user(x, ptr) \ macro 198 #define __put_user(x, ptr) put_user(x, ptr)
|
/arch/x86/kernel/cpu/mtrr/ |
D | if.c | 327 err = put_user(gentry.base, &g32->base); in mtrr_ioctl() 328 err |= put_user(gentry.size, &g32->size); in mtrr_ioctl() 329 err |= put_user(gentry.regnum, &g32->regnum); in mtrr_ioctl() 330 err |= put_user(gentry.type, &g32->type); in mtrr_ioctl()
|
/arch/arm64/kvm/ |
D | psci.c | 423 if (put_user(KVM_REG_ARM_PSCI_VERSION, uindices++)) in kvm_arm_copy_fw_reg_indices() 426 if (put_user(KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_1, uindices++)) in kvm_arm_copy_fw_reg_indices() 429 if (put_user(KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_2, uindices++)) in kvm_arm_copy_fw_reg_indices() 432 if (put_user(KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_3, uindices++)) in kvm_arm_copy_fw_reg_indices()
|
D | guest.c | 571 if (put_user(reg, uindices)) in copy_core_reg_indices() 606 if (put_user(KVM_REG_ARM_TIMER_CTL, uindices)) in copy_timer_indices() 609 if (put_user(KVM_REG_ARM_TIMER_CNT, uindices)) in copy_timer_indices() 612 if (put_user(KVM_REG_ARM_TIMER_CVAL, uindices)) in copy_timer_indices() 673 if (put_user(reg, uindices++)) in copy_sve_reg_indices() 680 if (put_user(reg, uindices++)) in copy_sve_reg_indices() 687 if (put_user(reg, uindices++)) in copy_sve_reg_indices() 693 if (put_user(reg, uindices++)) in copy_sve_reg_indices()
|
/arch/arc/kernel/ |
D | arc_hostlink.c | 35 put_user((unsigned int)__HOSTLINK__, (int __user *)arg); in arc_hl_ioctl()
|
/arch/x86/kernel/cpu/mce/ |
D | dev-mcelog.c | 265 return put_user(sizeof(struct mce), p); in mce_chrdev_ioctl() 267 return put_user(mcelog->len, p); in mce_chrdev_ioctl() 275 return put_user(flags, p); in mce_chrdev_ioctl()
|