put_user 108 arch/alpha/include/asm/thread_info.h put_user(res, (int __user *)(value)); \ put_user 129 arch/alpha/kernel/osf_sys.c if (put_user(offset, buf->basep)) put_user 134 arch/alpha/kernel/osf_sys.c if (put_user(d_ino, &dirent->d_ino) || put_user 135 arch/alpha/kernel/osf_sys.c put_user(namlen, &dirent->d_namlen) || put_user 136 arch/alpha/kernel/osf_sys.c put_user(reclen, &dirent->d_reclen) || put_user 138 arch/alpha/kernel/osf_sys.c put_user(0, dirent->d_name + namlen)) put_user 665 arch/alpha/kernel/osf_sys.c error = put_user(0, min_buf_size_ptr); put_user 671 arch/alpha/kernel/osf_sys.c error = put_user(0, min_buf_size_ptr); put_user 714 arch/alpha/kernel/osf_sys.c if (put_user(oss_sp, &uoss->ss_sp) || put_user 715 arch/alpha/kernel/osf_sys.c put_user(oss_os, &uoss->ss_onstack)) put_user 774 arch/alpha/kernel/osf_sys.c if (put_user(w, (unsigned long __user *) buffer)) put_user 790 arch/alpha/kernel/osf_sys.c if (put_user(w, (unsigned int __user *)buffer)) put_user 800 arch/alpha/kernel/osf_sys.c if (put_user(w, (unsigned long __user*)buffer)) put_user 1273 arch/alpha/kernel/osf_sys.c (put_user(txc.time.tv_sec, &txc_p->time.tv_sec)) || put_user 1274 arch/alpha/kernel/osf_sys.c (put_user(txc.time.tv_usec, &txc_p->time.tv_usec))) put_user 1357 arch/alpha/kernel/osf_sys.c if (put_user(0, iov_len_high)) put_user 122 arch/alpha/kernel/rtc.c return put_user(rtc_epoch, (unsigned long __user *)arg); put_user 35 arch/arc/kernel/arc_hostlink.c put_user((unsigned int)__HOSTLINK__, (int __user *)arg); put_user 280 arch/arc/kernel/ptrace.c ret = put_user(task_thread_info(child)->thr_ptr, put_user 411 arch/arm/include/asm/uaccess.h #define __put_user(x, ptr) put_user(x, ptr) put_user 271 arch/arm/kernel/ptrace.c return put_user(tmp, ret); put_user 497 arch/arm/kernel/ptrace.c if (put_user(reg, data)) put_user 838 arch/arm/kernel/ptrace.c ret = put_user(task_thread_info(child)->tp_value[0], put_user 435 arch/arm/kernel/sys_oabi-compat.c put_user(110, &msg->msg_namelen); put_user 1004 arch/arm/kvm/coproc.c return put_user(get_ccsidr(val), uval); put_user 1071 arch/arm/kvm/coproc.c if (put_user((u64reg | KVM_REG_ARM_VFP_BASE_REG) + i, put_user 1078 arch/arm/kvm/coproc.c if (put_user(u32reg | vfp_sysregs[i], uindices)) put_user 1284 arch/arm/kvm/coproc.c if (put_user(val | i, uindices)) put_user 1320 arch/arm/kvm/coproc.c if (put_user(cp15_to_index(reg), *uind)) put_user 1385 arch/arm/kvm/coproc.c if (put_user(cp15_to_index(&invariant_cp15[i]), uindices)) put_user 57 arch/arm/kvm/guest.c return put_user(((u32 *)regs)[off], uaddr); put_user 121 arch/arm/kvm/guest.c if (put_user(KVM_REG_ARM_TIMER_CTL, uindices)) put_user 124 arch/arm/kvm/guest.c if (put_user(KVM_REG_ARM_TIMER_CNT, uindices)) put_user 127 arch/arm/kvm/guest.c if (put_user(KVM_REG_ARM_TIMER_CVAL, uindices)) put_user 184 arch/arm/kvm/guest.c if (put_user(core_reg | i, uindices)) put_user 114 arch/arm/nwfpe/fpa11_cpdt.c put_user(val.i[0], pMem); put_user 141 arch/arm/nwfpe/fpa11_cpdt.c put_user(val.i[0], &pMem[0]); /* msw */ put_user 142 arch/arm/nwfpe/fpa11_cpdt.c put_user(val.i[1], &pMem[1]); /* lsw */ put_user 144 arch/arm/nwfpe/fpa11_cpdt.c put_user(val.i[1], &pMem[0]); /* msw */ put_user 145 arch/arm/nwfpe/fpa11_cpdt.c put_user(val.i[0], &pMem[1]); /* lsw */ put_user 171 arch/arm/nwfpe/fpa11_cpdt.c put_user(val.i[0], &pMem[0]); /* sign & exp */ put_user 173 arch/arm/nwfpe/fpa11_cpdt.c put_user(val.i[1], &pMem[1]); /* msw */ put_user 174 arch/arm/nwfpe/fpa11_cpdt.c put_user(val.i[2], &pMem[2]); put_user 176 arch/arm/nwfpe/fpa11_cpdt.c put_user(val.i[1], &pMem[2]); put_user 177 arch/arm/nwfpe/fpa11_cpdt.c put_user(val.i[2], &pMem[1]); /* msw */ put_user 194 arch/arm/nwfpe/fpa11_cpdt.c put_user(p[0], &pMem[2]); /* single */ put_user 195 arch/arm/nwfpe/fpa11_cpdt.c put_user(p[1], &pMem[1]); /* double msw */ put_user 196 arch/arm/nwfpe/fpa11_cpdt.c put_user(nType << 14, &pMem[0]); put_user 203 arch/arm/nwfpe/fpa11_cpdt.c put_user(p[2], &pMem[1]); /* msw */ put_user 204 arch/arm/nwfpe/fpa11_cpdt.c put_user(p[1], &pMem[2]); put_user 205 arch/arm/nwfpe/fpa11_cpdt.c put_user((p[0] & 0x80003fff) | (nType << 14), &pMem[0]); put_user 1553 arch/arm64/kernel/ptrace.c return put_user(tmp, ret); put_user 1674 arch/arm64/kernel/ptrace.c ret = put_user(kdata, data); put_user 1735 arch/arm64/kernel/ptrace.c ret = put_user((compat_ulong_t)child->thread.uw.tp_value, put_user 485 arch/arm64/kvm/guest.c if (put_user(reg, uindices)) put_user 520 arch/arm64/kvm/guest.c if (put_user(KVM_REG_ARM_TIMER_CTL, uindices)) put_user 523 arch/arm64/kvm/guest.c if (put_user(KVM_REG_ARM_TIMER_CNT, uindices)) put_user 526 arch/arm64/kvm/guest.c if (put_user(KVM_REG_ARM_TIMER_CVAL, uindices)) put_user 587 arch/arm64/kvm/guest.c if (put_user(reg, uindices++)) put_user 594 arch/arm64/kvm/guest.c if (put_user(reg, uindices++)) put_user 601 arch/arm64/kvm/guest.c if (put_user(reg, uindices++)) put_user 607 arch/arm64/kvm/guest.c if (put_user(reg, uindices++)) put_user 2513 arch/arm64/kvm/sys_regs.c return put_user(get_ccsidr(val), uval); put_user 2620 arch/arm64/kvm/sys_regs.c if (put_user(val | i, uindices)) put_user 2643 arch/arm64/kvm/sys_regs.c if (put_user(sys_reg_to_index(reg), *uind)) put_user 2722 arch/arm64/kvm/sys_regs.c if (put_user(sys_reg_to_index(&invariant_sys_regs[i]), uindices)) put_user 258 arch/ia64/include/asm/processor.h put_user(((task)->thread.flags & IA64_THREAD_UAC_MASK) >> IA64_THREAD_UAC_SHIFT, \ put_user 270 arch/ia64/include/asm/processor.h put_user(((task)->thread.flags & IA64_THREAD_FPEMU_MASK) >> IA64_THREAD_FPEMU_SHIFT, \ put_user 45 arch/ia64/include/asm/termios.h put_user((termios)->c_iflag, &(termio)->c_iflag); \ put_user 46 arch/ia64/include/asm/termios.h put_user((termios)->c_oflag, &(termio)->c_oflag); \ put_user 47 arch/ia64/include/asm/termios.h put_user((termios)->c_cflag, &(termio)->c_cflag); \ put_user 48 arch/ia64/include/asm/termios.h put_user((termios)->c_lflag, &(termio)->c_lflag); \ put_user 49 arch/ia64/include/asm/termios.h put_user((termios)->c_line, &(termio)->c_line); \ put_user 54 arch/m68k/include/asm/uaccess_no.h #define __put_user(x, ptr) put_user(x, ptr) put_user 196 arch/m68k/kernel/ptrace.c ret = put_user(tmp, datap); put_user 228 arch/m68k/kernel/ptrace.c ret = put_user(tmp, datap); put_user 262 arch/m68k/kernel/ptrace.c ret = put_user(task_thread_info(child)->tp_value, datap); put_user 212 arch/m68k/kernel/traps.c res = put_user(wbd & 0xff, (char __user *)wba); put_user 215 arch/m68k/kernel/traps.c res = put_user(wbd & 0xffff, (short __user *)wba); put_user 218 arch/m68k/kernel/traps.c res = put_user(wbd, (int __user *)wba); put_user 128 arch/microblaze/kernel/ptrace.c rval = put_user(val, (unsigned long __user *)data); put_user 1270 arch/mips/kernel/ptrace.c ret = put_user(tmp, datalp); put_user 1379 arch/mips/kernel/ptrace.c ret = put_user(task_thread_info(child)->tp_value, datalp); put_user 78 arch/mips/kernel/ptrace32.c ret = put_user(tmp, (u32 __user *) (unsigned long) data); put_user 165 arch/mips/kernel/ptrace32.c ret = put_user(tmp, (unsigned __user *) (unsigned long) data); put_user 293 arch/mips/kernel/ptrace32.c ret = put_user(task_thread_info(child)->tp_value, put_user 298 arch/mips/kernel/ptrace32.c ret = put_user(task_thread_info(child)->tp_value, put_user 593 arch/mips/kernel/traps.c if (put_user(regs->regs[reg], vaddr)) put_user 39 arch/mips/kvm/dyntrans.c err = put_user(replace.word, opc); put_user 741 arch/mips/kvm/mips.c return put_user(v, uaddr64); put_user 746 arch/mips/kvm/mips.c return put_user(v32, uaddr32); put_user 128 arch/mips/lasat/sysctl.c if (put_user('\n', ((char *) buffer) + len)) put_user 1509 arch/mips/math-emu/cp1emu.c if (put_user(val, va)) { put_user 515 arch/mips/sibyte/common/sb_tbprof.c err = put_user(TB_FULL, (int *) arg); put_user 193 arch/nios2/include/asm/uaccess.h #define __put_user(x, ptr) put_user(x, ptr) put_user 419 arch/openrisc/kernel/traps.c if (put_user(regs->gpr[rb], vaddr)) { put_user 72 arch/parisc/include/asm/futex.h if (ret == 0 && unlikely(put_user(tmp, uaddr) != 0)) put_user 113 arch/parisc/include/asm/futex.h if (val == oldval && unlikely(put_user(newval, uaddr) != 0)) { put_user 141 arch/parisc/include/asm/processor.h put_user(((task)->thread.flags & PARISC_UAC_MASK) \ put_user 39 arch/parisc/include/asm/termios.h put_user((termios)->c_iflag, &(termio)->c_iflag); \ put_user 40 arch/parisc/include/asm/termios.h put_user((termios)->c_oflag, &(termio)->c_oflag); \ put_user 41 arch/parisc/include/asm/termios.h put_user((termios)->c_cflag, &(termio)->c_cflag); \ put_user 42 arch/parisc/include/asm/termios.h put_user((termios)->c_lflag, &(termio)->c_lflag); \ put_user 43 arch/parisc/include/asm/termios.h put_user((termios)->c_line, &(termio)->c_line); \ put_user 458 arch/parisc/kernel/perf.c error = put_user(PERF_VERSION, (int *)arg); put_user 140 arch/parisc/kernel/ptrace.c ret = put_user(tmp, datap); put_user 264 arch/parisc/kernel/ptrace.c ret = put_user(tmp, (compat_uint_t *) (unsigned long) data); put_user 537 arch/parisc/kernel/signal.c err |= put_user(regs->gr[31] >> 32, &usp[0]); put_user 538 arch/parisc/kernel/signal.c err |= put_user(regs->gr[31] & 0xffffffff, &usp[1]); put_user 539 arch/parisc/kernel/signal.c err |= put_user(0x0fc010df, &usp[2]); put_user 541 arch/parisc/kernel/signal.c err |= put_user(regs->gr[31], &usp[0]); put_user 542 arch/parisc/kernel/signal.c err |= put_user(0x0fc0109f, &usp[2]); put_user 544 arch/parisc/kernel/signal.c err |= put_user(0xe0008200, &usp[3]); put_user 545 arch/parisc/kernel/signal.c err |= put_user(0x34140000, &usp[4]); put_user 1898 arch/powerpc/kernel/process.c return put_user(val, (unsigned int __user *) adr); put_user 1942 arch/powerpc/kernel/process.c return put_user(val, (unsigned int __user *)adr); put_user 1953 arch/powerpc/kernel/process.c return put_user(tsk->thread.align_ctl, (unsigned int __user *)adr); put_user 3022 arch/powerpc/kernel/ptrace.c ret = put_user(tmp, datalp); put_user 3127 arch/powerpc/kernel/ptrace.c ret = put_user(child->thread.debug.dac1, datalp); put_user 3131 arch/powerpc/kernel/ptrace.c ret = put_user(dabr_fake, datalp); put_user 80 arch/powerpc/kernel/ptrace32.c ret = put_user(tmp, (u32 __user *)data); put_user 110 arch/powerpc/kernel/ptrace32.c ret = put_user((unsigned int)tmp, (u32 __user *)data); put_user 158 arch/powerpc/kernel/ptrace32.c ret = put_user(reg32bits, (u32 __user *)data); put_user 270 arch/powerpc/kernel/ptrace32.c ret = put_user(child->thread.debug.dac1, (u32 __user *)data); put_user 275 arch/powerpc/kernel/ptrace32.c ret = put_user(dabr_fake, (u32 __user *)data); put_user 967 arch/powerpc/kernel/signal_32.c if (put_user(regs->gpr[1], (u32 __user *)newsp)) put_user 1423 arch/powerpc/kernel/signal_32.c if (put_user(regs->gpr[1], (u32 __user *)newsp)) put_user 880 arch/powerpc/kernel/signal_64.c err |= put_user(regs->gpr[1], (unsigned long __user *)newsp); put_user 1254 arch/powerpc/kernel/traps.c if (put_user(val, (u8 __user *)EA)) put_user 269 arch/powerpc/kvm/book3s_32_mmu.c put_user(pte_r >> 8, addr + 2); put_user 273 arch/powerpc/kvm/book3s_32_mmu.c put_user(pte_r, addr + 3); put_user 353 arch/powerpc/kvm/book3s_64_mmu.c put_user(r >> 8, addr + 6); put_user 360 arch/powerpc/kvm/book3s_64_mmu.c put_user(r, addr + 7); put_user 1229 arch/powerpc/kvm/book3s_xics.c if (!ret && put_user(val, ubufp)) put_user 1571 arch/powerpc/kvm/book3s_xive.c if (put_user(val, ubufp)) put_user 1586 arch/powerpc/kvm/mpic.c if (put_user(attr32, (u32 __user *)(long)attr->addr)) put_user 1599 arch/powerpc/kvm/mpic.c if (put_user(attr32, (u32 __user *)(long)attr->addr)) put_user 569 arch/powerpc/platforms/52xx/mpc52xx_gpt.c ret = put_user(0, data); put_user 597 arch/powerpc/platforms/52xx/mpc52xx_gpt.c ret = put_user(timeout, data); put_user 54 arch/powerpc/platforms/cell/spufs/syscalls.c if (put_user(npc, unpc)) put_user 57 arch/powerpc/platforms/cell/spufs/syscalls.c if (ustatus && put_user(status, ustatus)) put_user 105 arch/powerpc/platforms/powernv/opal-xscom.c rc = put_user(val, ubuf64); put_user 295 arch/s390/kernel/ptrace.c return put_user(tmp, (addr_t __user *) data); put_user 480 arch/s390/kernel/ptrace.c put_user(child->thread.last_break, put_user 663 arch/s390/kernel/ptrace.c return put_user(tmp, (__u32 __user *) data); put_user 830 arch/s390/kernel/ptrace.c put_user(child->thread.last_break, put_user 507 arch/s390/kernel/sthyi.c if (return_code && put_user(sthyi_rc, return_code)) { put_user 200 arch/s390/kernel/uprobes.c else if (put_user(*(input), __ptr)) \ put_user 801 arch/s390/kvm/kvm-s390.c if (put_user(kvm->arch.mem_limit, (u64 __user *)attr->addr)) put_user 3199 arch/s390/kvm/kvm-s390.c r = put_user(vcpu->arch.sie_block->todpr, put_user 3203 arch/s390/kvm/kvm-s390.c r = put_user(vcpu->arch.sie_block->epoch, put_user 3207 arch/s390/kvm/kvm-s390.c r = put_user(kvm_s390_get_cpu_timer(vcpu), put_user 3211 arch/s390/kvm/kvm-s390.c r = put_user(vcpu->arch.sie_block->ckc, put_user 3215 arch/s390/kvm/kvm-s390.c r = put_user(vcpu->arch.pfault_token, put_user 3219 arch/s390/kvm/kvm-s390.c r = put_user(vcpu->arch.pfault_compare, put_user 3223 arch/s390/kvm/kvm-s390.c r = put_user(vcpu->arch.pfault_select, put_user 3227 arch/s390/kvm/kvm-s390.c r = put_user(vcpu->arch.sie_block->pp, put_user 3231 arch/s390/kvm/kvm-s390.c r = put_user(vcpu->arch.sie_block->gbea, put_user 618 arch/s390/pci/pci_clp.c return put_user(exists, (int __user *) uptr); put_user 621 arch/s390/pci/pci_clp.c return put_user(ilp, (unsigned long __user *) uptr); put_user 17 arch/sh/include/asm/futex-irq.h ret = put_user(newval, uaddr); put_user 414 arch/sh/kernel/ptrace_32.c ret = put_user(tmp, datap); put_user 414 arch/sh/kernel/ptrace_64.c ret = put_user(tmp, datap); put_user 54 arch/sh/math-emu/math.c #define WRITE(d,a) ({if(put_user(d, (typeof (d)*)a)) return -EFAULT;}) put_user 85 arch/sh/mm/alignment.c return put_user(tsk->thread.flags & SH_THREAD_UAC_MASK, put_user 54 arch/sparc/include/asm/termios.h err = put_user((termios)->c_iflag, &(termio)->c_iflag); \ put_user 55 arch/sparc/include/asm/termios.h err |= put_user((termios)->c_oflag, &(termio)->c_oflag); \ put_user 56 arch/sparc/include/asm/termios.h err |= put_user((termios)->c_cflag, &(termio)->c_cflag); \ put_user 57 arch/sparc/include/asm/termios.h err |= put_user((termios)->c_lflag, &(termio)->c_lflag); \ put_user 58 arch/sparc/include/asm/termios.h err |= put_user((termios)->c_line, &(termio)->c_line); \ put_user 61 arch/sparc/include/asm/termios.h err |= put_user((termios)->c_cc[VMIN], &(termio)->c_cc[_VMIN]); \ put_user 62 arch/sparc/include/asm/termios.h err |= put_user((termios)->c_cc[VTIME], &(termio)->c_cc[_VTIME]); \ put_user 91 arch/sparc/include/asm/termios.h err = put_user((k)->c_iflag, &(u)->c_iflag); \ put_user 92 arch/sparc/include/asm/termios.h err |= put_user((k)->c_oflag, &(u)->c_oflag); \ put_user 93 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cflag, &(u)->c_cflag); \ put_user 94 arch/sparc/include/asm/termios.h err |= put_user((k)->c_lflag, &(u)->c_lflag); \ put_user 95 arch/sparc/include/asm/termios.h err |= put_user((k)->c_line, &(u)->c_line); \ put_user 98 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cc[VMIN], &(u)->c_cc[_VMIN]); \ put_user 99 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cc[VTIME], &(u)->c_cc[_VTIME]); \ put_user 101 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cc[VEOF], &(u)->c_cc[VEOF]); \ put_user 102 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cc[VEOL], &(u)->c_cc[VEOL]); \ put_user 104 arch/sparc/include/asm/termios.h err |= put_user((k)->c_ispeed, &(u)->c_ispeed); \ put_user 105 arch/sparc/include/asm/termios.h err |= put_user((k)->c_ospeed, &(u)->c_ospeed); \ put_user 131 arch/sparc/include/asm/termios.h err = put_user((k)->c_iflag, &(u)->c_iflag); \ put_user 132 arch/sparc/include/asm/termios.h err |= put_user((k)->c_oflag, &(u)->c_oflag); \ put_user 133 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cflag, &(u)->c_cflag); \ put_user 134 arch/sparc/include/asm/termios.h err |= put_user((k)->c_lflag, &(u)->c_lflag); \ put_user 135 arch/sparc/include/asm/termios.h err |= put_user((k)->c_line, &(u)->c_line); \ put_user 138 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cc[VMIN], &(u)->c_cc[_VMIN]); \ put_user 139 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cc[VTIME], &(u)->c_cc[_VTIME]); \ put_user 141 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cc[VEOF], &(u)->c_cc[VEOF]); \ put_user 142 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cc[VEOL], &(u)->c_cc[VEOL]); \ put_user 98 arch/sparc/include/asm/uaccess_64.h #define __put_user(x, ptr) put_user(x, ptr) put_user 95 arch/sparc/kernel/apc.c if (put_user(apc_readb(APC_FANCTL_REG) & APC_REGMASK, arg)) put_user 100 arch/sparc/kernel/apc.c if (put_user(apc_readb(APC_CPOWER_REG) & APC_REGMASK, arg)) put_user 105 arch/sparc/kernel/apc.c if (put_user(apc_readb(APC_BPORT_REG) & APC_BPMASK, arg)) put_user 255 arch/sparc/kernel/process_32.c else if (put_user(fp, &sp->fp)) put_user 465 arch/sparc/kernel/process_64.c if (put_user(((u32)csp), put_user 469 arch/sparc/kernel/process_64.c if (put_user(((u64)csp - STACK_BIAS), put_user 78 arch/sparc/kernel/ptrace_32.c if (put_user(regs->u_regs[pos++], u++)) put_user 86 arch/sparc/kernel/ptrace_32.c put_user(reg, u++)) put_user 114 arch/sparc/kernel/ptrace_32.c else if (put_user(reg, u++)) put_user 151 arch/sparc/kernel/ptrace_32.c if (put_user(*k++, ®_window[pos++])) put_user 165 arch/sparc/kernel/ptrace_32.c put_user(reg, ®_window[pos++])) put_user 559 arch/sparc/kernel/ptrace_64.c if (put_user((compat_ulong_t) regs->u_regs[pos++], u++)) put_user 568 arch/sparc/kernel/ptrace_64.c put_user(reg, u++)) put_user 615 arch/sparc/kernel/ptrace_64.c else if (put_user(reg, u++)) put_user 653 arch/sparc/kernel/ptrace_64.c if (put_user(*k++, ®_window[pos++])) put_user 682 arch/sparc/kernel/ptrace_64.c put_user(reg, ®_window[pos++])) put_user 389 arch/sparc/kernel/signal32.c err = put_user(regs->tpc, &sf->info.si_regs.pc); put_user 523 arch/sparc/kernel/signal32.c err = put_user(regs->tpc, &sf->regs.pc); put_user 713 arch/sparc/kernel/signal32.c if (put_user(current->sas_ss_sp + current->sas_ss_size, put_user 542 arch/sparc/kernel/signal_32.c if (put_user(current->sas_ss_sp + current->sas_ss_size, put_user 70 arch/sparc/kernel/sys_sparc32.c err = put_user(huge_encode_dev(stat->dev), &statbuf->st_dev); put_user 71 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->ino, &statbuf->st_ino); put_user 72 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->mode, &statbuf->st_mode); put_user 73 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->nlink, &statbuf->st_nlink); put_user 74 arch/sparc/kernel/sys_sparc32.c err |= put_user(from_kuid_munged(current_user_ns(), stat->uid), &statbuf->st_uid); put_user 75 arch/sparc/kernel/sys_sparc32.c err |= put_user(from_kgid_munged(current_user_ns(), stat->gid), &statbuf->st_gid); put_user 76 arch/sparc/kernel/sys_sparc32.c err |= put_user(huge_encode_dev(stat->rdev), &statbuf->st_rdev); put_user 77 arch/sparc/kernel/sys_sparc32.c err |= put_user(0, (unsigned long __user *) &statbuf->__pad3[0]); put_user 78 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->size, &statbuf->st_size); put_user 79 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->blksize, &statbuf->st_blksize); put_user 80 arch/sparc/kernel/sys_sparc32.c err |= put_user(0, (unsigned int __user *) &statbuf->__pad4[0]); put_user 81 arch/sparc/kernel/sys_sparc32.c err |= put_user(0, (unsigned int __user *) &statbuf->__pad4[4]); put_user 82 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->blocks, &statbuf->st_blocks); put_user 83 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->atime.tv_sec, &statbuf->st_atime); put_user 84 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->atime.tv_nsec, &statbuf->st_atime_nsec); put_user 85 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->mtime.tv_sec, &statbuf->st_mtime); put_user 86 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->mtime.tv_nsec, &statbuf->st_mtime_nsec); put_user 87 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->ctime.tv_sec, &statbuf->st_ctime); put_user 88 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->ctime.tv_nsec, &statbuf->st_ctime_nsec); put_user 89 arch/sparc/kernel/sys_sparc32.c err |= put_user(0, &statbuf->__unused4); put_user 90 arch/sparc/kernel/sys_sparc32.c err |= put_user(0, &statbuf->__unused5); put_user 179 arch/sparc/kernel/sys_sparc32.c ret = put_user(ptr_to_compat(old_ka.sa.sa_handler), &oact->sa_handler); put_user 182 arch/sparc/kernel/sys_sparc32.c ret |= put_user(old_ka.sa.sa_flags, &oact->sa_flags); put_user 183 arch/sparc/kernel/sys_sparc32.c ret |= put_user(ptr_to_compat(old_ka.sa.sa_restorer), &oact->sa_restorer); put_user 395 arch/sparc/kernel/sys_sparc_64.c if (put_user(raddr, put_user 617 arch/sparc/kernel/sys_sparc_64.c if (put_user(NULL, old_p)) put_user 620 arch/sparc/kernel/sys_sparc_64.c if (put_user((utrap_handler_t)(current_thread_info()->utraps[type]), old_p)) put_user 625 arch/sparc/kernel/sys_sparc_64.c if (put_user(NULL, old_d)) put_user 657 arch/sparc/kernel/sys_sparc_64.c if (put_user((utrap_handler_t)(current_thread_info()->utraps[type]), old_p)) put_user 661 arch/sparc/kernel/sys_sparc_64.c if (put_user(NULL, old_d)) put_user 420 arch/sparc/kernel/unaligned_64.c put_user(ret, &win32->locals[rd - 16]); put_user 424 arch/sparc/kernel/unaligned_64.c put_user(ret, &win->locals[rd - 16]); put_user 488 arch/sparc/kernel/unaligned_64.c if (put_user (first >> 32, (u32 __user *)addr) || put_user 585 arch/sparc/kernel/unaligned_64.c put_user(0, (int __user *) reg); put_user 587 arch/sparc/kernel/unaligned_64.c put_user(0, ((int __user *) reg) + 1); put_user 589 arch/sparc/kernel/unaligned_64.c put_user(0, (unsigned long __user *) reg); put_user 591 arch/sparc/kernel/unaligned_64.c put_user(0, (unsigned long __user *) reg + 1); put_user 695 arch/sparc/kernel/unaligned_64.c if (put_user (value >> 32, (u32 __user *) sfar) || put_user 146 arch/um/drivers/harddog_kern.c return put_user(0,(int __user *)argp); put_user 167 arch/um/drivers/hostaudio_kern.c if (put_user(data, (int __user *) arg)) put_user 59 arch/um/drivers/random.c if (put_user((u8) data, buf++)) { put_user 70 arch/unicore32/kernel/ptrace.c return put_user(tmp, ret); put_user 101 arch/unicore32/kernel/ptrace.c ret = put_user(task_pt_regs(child)->UCreg_16, put_user 382 arch/unicore32/kernel/signal.c if (put_user(regs->UCreg_pc, usp) == 0) { put_user 74 arch/x86/ia32/ia32_aout.c put_user((unsigned long) envp, --sp); put_user 75 arch/x86/ia32/ia32_aout.c put_user((unsigned long) argv, --sp); put_user 76 arch/x86/ia32/ia32_aout.c put_user(argc, --sp); put_user 81 arch/x86/ia32/ia32_aout.c put_user((u32)(unsigned long)p, argv++); put_user 86 arch/x86/ia32/ia32_aout.c put_user(0, argv); put_user 91 arch/x86/ia32/ia32_aout.c put_user((u32)(unsigned long)p, envp++); put_user 96 arch/x86/ia32/ia32_aout.c put_user(0, envp); put_user 262 arch/x86/kernel/cpu/mce/dev-mcelog.c return put_user(sizeof(struct mce), p); put_user 264 arch/x86/kernel/cpu/mce/dev-mcelog.c return put_user(MCE_LOG_LEN, p); put_user 272 arch/x86/kernel/cpu/mce/dev-mcelog.c return put_user(flags, p); put_user 346 arch/x86/kernel/cpu/mtrr/if.c err = put_user(gentry.base, &g32->base); put_user 347 arch/x86/kernel/cpu/mtrr/if.c err |= put_user(gentry.size, &g32->size); put_user 348 arch/x86/kernel/cpu/mtrr/if.c err |= put_user(gentry.regnum, &g32->regnum); put_user 349 arch/x86/kernel/cpu/mtrr/if.c err |= put_user(gentry.type, &g32->type); put_user 178 arch/x86/kernel/process.c return put_user(val, (unsigned int __user *)adr); put_user 768 arch/x86/kernel/process_64.c ret = put_user(base, (unsigned long __user *)arg2); put_user 774 arch/x86/kernel/process_64.c ret = put_user(base, (unsigned long __user *)arg2); put_user 753 arch/x86/kernel/ptrace.c ret = put_user(tmp, datap); put_user 1057 arch/x86/kernel/ptrace.c ret = put_user(val, (__u32 __user *)datap); put_user 1140 arch/x86/kernel/ptrace.c ret = put_user(tmp, (__u32 __user *)datap); put_user 138 arch/x86/kernel/tls.c if (put_user(idx, &u_info->entry_number)) put_user 461 arch/x86/kernel/vm86_32.c if (put_user(__val, base + ptr) < 0) \ put_user 469 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 1), base + ptr) < 0) \ put_user 472 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 0), base + ptr) < 0) \ put_user 480 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 3), base + ptr) < 0) \ put_user 483 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 2), base + ptr) < 0) \ put_user 486 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 1), base + ptr) < 0) \ put_user 489 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 0), base + ptr) < 0) \ put_user 4483 arch/x86/kvm/x86.c if (put_user(r, &user_kvm_nested_state->size)) put_user 128 arch/x86/math-emu/fpu_system.h #define FPU_put_user(x,y) do { if (put_user((x),(y))) FPU_abort; } while (0) put_user 193 arch/x86/um/ptrace_32.c return put_user(tmp, (unsigned long __user *) data); put_user 198 arch/x86/um/ptrace_64.c return put_user(tmp, (unsigned long *) data); put_user 68 arch/x86/um/syscalls_64.c ret = put_user(tmp, arg2); put_user 71 arch/x86/um/syscalls_64.c ret = put_user(tmp, arg2); put_user 296 arch/x86/um/tls_32.c if (put_user(idx, &user_desc->entry_number)) put_user 256 arch/xtensa/kernel/process.c put_user(regs->areg[caller_ars+1], put_user 333 arch/xtensa/kernel/ptrace.c return put_user(tmp, ret); put_user 329 block/bsg.c return put_user(bd->max_queue, uarg); put_user 17 block/compat_ioctl.c return put_user(val, (unsigned short __user *)compat_ptr(arg)); put_user 22 block/compat_ioctl.c return put_user(val, (compat_int_t __user *)compat_ptr(arg)); put_user 27 block/compat_ioctl.c return put_user(val, (compat_uint_t __user *)compat_ptr(arg)); put_user 32 block/compat_ioctl.c return put_user(val, (compat_long_t __user *)compat_ptr(arg)); put_user 37 block/compat_ioctl.c return put_user(val, (compat_ulong_t __user *)compat_ptr(arg)); put_user 42 block/compat_ioctl.c return put_user(val, (compat_u64 __user *)compat_ptr(arg)); put_user 74 block/compat_ioctl.c ret |= put_user(geo.start, &ugeo->start); put_user 93 block/compat_ioctl.c if (get_user(v, p) || put_user(v, uvp)) put_user 138 block/compat_ioctl.c if (put_user(datap, &cdread_audio->buf)) put_user 159 block/compat_ioctl.c put_user(compat_ptr(data), &cgc->buffer) || put_user 163 block/compat_ioctl.c put_user(compat_ptr(data), &cgc->sense) || put_user 165 block/compat_ioctl.c put_user(dir, &cgc->data_direction) || put_user 167 block/compat_ioctl.c put_user(itmp, &cgc->quiet) || put_user 169 block/compat_ioctl.c put_user(itmp, &cgc->timeout) || put_user 171 block/compat_ioctl.c put_user(compat_ptr(data), &cgc->reserved[0])) put_user 193 block/compat_ioctl.c err |= put_user(n, &a->op); put_user 195 block/compat_ioctl.c err |= put_user(n, &a->flags); put_user 197 block/compat_ioctl.c err |= put_user(n, &a->datalen); put_user 199 block/compat_ioctl.c err |= put_user(compat_ptr(udata), &a->data); put_user 270 block/ioctl.c return put_user(val, (unsigned short __user *)arg); put_user 275 block/ioctl.c return put_user(val, (int __user *)arg); put_user 280 block/ioctl.c return put_user(val, (unsigned int __user *)arg); put_user 285 block/ioctl.c return put_user(val, (long __user *)arg); put_user 290 block/ioctl.c return put_user(val, (unsigned long __user *)arg); put_user 295 block/ioctl.c return put_user(val, (u64 __user *)arg); put_user 43 block/scsi_ioctl.c return put_user(sg_version_num, p); put_user 48 block/scsi_ioctl.c return put_user(0, p); put_user 53 block/scsi_ioctl.c return put_user(0, p); put_user 84 block/scsi_ioctl.c return put_user(val, p); put_user 107 block/scsi_ioctl.c return put_user(1, p); put_user 73 drivers/acpi/apei/erst-dbg.c rc = put_user(record_count, (u32 __user *)arg); put_user 53 drivers/acpi/ec_sys.c if (put_user(byte_read, buf + *off - init_off)) { put_user 4057 drivers/android/binder.c if (put_user(cmd, (uint32_t __user *)ptr)) put_user 4061 drivers/android/binder.c if (put_user(node_ptr, (binder_uintptr_t __user *)ptr)) put_user 4065 drivers/android/binder.c if (put_user(node_cookie, (binder_uintptr_t __user *)ptr)) put_user 4188 drivers/android/binder.c if (put_user(BR_NOOP, (uint32_t __user *)ptr)) put_user 4270 drivers/android/binder.c if (put_user(e->cmd, (uint32_t __user *)ptr)) put_user 4283 drivers/android/binder.c if (put_user(cmd, (uint32_t __user *)ptr)) put_user 4409 drivers/android/binder.c if (put_user(cmd, (uint32_t __user *)ptr)) put_user 4412 drivers/android/binder.c if (put_user(cookie, put_user 4484 drivers/android/binder.c if (put_user(cmd, (uint32_t __user *)ptr)) put_user 4504 drivers/android/binder.c if (put_user(cmd, (uint32_t __user *)ptr)) { put_user 4569 drivers/android/binder.c if (put_user(BR_SPAWN_LOOPER, (uint32_t __user *)buffer)) put_user 5073 drivers/android/binder.c if (put_user(BINDER_CURRENT_PROTOCOL_VERSION, put_user 776 drivers/ata/libata-scsi.c return put_user(val, (unsigned long __user *)arg); put_user 1893 drivers/atm/fore200e.c return put_user(0, (int __user *)arg) ? -EFAULT : 0; put_user 1899 drivers/atm/fore200e.c return put_user(fore200e->loop_mode, (int __user *)arg) ? -EFAULT : 0; put_user 1902 drivers/atm/fore200e.c return put_user(ATM_LM_LOC_PHY | ATM_LM_RMT_PHY, (int __user *)arg) ? -EFAULT : 0; put_user 201 drivers/atm/idt77105.c return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ? put_user 204 drivers/atm/idt77105.c return put_user(ATM_LM_LOC_ATM | ATM_LM_RMT_ATM, put_user 2778 drivers/atm/iphase.c if(put_user((u16)(readl(iadev->seg_reg+i) & 0xffff), tmps)) return -EFAULT; put_user 2786 drivers/atm/iphase.c if(put_user((u16)(readl(iadev->reass_reg+i) & 0xffff), tmps)) return -EFAULT; put_user 129 drivers/atm/suni.c return put_user(todo,(int __user *)arg) ? -EFAULT : 0; put_user 149 drivers/atm/suni.c return put_user(set,(int __user *)arg) ? -EFAULT : 0; put_user 237 drivers/atm/suni.c return put_user(framing, (int __user *) arg) ? -EFAULT : 0; put_user 281 drivers/atm/suni.c return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ? put_user 284 drivers/atm/suni.c return put_user(ATM_LM_LOC_PHY | ATM_LM_RMT_PHY, put_user 97 drivers/atm/uPD98402.c return (put_user(s[0], arg) || put_user(s[1], arg+1) || put_user 98 drivers/atm/uPD98402.c put_user(s[2], arg+2) || put_user(0xff, arg+3) || put_user 99 drivers/atm/uPD98402.c put_user(0xff, arg+4) || put_user(0xff, arg+5)) ? -EFAULT : 0; put_user 146 drivers/atm/uPD98402.c return put_user(PRIV(dev)->framing,(int __user *)arg) ? put_user 153 drivers/atm/uPD98402.c return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ? put_user 156 drivers/atm/uPD98402.c return put_user(ATM_LM_LOC_PHY | ATM_LM_LOC_ATM | put_user 1093 drivers/auxdisplay/panel.c put_user(keypad_buffer[keypad_start], tmp); put_user 3289 drivers/block/mtip32xx/mtip32xx.c if (put_user(req_task.out_size, &compat_req_task->out_size)) put_user 3292 drivers/block/mtip32xx/mtip32xx.c if (put_user(req_task.in_size, &compat_req_task->in_size)) put_user 681 drivers/block/rsxx/cregs.c st = put_user(cmd.stat, &ucmd->stat); put_user 153 drivers/block/sunvdc.c if (put_user(0, (char __user *)(argument + i))) put_user 505 drivers/block/xen-blkfront.c if (put_user(0, (char __user *)(argument + i))) put_user 277 drivers/char/ds1620.c if (put_user(therm.hi, uarg.i)) put_user 292 drivers/char/ds1620.c return put_user(i, uarg.i) ? -EFAULT : 0; put_user 297 drivers/char/ds1620.c return put_user(i, uarg.i) ? -EFAULT : 0; put_user 302 drivers/char/ds1620.c return put_user(i, uarg.i) ? -EFAULT : 0; put_user 202 drivers/char/dsp56k.c put_user(dsp56k_host_interface.data.b[3], buf+n++)); put_user 212 drivers/char/dsp56k.c put_user(dsp56k_host_interface.data.w[1], data+n++)); put_user 219 drivers/char/dsp56k.c put_user(dsp56k_host_interface.data.b[1], buf+n++); put_user 220 drivers/char/dsp56k.c put_user(dsp56k_host_interface.data.b[2], buf+n++); put_user 221 drivers/char/dsp56k.c put_user(dsp56k_host_interface.data.b[3], buf+n++)); put_user 231 drivers/char/dsp56k.c put_user(dsp56k_host_interface.data.l, data+n++)); put_user 383 drivers/char/dsp56k.c return put_user(status, &hf->status); put_user 143 drivers/char/dtlk.c if (put_user(ch, buf++)) put_user 290 drivers/char/dtlk.c return put_user(portval, argp); put_user 247 drivers/char/efirtc.c if ( put_user(enabled, &ewp->enabled) put_user 248 drivers/char/efirtc.c || put_user(pending, &ewp->pending)) return -EFAULT; put_user 332 drivers/char/hpet.c retval = put_user(data, (unsigned long __user *)buf); put_user 701 drivers/char/hpet.c if (put_user(info.hi_ireqfreq, &u->hi_ireqfreq) || put_user 702 drivers/char/hpet.c put_user(info.hi_flags, &u->hi_flags) || put_user 703 drivers/char/hpet.c put_user(info.hi_hpet, &u->hi_hpet) || put_user 704 drivers/char/hpet.c put_user(info.hi_timer, &u->hi_timer)) put_user 499 drivers/char/mwave/3780i.c if(put_user(val, pusBuffer++)) put_user 541 drivers/char/mwave/3780i.c if(put_user(val, pusBuffer++)) put_user 629 drivers/char/mwave/3780i.c if(put_user(val_lo, pusBuffer++)) put_user 631 drivers/char/mwave/3780i.c if(put_user(val_hi, pusBuffer++)) put_user 113 drivers/char/nsc_gpio.c if (put_user(value ? '1' : '0', buf)) put_user 84 drivers/char/pcmcia/synclink_cs.c #define PUT_USER(error,value,addr) error = put_user(value,addr) put_user 2113 drivers/char/random.c if (put_user(ent_count, p)) put_user 365 drivers/char/rtc.c retval = put_user(data, put_user 368 drivers/char/rtc.c retval = put_user(data, put_user 630 drivers/char/rtc.c return put_user(rtc_freq, (unsigned long __user *)arg); put_user 678 drivers/char/rtc.c return put_user(epoch, (unsigned long __user *)arg); put_user 916 drivers/char/sonypi.c if (put_user(c, buf++)) put_user 176 drivers/char/tb0219.c if (put_user(value, buf)) put_user 199 drivers/firmware/efi/test/efi_test.c if (put_user(status, getvariable.status)) { put_user 206 drivers/firmware/efi/test/efi_test.c if (dz && put_user(datasize, getvariable.data_size)) { put_user 227 drivers/firmware/efi/test/efi_test.c if (at && put_user(attr, getvariable.attributes)) { put_user 232 drivers/firmware/efi/test/efi_test.c if (dz && put_user(datasize, getvariable.data_size)) put_user 275 drivers/firmware/efi/test/efi_test.c if (put_user(status, setvariable.status)) { put_user 304 drivers/firmware/efi/test/efi_test.c if (put_user(status, gettime.status)) put_user 314 drivers/firmware/efi/test/efi_test.c if (put_user(cap.resolution, &(cap_local->resolution)) || put_user 315 drivers/firmware/efi/test/efi_test.c put_user(cap.accuracy, &(cap_local->accuracy)) || put_user 316 drivers/firmware/efi/test/efi_test.c put_user(cap.sets_to_zero, &(cap_local->sets_to_zero))) put_user 342 drivers/firmware/efi/test/efi_test.c if (put_user(status, settime.status)) put_user 366 drivers/firmware/efi/test/efi_test.c if (put_user(status, getwakeuptime.status)) put_user 372 drivers/firmware/efi/test/efi_test.c if (getwakeuptime.enabled && put_user(enabled, put_user 409 drivers/firmware/efi/test/efi_test.c if (put_user(status, setwakeuptime.status)) put_user 473 drivers/firmware/efi/test/efi_test.c if (put_user(status, getnextvariablename.status)) { put_user 480 drivers/firmware/efi/test/efi_test.c if (ns && put_user(*ns, put_user 499 drivers/firmware/efi/test/efi_test.c if (put_user(*ns, getnextvariablename.variable_name_size)) { put_user 534 drivers/firmware/efi/test/efi_test.c if (put_user(status, getnexthighmonocount.status)) put_user 541 drivers/firmware/efi/test/efi_test.c put_user(count, getnexthighmonocount.high_count)) put_user 587 drivers/firmware/efi/test/efi_test.c if (put_user(status, queryvariableinfo.status)) put_user 593 drivers/firmware/efi/test/efi_test.c if (put_user(max_storage, put_user 597 drivers/firmware/efi/test/efi_test.c if (put_user(remaining, put_user 601 drivers/firmware/efi/test/efi_test.c if (put_user(max_size, queryvariableinfo.maximum_variable_size)) put_user 655 drivers/firmware/efi/test/efi_test.c if (put_user(status, qcaps.status)) { put_user 665 drivers/firmware/efi/test/efi_test.c if (put_user(max_size, qcaps.maximum_capsule_size)) { put_user 670 drivers/firmware/efi/test/efi_test.c if (put_user(reset_type, qcaps.reset_type)) put_user 511 drivers/fsi/fsi-scom.c return put_user(SCOM_CHECK_SUPPORTED, (__u32 __user *)argp); put_user 167 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c r = put_user(value, (uint32_t *)buf); put_user 244 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c r = put_user(value, (uint32_t *)buf); put_user 323 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c r = put_user(value, (uint32_t *)buf); put_user 402 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c r = put_user(value, (uint32_t *)buf); put_user 529 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c r = put_user(value, (uint32_t *)buf); put_user 586 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c r = put_user(values[x++], (int32_t *)buf); put_user 654 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c r = put_user(value, (uint32_t *)buf); put_user 733 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c r = put_user(value, (uint32_t *)buf); put_user 453 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c r = put_user(early[i], (uint32_t *)buf); put_user 468 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c r = put_user(value, (uint32_t*)buf); put_user 2187 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = put_user(value, (uint32_t *)buf); put_user 129 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c r = put_user(*(rd_buf + result), buf); put_user 306 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c r = put_user((*(rd_buf + result)), buf); put_user 366 drivers/gpu/drm/drm_atomic_uapi.c if (put_user(-1, fence_ptr)) put_user 468 drivers/gpu/drm/drm_atomic_uapi.c if (put_user(-1, fence_ptr)) put_user 1093 drivers/gpu/drm/drm_atomic_uapi.c if (put_user(fence_state->fd, fence_state->out_fence_ptr)) put_user 1269 drivers/gpu/drm/drm_atomic_uapi.c put_user(-1, fence_state[i].out_fence_ptr)) put_user 2147 drivers/gpu/drm/drm_connector.c if (put_user(encoder->base.id, encoder_ptr + copied)) { put_user 411 drivers/gpu/drm/drm_ioc32.c if (put_user(req32.count, &argp->count)) put_user 474 drivers/gpu/drm/drm_ioc32.c if (put_user(req32.count, &argp->count) put_user 475 drivers/gpu/drm/drm_ioc32.c || put_user(req32.virtual, &argp->virtual)) put_user 610 drivers/gpu/drm/drm_ioc32.c if (put_user(d.request_size, &argp->request_size) put_user 611 drivers/gpu/drm/drm_ioc32.c || put_user(d.granted_count, &argp->granted_count)) put_user 783 drivers/gpu/drm/drm_ioc32.c if (put_user(request.handle >> PAGE_SHIFT, &argp->handle)) put_user 902 drivers/gpu/drm/drm_ioc32.c if (put_user(req64.fb_id, &argp->fb_id)) put_user 629 drivers/gpu/drm/drm_lease.c ret = put_user(lessee->lessee_id, lessee_ids + count); put_user 690 drivers/gpu/drm/drm_lease.c ret = put_user(object, object_ids + count); put_user 111 drivers/gpu/drm/drm_mode_config.c put_user(fb->base.id, fb_id + count)) { put_user 130 drivers/gpu/drm/drm_mode_config.c put_user(crtc->base.id, crtc_id + count)) put_user 141 drivers/gpu/drm/drm_mode_config.c put_user(encoder->base.id, encoder_id + count)) put_user 158 drivers/gpu/drm/drm_mode_config.c put_user(connector->base.id, connector_id + count)) { put_user 357 drivers/gpu/drm/drm_mode_object.c if (put_user(prop->base.id, prop_ptr + count)) put_user 360 drivers/gpu/drm/drm_mode_object.c if (put_user(val, prop_values + count)) put_user 502 drivers/gpu/drm/drm_plane.c put_user(plane->base.id, plane_ptr + count)) put_user 487 drivers/gpu/drm/drm_property.c put_user(property->values[i], values_ptr + i)) { put_user 118 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (put_user(ipp->id, ipp_ptr + copied)) put_user 1717 drivers/gpu/drm/i915/gem/i915_gem_context.c if (put_user(0, &user->extensions)) { put_user 164 drivers/gpu/drm/i915/i915_getparam.c if (put_user(value, param->value)) put_user 186 drivers/gpu/drm/i915/i915_query.c if (ret != item.length && put_user(ret, &user_item_ptr->length)) put_user 985 drivers/gpu/drm/radeon/radeon_ttm.c r = put_user(value, (uint32_t *)buf); put_user 393 drivers/hid/hid-roccat.c if (put_user(device->report_size, (int __user *)arg)) put_user 381 drivers/hid/hidraw.c if (put_user(dev->hid->rsize, (int __user *)arg)) put_user 617 drivers/hid/usbhid/hiddev.c r = put_user(HID_VERSION, (int __user *)arg) ? put_user 656 drivers/hid/usbhid/hiddev.c r = put_user(list->flags, (int __user *)arg) ? put_user 1169 drivers/hsi/clients/cmt_speech.c retval = put_user(data, (u32 __user *)buf); put_user 901 drivers/hwmon/fschmd.c ret = put_user(0, (int __user *)arg); put_user 906 drivers/hwmon/fschmd.c ret = put_user(WDIOF_CARDRESET, (int __user *)arg); put_user 908 drivers/hwmon/fschmd.c ret = put_user(0, (int __user *)arg); put_user 917 drivers/hwmon/fschmd.c ret = put_user(i, (int __user *)arg); put_user 927 drivers/hwmon/fschmd.c ret = put_user(ret, (int __user *)arg); put_user 1408 drivers/hwmon/w83793.c ret = put_user(val, (int __user *)arg); put_user 1412 drivers/hwmon/w83793.c ret = put_user(0, (int __user *)arg); put_user 1421 drivers/hwmon/w83793.c ret = put_user(val, (int __user *)arg); put_user 1431 drivers/hwmon/w83793.c ret = put_user(ret, (int __user *)arg); put_user 432 drivers/i2c/i2c-dev.c return put_user(funcs, (unsigned long __user *)arg); put_user 521 drivers/i2c/i2c-dev.c return put_user(funcs, (compat_ulong_t __user *)arg); put_user 79 drivers/ide/ide-floppy_ioctl.c if (put_user(blocks, argp)) put_user 84 drivers/ide/ide-floppy_ioctl.c if (put_user(length, argp)) put_user 92 drivers/ide/ide-floppy_ioctl.c if (put_user(u_index, arg)) put_user 230 drivers/ide/ide-floppy_ioctl.c if (put_user(progress_indication, arg)) put_user 40 drivers/ide/ide-ioctls.c return err >= 0 ? put_user(err, (long __user *)arg) : err; put_user 90 drivers/ide/ide-ioctls.c return put_user((!!(drive->dev_flags & IDE_DFLAG_DSC_OVERLAP) put_user 280 drivers/ide/ide-ioctls.c if (put_user(BUSSTATE_ON, (long __user *)arg)) put_user 736 drivers/infiniband/core/user_mad.c if (put_user(agent_id, put_user 804 drivers/infiniband/core/user_mad.c if (put_user((u32)IB_USER_MAD_REG_FLAGS_CAP, put_user 853 drivers/infiniband/core/user_mad.c if (put_user(agent_id, put_user 156 drivers/infiniband/core/uverbs_ioctl.c if (put_user(flags, put_user 339 drivers/infiniband/core/uverbs_ioctl.c if (put_user(id, &pbundle->user_attrs[uattr_idx].data)) put_user 704 drivers/infiniband/hw/hfi1/debugfs.c if (put_user(data, (unsigned long __user *)(buf + total))) put_user 291 drivers/infiniband/hw/hfi1/file_ops.c if (put_user(uval, (int __user *)arg)) put_user 1914 drivers/infiniband/hw/qib/qib_file_ops.c if (put_user(val, inflightp)) put_user 1935 drivers/infiniband/hw/qib/qib_file_ops.c if (put_user(val, completep)) put_user 818 drivers/input/evdev.c if (put_user(ke.keycode, ip + 1)) put_user 935 drivers/input/evdev.c if (put_user(value, &ip[1 + i])) put_user 1016 drivers/input/evdev.c if (put_user(0xffU, (u8 __user *)codes + i)) put_user 1046 drivers/input/evdev.c return put_user(EV_VERSION, ip); put_user 1056 drivers/input/evdev.c if (put_user(dev->rep[REP_DELAY], ip)) put_user 1058 drivers/input/evdev.c if (put_user(dev->rep[REP_PERIOD], ip + 1)) put_user 1081 drivers/input/evdev.c if (put_user(i, ip)) put_user 1186 drivers/input/evdev.c if (put_user(effect.id, &(((struct ff_effect __user *)p)->id))) put_user 531 drivers/input/joydev.c return put_user(joydev->glue.JS_TIMEOUT, (s32 __user *) argp); put_user 534 drivers/input/joydev.c return put_user(JS_VERSION, (__u32 __user *) argp); put_user 537 drivers/input/joydev.c return put_user(joydev->nabs, (__u8 __user *) argp); put_user 540 drivers/input/joydev.c return put_user(joydev->nkey, (__u8 __user *) argp); put_user 622 drivers/input/joydev.c retval = put_user(tmp32, (s32 __user *) arg); put_user 685 drivers/input/joydev.c retval = put_user(joydev->glue.JS_TIMELIMIT, put_user 407 drivers/input/misc/hp_sdc_rtc.c retval = put_user(68, (unsigned long __user *)buf); put_user 550 drivers/input/misc/hp_sdc_rtc.c return put_user(hp_sdc_rtc_freq, (unsigned long *)arg); put_user 635 drivers/input/misc/hp_sdc_rtc.c return put_user (epoch, (unsigned long *)arg); put_user 834 drivers/input/misc/uinput.c ret = put_user(0, p + len - 1); put_user 864 drivers/input/misc/uinput.c if (put_user(UINPUT_VERSION, (unsigned int __user *)p)) put_user 178 drivers/input/serio/serio_raw.c if (put_user(c, buffer++)) put_user 367 drivers/isdn/mISDN/socket.c if (put_user(id, (int __user *)arg)) put_user 454 drivers/isdn/mISDN/socket.c if (put_user(opt, optval)) put_user 650 drivers/isdn/mISDN/socket.c if (put_user(id, (int __user *)arg)) put_user 124 drivers/isdn/mISDN/timerdev.c if (put_user(timer->id, (int __user *)buf)) put_user 241 drivers/isdn/mISDN/timerdev.c if (put_user(id, (int __user *)arg)) put_user 252 drivers/isdn/mISDN/timerdev.c if (put_user(id, (int __user *)arg)) put_user 2379 drivers/macintosh/via-pmu.c return put_user(0, argp); put_user 2381 drivers/macintosh/via-pmu.c return put_user(1, argp); put_user 2394 drivers/macintosh/via-pmu.c return put_user(brightness, argp); put_user 2423 drivers/macintosh/via-pmu.c return put_user(pmu_kind, argp); put_user 2425 drivers/macintosh/via-pmu.c return put_user(pmu_has_adb, argp); put_user 594 drivers/media/rc/lirc_dev.c ret = put_user(val, argp); put_user 1336 drivers/media/usb/uvc/uvc_v4l2.c put_user(kp->menu_count, &up->menu_count)) put_user 42 drivers/media/v4l2-core/v4l2-compat-ioctl32.c get_user(__assign_tmp, from) || put_user(__assign_tmp, to); \ put_user 77 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user((typeof(*__x) __force *)(__x), __ptr); \ put_user 99 drivers/media/v4l2-core/v4l2-compat-ioctl32.c get_user_cast(__assign_tmp, from) || put_user(__assign_tmp, to);\ put_user 168 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user(clipcount, &p64->clipcount)) put_user 173 drivers/media/v4l2-core/v4l2-compat-ioctl32.c return put_user(NULL, &p64->clips); put_user 181 drivers/media/v4l2-core/v4l2-compat-ioctl32.c if (put_user(kclips, &p64->clips)) put_user 187 drivers/media/v4l2-core/v4l2-compat-ioctl32.c if (put_user(clipcount ? kclips + 1 : NULL, &kclips->next)) put_user 208 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user(clipcount, &p32->clipcount)) put_user 298 drivers/media/v4l2-core/v4l2-compat-ioctl32.c if (get_user(type, &p32->type) || put_user(type, &p64->type)) put_user 514 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user((unsigned long)compat_ptr(p), &p64->m.userptr)) put_user 546 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user((compat_ulong_t)ptr_to_compat((void __user *)p), put_user 600 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user(type, &p64->type) || put_user 603 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user(memory, &p64->memory) || put_user 605 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user(length, &p64->length) || put_user 607 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user(request_fd, &p64->request_fd)) put_user 627 drivers/media/v4l2-core/v4l2-compat-ioctl32.c return put_user(NULL, &p64->m.planes); put_user 669 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user((unsigned long)compat_ptr(userptr), put_user 698 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user(type, &p32->type) || put_user 701 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user(memory, &p32->memory)) put_user 713 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user(length, &p32->length)) put_user 802 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user(ptr_to_compat((void __user *)base), &p32->base) || put_user 920 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user(count, &p64->count) || put_user 927 drivers/media/v4l2-core/v4l2-compat-ioctl32.c return put_user(NULL, &p64->controls); put_user 956 drivers/media/v4l2-core/v4l2-compat-ioctl32.c if (put_user(s, &kcontrols->string)) put_user 986 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user(count, &p32->count) || put_user 1006 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user(id, &ucontrols->id) || put_user 1094 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user(ptr_to_compat((void __user *)edid), &p32->edid) || put_user 1062 drivers/misc/genwqe/card_dev.c put_user(cd->card_state, (enum genwqe_card_state __user *)arg); put_user 1076 drivers/misc/genwqe/card_dev.c put_user(val, &io->val64); put_user 1112 drivers/misc/genwqe/card_dev.c put_user(val, &io->val64); put_user 493 drivers/misc/vmw_vmci/vmci_host.c if (put_user(vmci_status, retptr)) { put_user 542 drivers/misc/vmw_vmci/vmci_host.c return put_user(result, &info->result) ? -EFAULT : 0; put_user 584 drivers/misc/vmw_vmci/vmci_host.c if (put_user(VMCI_SUCCESS, &info->result)) { put_user 598 drivers/misc/vmw_vmci/vmci_host.c if (put_user(result, &info->result)) { put_user 646 drivers/misc/vmw_vmci/vmci_host.c return put_user(result, &info->result) ? -EFAULT : 0; put_user 669 drivers/misc/vmw_vmci/vmci_host.c return put_user(result, &info->result) ? -EFAULT : 0; put_user 693 drivers/misc/vmw_vmci/vmci_host.c return put_user(result, &info->result) ? -EFAULT : 0; put_user 766 drivers/misc/vmw_vmci/vmci_host.c return put_user(VMCI_HOST_CONTEXT_ID, u32ptr) ? -EFAULT : 0; put_user 788 drivers/misc/xilinx_sdfec.c err = put_user(is_active, arg); put_user 419 drivers/mtd/mtdchar.c if (put_user(ops.oobretlen, retp)) put_user 664 drivers/mtd/mtdchar.c if (put_user(kr->offset, &(ur->offset)) put_user 665 drivers/mtd/mtdchar.c || put_user(kr->erasesize, &(ur->erasesize)) put_user 666 drivers/mtd/mtdchar.c || put_user(kr->numblocks, &(ur->numblocks))) put_user 869 drivers/mtd/ubi/cdev.c err = put_user(req.vol_id, (__user int32_t *)argp); put_user 1050 drivers/mtd/ubi/cdev.c err = put_user(err, (__user int32_t *)argp); put_user 706 drivers/net/hamradio/6pack.c err = put_user(0, (int __user *) arg); put_user 825 drivers/net/hamradio/mkiss.c err = put_user(4, (int __user *) arg); put_user 1654 drivers/net/hippi/rrunner.c return put_user(0x52523032, (int __user *)rq->ifr_data); put_user 297 drivers/net/ppp/ppp_async.c if (put_user(ppp_channel_index(&ap->chan), p)) put_user 304 drivers/net/ppp/ppp_async.c if (put_user(ppp_unit_number(&ap->chan), p)) put_user 318 drivers/net/ppp/ppp_async.c if (put_user(val, p)) put_user 415 drivers/net/ppp/ppp_async.c if (put_user(val, p)) put_user 430 drivers/net/ppp/ppp_async.c if (put_user(ap->xaccm[0], (u32 __user *)argp)) put_user 441 drivers/net/ppp/ppp_async.c if (put_user(ap->raccm, (u32 __user *)argp)) put_user 466 drivers/net/ppp/ppp_async.c if (put_user(ap->mru, p)) put_user 676 drivers/net/ppp/ppp_generic.c if (put_user(val, p)) put_user 686 drivers/net/ppp/ppp_generic.c if (put_user(ppp->file.index, p)) put_user 699 drivers/net/ppp/ppp_generic.c if (put_user(ppp->debug, p)) put_user 849 drivers/net/ppp/ppp_generic.c if (put_user(unit, p)) put_user 290 drivers/net/ppp/ppp_synctty.c if (put_user(ppp_channel_index(&ap->chan), p)) put_user 297 drivers/net/ppp/ppp_synctty.c if (put_user(ppp_unit_number(&ap->chan), p)) put_user 311 drivers/net/ppp/ppp_synctty.c if (put_user(val, p)) put_user 408 drivers/net/ppp/ppp_synctty.c if (put_user(val, (int __user *) argp)) put_user 423 drivers/net/ppp/ppp_synctty.c if (put_user(ap->xaccm[0], p)) put_user 434 drivers/net/ppp/ppp_synctty.c if (put_user(ap->raccm, p)) put_user 459 drivers/net/ppp/ppp_synctty.c if (put_user(ap->mru, (int __user *) argp)) put_user 753 drivers/net/ppp/pppoe.c if (put_user(po->pppoe_dev->mtu - put_user 84 drivers/net/ppp/pppox.c if (put_user(index , (int __user *) arg)) put_user 581 drivers/net/ppp/pptp.c if (put_user(val, p)) put_user 1029 drivers/net/sb1000.c if(put_user(frequency, (int __user *) ifr->ifr_data)) put_user 1097 drivers/net/slip/slip.c if (put_user(sl->mode, p)) put_user 1148 drivers/net/slip/slip.c if (put_user(sl->keepalive, p)) put_user 1173 drivers/net/slip/slip.c if (put_user(sl->outfill, p)) put_user 43 drivers/net/tap.c if (put_user(s, sp)) put_user 1015 drivers/net/tap.c put_user(u, &ifr->ifr_flags)) put_user 1030 drivers/net/tap.c if (put_user(IFF_TAP | IFF_NO_PI | TAP_IFFEATURES, up)) put_user 1045 drivers/net/tap.c if (put_user(s, sp)) put_user 1060 drivers/net/tap.c if (put_user(s, sp)) put_user 1101 drivers/net/tap.c put_user(u, &ifr->ifr_hwaddr.sa_family)) put_user 350 drivers/net/tun.c if (put_user(be, argp)) put_user 3067 drivers/net/tun.c return put_user(IFF_TUN | IFF_TAP | TUN_FEATURES, put_user 3273 drivers/net/tun.c if (put_user(le, (int __user *)argp)) put_user 1483 drivers/net/wan/cosa.c if (put_user(c, microcode)) put_user 1441 drivers/nvme/host/core.c if (put_user(result, &ucmd->result)) put_user 1488 drivers/nvme/host/core.c if (put_user(cmd.result, &ucmd->result)) put_user 54 drivers/pci/syscall.c err = put_user(byte, (unsigned char __user *)buf); put_user 57 drivers/pci/syscall.c err = put_user(word, (unsigned short __user *)buf); put_user 60 drivers/pci/syscall.c err = put_user(dword, (unsigned int __user *)buf); put_user 72 drivers/pci/syscall.c put_user(-1, (unsigned char __user *)buf); put_user 75 drivers/pci/syscall.c put_user(-1, (unsigned short __user *)buf); put_user 78 drivers/pci/syscall.c put_user(-1, (unsigned int __user *)buf); put_user 104 drivers/platform/x86/dell-smo8800.c if (put_user(byte_data, buf)) put_user 4100 drivers/platform/x86/sony-laptop.c if (put_user(c, buf++)) put_user 170 drivers/pps/pps.c err = put_user(pps->info.mode, iuarg); put_user 1674 drivers/rapidio/rio_cm.c return put_user(ch_num, p); put_user 181 drivers/rtc/dev.c ret = put_user(data, (unsigned int __user *)buf) ?: put_user 184 drivers/rtc/dev.c ret = put_user(data, (unsigned long __user *)buf) ?: put_user 365 drivers/rtc/dev.c err = put_user(rtc->irq_freq, (unsigned long __user *)uarg); put_user 520 drivers/rtc/rtc-ds1374.c return put_user(0, (int __user *)arg); put_user 541 drivers/rtc/rtc-ds1374.c return put_user((wdt_margin >> 12), (int __user *)arg); put_user 735 drivers/rtc/rtc-m41t80.c return put_user(boot_flag, (int __user *)arg); put_user 749 drivers/rtc/rtc-m41t80.c return put_user(wdt_margin, (int __user *)arg); put_user 181 drivers/rtc/rtc-vr41xx.c return put_user(epoch, (unsigned long __user *)arg); put_user 36 drivers/s390/block/dasd_ioctl.c return put_user(ver, (int __user *)argp); put_user 350 drivers/s390/char/fs3270.c rc = put_user(fp->read_command, argp); put_user 353 drivers/s390/char/fs3270.c rc = put_user(fp->write_command, argp); put_user 389 drivers/s390/char/keyboard.c return put_user(val, &user_kbe->kb_value); put_user 461 drivers/s390/char/keyboard.c if (put_user('\0', u_kbs->kb_string + len)) put_user 496 drivers/s390/char/keyboard.c return put_user(KB_101, (char __user *)argp); put_user 509 drivers/s390/char/keyboard.c if (put_user(kbd->accent_table_size, &a->kb_cnt)) put_user 525 drivers/s390/char/keyboard.c if (put_user(ct, &a->kb_cnt)) put_user 215 drivers/s390/char/vmcp.c ret = put_user(session->resp_code, argp); put_user 228 drivers/s390/char/vmcp.c ret = put_user(session->resp_size, argp); put_user 1321 drivers/s390/crypto/zcrypt_api.c return put_user(mex.outputdatalength, &umex->outputdatalength); put_user 1341 drivers/s390/crypto/zcrypt_api.c return put_user(crt.outputdatalength, &ucrt->outputdatalength); put_user 1428 drivers/s390/crypto/zcrypt_api.c return put_user(zcrypt_requestq_count(), (int __user *) arg); put_user 1430 drivers/s390/crypto/zcrypt_api.c return put_user(zcrypt_pendingq_count(), (int __user *) arg); put_user 1432 drivers/s390/crypto/zcrypt_api.c return put_user(atomic_read(&zcrypt_open_count), put_user 1435 drivers/s390/crypto/zcrypt_api.c return put_user(ap_domain_index, (int __user *) arg); put_user 1528 drivers/s390/crypto/zcrypt_api.c return put_user(mex64.outputdatalength, put_user 1573 drivers/s390/crypto/zcrypt_api.c return put_user(crt64.outputdatalength, put_user 694 drivers/s390/crypto/zcrypt_msgtype6.c if (put_user(0, outputdata + pad_len - 1)) put_user 139 drivers/sbus/char/display7seg.c if (put_user(regs, (int __user *) arg)) { put_user 116 drivers/sbus/char/flash.c if (put_user(data, buf)) put_user 552 drivers/scsi/ch.c put_user(data[2], dest+i); put_user 3893 drivers/scsi/gdth.c if (put_user(cnt, (int __user *)argp)) put_user 3901 drivers/scsi/gdth.c if (put_user(ver, (int __user *)argp)) put_user 3021 drivers/scsi/megaraid.c if( put_user(driver_ver, (u32 __user *)uioc.uioc_uaddr) ) put_user 3027 drivers/scsi/megaraid.c if( put_user(hba_count, (u32 __user *)uioc.uioc_uaddr) ) put_user 3535 drivers/scsi/megaraid.c if( put_user(mc->status, (u8 __user *)&MBOX_P(uiocp)->status) ) put_user 3545 drivers/scsi/megaraid.c if( put_user(mc->status, (u8 __user *)&upthru->scsistatus)) put_user 3552 drivers/scsi/megaraid.c if( put_user(mc->status, (u8 __user *)&uioc_mimd->mbox[17]) ) put_user 3562 drivers/scsi/megaraid.c if( put_user(mc->status, (u8 __user *)&upthru->scsistatus) ) put_user 8412 drivers/scsi/megaraid/megaraid_sas_base.c put_user(compat_ptr(ptr), sense_ioc_ptr)) put_user 8418 drivers/scsi/megaraid/megaraid_sas_base.c put_user(compat_ptr(ptr), &ioc->sgl[i].iov_base) || put_user 237 drivers/scsi/scsi_ioctl.c return put_user(sdev->host->host_no, (int __user *)arg); put_user 968 drivers/scsi/sg.c return put_user((int) sdp->device->host->unchecked_isa_dma, ip); put_user 1021 drivers/scsi/sg.c return put_user(val, ip); put_user 1023 drivers/scsi/sg.c return put_user(sdp->sg_tablesize, ip); put_user 1048 drivers/scsi/sg.c return put_user(val, ip); put_user 1056 drivers/scsi/sg.c return put_user((int) sfp->cmd_q, ip); put_user 1064 drivers/scsi/sg.c return put_user((int) sfp->keep_orphan, ip); put_user 1074 drivers/scsi/sg.c return put_user(sg_version_num, ip); put_user 1078 drivers/scsi/sg.c return put_user(val, ip); put_user 1101 drivers/scsi/sg.c return put_user(sdp->device->host->hostt->emulated, ip); put_user 1113 drivers/scsi/sg.c return put_user(max_sectors_bytes(sdp->device->request_queue), put_user 371 drivers/spi/spidev.c retval = put_user(spi->mode & SPI_MODE_MASK, put_user 375 drivers/spi/spidev.c retval = put_user(spi->mode & SPI_MODE_MASK, put_user 379 drivers/spi/spidev.c retval = put_user((spi->mode & SPI_LSB_FIRST) ? 1 : 0, put_user 383 drivers/spi/spidev.c retval = put_user(spi->bits_per_word, (__u8 __user *)arg); put_user 386 drivers/spi/spidev.c retval = put_user(spidev->speed_hz, (__u32 __user *)arg); put_user 1084 drivers/staging/comedi/comedi_fops.c if (put_user(x, it.rangelist + i)) put_user 2318 drivers/staging/exfat/exfat_super.c return put_user(flags, (int __user *)arg); put_user 191 drivers/staging/isdn/gigaset/interface.c retval = put_user(int_arg, (int __user *) arg); put_user 198 drivers/staging/isdn/gigaset/interface.c retval = put_user(int_arg, (int __user *) arg); put_user 619 drivers/staging/isdn/gigaset/ser-gigaset.c rc = put_user(val, p); put_user 1830 drivers/staging/rtl8712/rtl871x_ioctl_linux.c put_user(data32, (u32 __user *)wrqu->data.pointer); put_user 1512 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (put_user(args32.params.fourcc, &args->params.fourcc) || put_user 1513 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(compat_ptr(args32.params.callback), put_user 1515 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(compat_ptr(args32.params.userdata), put_user 1517 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.params.version, &args->params.version) || put_user 1518 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.params.version_min, put_user 1520 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.is_open, &args->is_open) || put_user 1521 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.is_vchi, &args->is_vchi) || put_user 1522 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.handle, &args->handle)) put_user 1576 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (put_user(args32.handle, &args->handle) || put_user 1577 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.count, &args->count) || put_user 1578 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(compat_ptr(args32.elements), &args->elements)) put_user 1595 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (put_user(compat_ptr(tempelement32[count].data), put_user 1597 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(tempelement32[count].size, put_user 1602 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (put_user(elements, &args->elements)) put_user 1640 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (put_user(args32.handle, &args->handle) || put_user 1641 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(compat_ptr(args32.data), &args->data) || put_user 1642 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.size, &args->size) || put_user 1643 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(compat_ptr(args32.userdata), &args->userdata) || put_user 1644 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.mode, &args->mode)) put_user 1717 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (put_user(args32.count, &args->count) || put_user 1718 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(compat_ptr(args32.buf), &args->buf) || put_user 1719 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.msgbufsize, &args->msgbufsize) || put_user 1720 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.msgbufcount, &args->msgbufcount) || put_user 1721 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(compat_ptr(args32.msgbufs), &args->msgbufs)) put_user 1767 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (put_user(1U, &args->count) || put_user 1768 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(completion, &args->buf) || put_user 1769 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(1U, &args->msgbufcount)) put_user 1853 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (put_user(args32.handle, &args->handle) || put_user 1854 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.blocking, &args->blocking) || put_user 1855 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.bufsize, &args->bufsize) || put_user 1856 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(compat_ptr(args32.buf), &args->buf)) put_user 1888 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (put_user(args32.config_size, &args->config_size) || put_user 1889 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(compat_ptr(args32.pconfig), &args->pconfig)) put_user 281 drivers/tee/tee_core.c if (put_user(p->u.value.a, &up->a) || put_user 282 drivers/tee/tee_core.c put_user(p->u.value.b, &up->b) || put_user 283 drivers/tee/tee_core.c put_user(p->u.value.c, &up->c)) put_user 288 drivers/tee/tee_core.c if (put_user((u64)p->u.memref.size, &up->b)) put_user 342 drivers/tee/tee_core.c if (put_user(arg.session, &uarg->session) || put_user 343 drivers/tee/tee_core.c put_user(arg.ret, &uarg->ret) || put_user 344 drivers/tee/tee_core.c put_user(arg.ret_origin, &uarg->ret_origin)) { put_user 412 drivers/tee/tee_core.c if (put_user(arg.ret, &uarg->ret) || put_user 413 drivers/tee/tee_core.c put_user(arg.ret_origin, &uarg->ret_origin)) { put_user 543 drivers/tee/tee_core.c if (put_user(func, &uarg->func) || put_user 544 drivers/tee/tee_core.c put_user(num_params, &uarg->num_params)) { put_user 315 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c return put_user(count, (unsigned long __user *)__arg); put_user 323 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c return put_user(length, (unsigned long __user *)__arg); put_user 332 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c return put_user(count, (unsigned long __user *)__arg); put_user 340 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c return put_user(length, (unsigned long __user *)__arg); put_user 2366 drivers/tty/cyclades.c return put_user(result, value); put_user 2563 drivers/tty/cyclades.c return put_user(tmp, value); put_user 2588 drivers/tty/cyclades.c return put_user(tmp, value); put_user 2652 drivers/tty/cyclades.c ret_val = put_user(info->default_threshold, put_user 2665 drivers/tty/cyclades.c ret_val = put_user(info->default_timeout, put_user 168 drivers/tty/ipwireless/network.c if (put_user(val, user_arg)) put_user 182 drivers/tty/ipwireless/network.c if (put_user(network->xaccm[0], user_arg)) put_user 194 drivers/tty/ipwireless/network.c if (put_user(network->raccm, user_arg)) put_user 222 drivers/tty/ipwireless/network.c if (put_user(network->mru, user_arg)) put_user 405 drivers/tty/ipwireless/tty.c if (put_user(chan, (int __user *) arg)) put_user 417 drivers/tty/ipwireless/tty.c if (put_user(unit, (int __user *) arg)) put_user 426 drivers/tty/ipwireless/tty.c if (put_user(val, (int __user *) arg)) put_user 332 drivers/tty/moxa.c ret = put_user(status, (unsigned long __user *)argp); put_user 336 drivers/tty/moxa.c ret = put_user(status, (unsigned long __user *)argp); put_user 1333 drivers/tty/mxser.c return put_user(result, value); put_user 1509 drivers/tty/mxser.c return put_user(ttymajor, (int __user *)argp); put_user 1517 drivers/tty/mxser.c return put_user(result, (unsigned long __user *)argp); put_user 1718 drivers/tty/mxser.c if (put_user(opmode, (int __user *)argp)) put_user 1744 drivers/tty/mxser.c return put_user(info->baud_base != 115200 ? 1 : 0, (int __user *)argp); put_user 1761 drivers/tty/mxser.c return put_user(len, (int __user *)argp); put_user 1795 drivers/tty/mxser.c if (put_user(info->err_shadow, (unsigned char __user *)argp)) put_user 1807 drivers/tty/mxser.c return put_user(method, (int __user *)argp); put_user 2630 drivers/tty/n_gsm.c return put_user(base + 1, (__u32 __user *)arg); put_user 758 drivers/tty/n_hdlc.c error = put_user(count, (int __user *)arg); put_user 771 drivers/tty/n_hdlc.c error = put_user(count, (int __user *)arg); put_user 2188 drivers/tty/n_tty.c if (put_user(cs, b)) { put_user 2243 drivers/tty/n_tty.c if (put_user(TIOCPKT_DATA, b)) { put_user 2456 drivers/tty/n_tty.c return put_user(tty_chars_in_buffer(tty), (int __user *) arg); put_user 2464 drivers/tty/n_tty.c return put_user(retval, (unsigned int __user *) arg); put_user 175 drivers/tty/pty.c return put_user(locked, arg); put_user 204 drivers/tty/pty.c return put_user(pktmode, arg); put_user 676 drivers/tty/pty.c return put_user(tty->index, (unsigned int __user *)arg); put_user 1054 drivers/tty/serial/serial_core.c return put_user(result, value); put_user 106 drivers/tty/synclink.c #define PUT_USER(error,value,addr) error = put_user(value,addr) put_user 2623 drivers/tty/synclink_gt.c if (put_user(info->idle_mode, idle_mode)) put_user 2829 drivers/tty/synclink_gt.c rc = put_user(events, mask_ptr); put_user 2836 drivers/tty/synclink_gt.c if (put_user(info->if_mode, if_mode)) put_user 2867 drivers/tty/synclink_gt.c if (put_user(info->xsync, xsync)) put_user 2893 drivers/tty/synclink_gt.c if (put_user(info->xctrl, xctrl)) put_user 79 drivers/tty/synclinkmp.c #define PUT_USER(error,value,addr) error = put_user(value,addr) put_user 2358 drivers/tty/tty_io.c ret = put_user(ld->ops->num, p); put_user 2423 drivers/tty/tty_io.c retval = put_user(retval, p); put_user 2589 drivers/tty/tty_io.c return put_user(excl, (int __user *)p); put_user 2603 drivers/tty/tty_io.c return put_user(ret, (unsigned int __user *)p); put_user 838 drivers/tty/tty_ioctl.c ret = put_user((kterm.c_cflag & CLOCAL) ? 1 : 0, put_user 454 drivers/tty/tty_jobctrl.c ret = put_user(pid_vnr(pid), p); put_user 527 drivers/tty/tty_jobctrl.c return put_user(pid_vnr(real_tty->session), p); put_user 777 drivers/tty/vt/consolemap.c put_user(ect, uct); put_user 1684 drivers/tty/vt/keyboard.c if (put_user(asize, &a->kb_cnt)) put_user 1711 drivers/tty/vt/keyboard.c if (put_user(asize, &a->kb_cnt)) put_user 1873 drivers/tty/vt/keyboard.c kc = put_user(kc, &user_kbkc->keycode); put_user 1914 drivers/tty/vt/keyboard.c return put_user(val, &user_kbe->kb_value); put_user 2032 drivers/tty/vt/keyboard.c if (put_user(*p, up++)) { put_user 2036 drivers/tty/vt/keyboard.c if (put_user('\0', up)) { put_user 2139 drivers/tty/vt/keyboard.c return put_user(ucval, (char __user *)arg); put_user 2157 drivers/tty/vt/keyboard.c return put_user(ucval, (char __user *)arg); put_user 3093 drivers/tty/vt/vt.c ret = put_user(data, p); put_user 3099 drivers/tty/vt/vt.c ret = put_user(data, p); put_user 3108 drivers/tty/vt/vt.c ret = put_user(data, p); put_user 411 drivers/tty/vt/vt_ioctl.c ret = put_user(ucval, (char __user *)arg); put_user 527 drivers/tty/vt/vt_ioctl.c ret = put_user(uival, (int __user *)arg); put_user 540 drivers/tty/vt/vt_ioctl.c ret = put_user(uival, (int __user *)arg); put_user 652 drivers/tty/vt/vt_ioctl.c if (put_user(fg_console + 1, &vtstat->v_active)) put_user 662 drivers/tty/vt/vt_ioctl.c ret = put_user(state, &vtstat->v_state); put_user 1032 drivers/tty/vt/vt_ioctl.c ret = put_user(vc->vc_hi_font_mask, put_user 893 drivers/usb/atm/usbatm.c return put_user(ATM_LM_NONE, (int __user *)arg) ? -EFAULT : 0; put_user 498 drivers/usb/class/usbtmc.c rv = put_user(stb, (__u8 __user *)arg); put_user 556 drivers/usb/class/usbtmc.c rv = put_user(stb, (__u8 __user *)arg); put_user 1033 drivers/usb/class/usbtmc.c if (put_user(msg.transferred, put_user 1244 drivers/usb/class/usbtmc.c if (put_user(msg.transferred, put_user 1265 drivers/usb/class/usbtmc.c if (put_user(transferred, (__u32 __user *)arg)) put_user 1952 drivers/usb/class/usbtmc.c return put_user(timeout, (__u32 __user *)arg); put_user 2099 drivers/usb/class/usbtmc.c retval = put_user(USBTMC_API_VERSION, put_user 2104 drivers/usb/class/usbtmc.c retval = put_user(data->usb488_caps, put_user 2138 drivers/usb/class/usbtmc.c retval = put_user(file_data->bmTransferAttributes, put_user 1939 drivers/usb/core/devio.c if (put_user(as->status, &userurb->status)) put_user 1941 drivers/usb/core/devio.c if (put_user(urb->actual_length, &userurb->actual_length)) put_user 1943 drivers/usb/core/devio.c if (put_user(urb->error_count, &userurb->error_count)) put_user 1948 drivers/usb/core/devio.c if (put_user(urb->iso_frame_desc[i].actual_length, put_user 1951 drivers/usb/core/devio.c if (put_user(urb->iso_frame_desc[i].status, put_user 1957 drivers/usb/core/devio.c if (put_user(addr, (void __user * __user *)arg)) put_user 2030 drivers/usb/core/devio.c put_user(compat_ptr(udata), &p->data)) put_user 2044 drivers/usb/core/devio.c if (get_user(n, &p32->ep) || put_user(n, &p->ep) || put_user 2045 drivers/usb/core/devio.c get_user(n, &p32->len) || put_user(n, &p->len) || put_user 2046 drivers/usb/core/devio.c get_user(n, &p32->timeout) || put_user(n, &p->timeout) || put_user 2047 drivers/usb/core/devio.c get_user(addr, &p32->data) || put_user(compat_ptr(addr), &p->data)) put_user 2112 drivers/usb/core/devio.c if (put_user(as->status, &userurb->status)) put_user 2114 drivers/usb/core/devio.c if (put_user(urb->actual_length, &userurb->actual_length)) put_user 2116 drivers/usb/core/devio.c if (put_user(urb->error_count, &userurb->error_count)) put_user 2121 drivers/usb/core/devio.c if (put_user(urb->iso_frame_desc[i].actual_length, put_user 2124 drivers/usb/core/devio.c if (put_user(urb->iso_frame_desc[i].status, put_user 2130 drivers/usb/core/devio.c if (put_user(ptr_to_compat(addr), (u32 __user *)arg)) put_user 2343 drivers/usb/core/devio.c if (put_user(caps, (__u32 __user *)arg)) put_user 1127 drivers/usb/misc/sisusbvga/sisusb.c if (put_user(buf[0], (u8 __user *)userbuffer)) put_user 1140 drivers/usb/misc/sisusbvga/sisusb.c if (put_user(swap16, (u16 __user *)userbuffer)) put_user 1180 drivers/usb/misc/sisusbvga/sisusb.c if (put_user(swap32, (u32 __user *)userbuffer)) put_user 2520 drivers/usb/misc/sisusbvga/sisusb.c else if (put_user(buf8, (u8 __user *)buffer)) put_user 2531 drivers/usb/misc/sisusbvga/sisusb.c else if (put_user(buf16, (u16 __user *)buffer)) put_user 2542 drivers/usb/misc/sisusbvga/sisusb.c else if (put_user(buf32, (u32 __user *)buffer)) put_user 2600 drivers/usb/misc/sisusbvga/sisusb.c else if (put_user(buf32, (u32 __user *)buffer)) put_user 2926 drivers/usb/misc/sisusbvga/sisusb.c if (put_user(sizeof(x), argp)) put_user 928 drivers/usb/mon/mon_bin.c if (put_user(cur_out, &vec[nevents])) { put_user 1094 drivers/usb/mon/mon_bin.c if (put_user(ret, &uptr->nflush)) put_user 1100 drivers/usb/mon/mon_bin.c if (put_user(ret, &uptr->nfetch)) put_user 1118 drivers/usb/mon/mon_bin.c if (put_user(ndropped, &sp->dropped)) put_user 1120 drivers/usb/mon/mon_bin.c if (put_user(nevents, &sp->queued)) put_user 1173 drivers/usb/mon/mon_bin.c if (put_user(ret, &uptr->nflush32)) put_user 1180 drivers/usb/mon/mon_bin.c if (put_user(ret, &uptr->nfetch32)) put_user 1707 drivers/vhost/scsi.c if (put_user(events_missed, eventsp)) put_user 564 drivers/vhost/vringh.c return put_user(v, (__force __virtio16 __user *)p); put_user 1889 drivers/video/fbdev/amifb.c put_user(color, data++); put_user 2329 drivers/video/fbdev/aty/aty128fb.c return put_user(value, (__u32 __user *)arg); put_user 1897 drivers/video/fbdev/aty/atyfb_base.c if (put_user(par->features, (u32 __user *) arg)) put_user 1038 drivers/video/fbdev/aty/radeon_base.c return put_user(value, (__u32 __user *)arg); put_user 1225 drivers/video/fbdev/core/fbmem.c put_user(compat_ptr(data), &cmap->red) || put_user 1227 drivers/video/fbdev/core/fbmem.c put_user(compat_ptr(data), &cmap->green) || put_user 1229 drivers/video/fbdev/core/fbmem.c put_user(compat_ptr(data), &cmap->blue) || put_user 1231 drivers/video/fbdev/core/fbmem.c put_user(compat_ptr(data), &cmap->transp)) put_user 1254 drivers/video/fbdev/core/fbmem.c err |= put_user(data, &fix32->smem_start); put_user 1256 drivers/video/fbdev/core/fbmem.c err |= put_user(fix->smem_len, &fix32->smem_len); put_user 1257 drivers/video/fbdev/core/fbmem.c err |= put_user(fix->type, &fix32->type); put_user 1258 drivers/video/fbdev/core/fbmem.c err |= put_user(fix->type_aux, &fix32->type_aux); put_user 1259 drivers/video/fbdev/core/fbmem.c err |= put_user(fix->visual, &fix32->visual); put_user 1260 drivers/video/fbdev/core/fbmem.c err |= put_user(fix->xpanstep, &fix32->xpanstep); put_user 1261 drivers/video/fbdev/core/fbmem.c err |= put_user(fix->ypanstep, &fix32->ypanstep); put_user 1262 drivers/video/fbdev/core/fbmem.c err |= put_user(fix->ywrapstep, &fix32->ywrapstep); put_user 1263 drivers/video/fbdev/core/fbmem.c err |= put_user(fix->line_length, &fix32->line_length); put_user 1266 drivers/video/fbdev/core/fbmem.c err |= put_user(data, &fix32->mmio_start); put_user 1268 drivers/video/fbdev/core/fbmem.c err |= put_user(fix->mmio_len, &fix32->mmio_len); put_user 1269 drivers/video/fbdev/core/fbmem.c err |= put_user(fix->accel, &fix32->accel); put_user 1044 drivers/video/fbdev/matrox/matroxfb_base.c if (put_user(conn, (u_int32_t __user *)arg)) put_user 1069 drivers/video/fbdev/matrox/matroxfb_base.c if (put_user(conn, (u_int32_t __user *)arg)) put_user 1083 drivers/video/fbdev/matrox/matroxfb_base.c if (put_user(conn, (u_int32_t __user *)arg)) put_user 518 drivers/video/fbdev/matrox/matroxfb_crtc2.c if (put_user(conn, (u_int32_t __user *)arg)) put_user 543 drivers/video/fbdev/matrox/matroxfb_crtc2.c if (put_user(tmp, (u_int32_t __user *)arg)) put_user 1090 drivers/video/fbdev/omap/omapfb_main.c if (put_user(p.update_mode, put_user 733 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c if (put_user(p.update_mode, put_user 108 drivers/video/fbdev/sbuslib.c if (put_user(type, &f->fb_type) || put_user 109 drivers/video/fbdev/sbuslib.c put_user(info->var.yres, &f->fb_height) || put_user 110 drivers/video/fbdev/sbuslib.c put_user(info->var.xres, &f->fb_width) || put_user 111 drivers/video/fbdev/sbuslib.c put_user(fb_depth, &f->fb_depth) || put_user 112 drivers/video/fbdev/sbuslib.c put_user(0, &f->fb_cmsize) || put_user 113 drivers/video/fbdev/sbuslib.c put_user(fb_size, &f->fb_cmsize)) put_user 181 drivers/video/fbdev/sbuslib.c if (put_user(red, &ured[i]) || put_user 182 drivers/video/fbdev/sbuslib.c put_user(green, &ugreen[i]) || put_user 183 drivers/video/fbdev/sbuslib.c put_user(blue, &ublue[i])) put_user 204 drivers/video/fbdev/sbuslib.c ret |= put_user(compat_ptr(addr), &p->red); put_user 206 drivers/video/fbdev/sbuslib.c ret |= put_user(compat_ptr(addr), &p->green); put_user 208 drivers/video/fbdev/sbuslib.c ret |= put_user(compat_ptr(addr), &p->blue); put_user 229 drivers/video/fbdev/sbuslib.c ret |= put_user(compat_ptr(addr), &p->cmap.red); put_user 231 drivers/video/fbdev/sbuslib.c ret |= put_user(compat_ptr(addr), &p->cmap.green); put_user 233 drivers/video/fbdev/sbuslib.c ret |= put_user(compat_ptr(addr), &p->cmap.blue); put_user 235 drivers/video/fbdev/sbuslib.c ret |= put_user(compat_ptr(addr), &p->mask); put_user 237 drivers/video/fbdev/sbuslib.c ret |= put_user(compat_ptr(addr), &p->image); put_user 1736 drivers/video/fbdev/sis/sis_main.c return put_user(sizeof(struct sisfb_info), argp); put_user 1799 drivers/video/fbdev/sis/sis_main.c return put_user((u32)1, argp); put_user 1801 drivers/video/fbdev/sis/sis_main.c return put_user((u32)0, argp); put_user 1810 drivers/video/fbdev/sis/sis_main.c return put_user((u32)1, argp); put_user 1812 drivers/video/fbdev/sis/sis_main.c return put_user((u32)0, argp); put_user 1835 drivers/video/fbdev/sis/sis_main.c return put_user((u32)(((ivideo->tvxpos+32)<<16)|((ivideo->tvypos+32)&0xffff)), put_user 409 drivers/video/fbdev/via/viafbdev.c return put_user((u32)sizeof(struct viafb_ioctl_info), argp); put_user 413 drivers/video/fbdev/via/viafbdev.c return put_user(viafb_ioctl_hotplug(info->var.xres, put_user 553 drivers/video/fbdev/via/viafbdev.c if (put_user(state_info, argp)) put_user 559 drivers/video/fbdev/via/viafbdev.c if (put_user(state_info, argp)) put_user 567 drivers/video/fbdev/via/viafbdev.c if (put_user(state_info, argp)) put_user 600 drivers/video/fbdev/via/viafbdev.c if (put_user(state_info, argp)) put_user 390 drivers/virt/fsl_hypervisor.c put_user(param.proplen, &p->proplen)) { put_user 397 drivers/virt/fsl_hypervisor.c if (put_user(param.ret, &p->ret)) put_user 643 drivers/virt/fsl_hypervisor.c if (put_user(dbell, p)) put_user 342 drivers/w1/slaves/w1_ds28e04.c if (put_user(w1_enable_crccheck + 0x30, buf)) put_user 161 drivers/watchdog/acquirewdt.c return put_user(0, p); put_user 182 drivers/watchdog/acquirewdt.c return put_user(WATCHDOG_HEARTBEAT, p); put_user 152 drivers/watchdog/advantechwdt.c return put_user(0, p); put_user 182 drivers/watchdog/advantechwdt.c return put_user(timeout, p); put_user 194 drivers/watchdog/alim1535_wdt.c return put_user(0, p); put_user 225 drivers/watchdog/alim1535_wdt.c return put_user(timeout, p); put_user 250 drivers/watchdog/alim7101_wdt.c return put_user(0, p); put_user 284 drivers/watchdog/alim7101_wdt.c return put_user(timeout, p); put_user 222 drivers/watchdog/ar7_wdt.c if (put_user(0, (int *)arg)) put_user 241 drivers/watchdog/ar7_wdt.c if (put_user(margin, (int *)arg)) put_user 172 drivers/watchdog/at91rm9200_wdt.c return put_user(0, p); put_user 192 drivers/watchdog/at91rm9200_wdt.c return put_user(wdt_time, p); put_user 194 drivers/watchdog/at91rm9200_wdt.c return put_user(wdt_time, p); put_user 198 drivers/watchdog/ath79_wdt.c err = put_user(0, p); put_user 202 drivers/watchdog/ath79_wdt.c err = put_user(boot_status, p); put_user 221 drivers/watchdog/ath79_wdt.c err = put_user(timeout, p); put_user 180 drivers/watchdog/bcm63xx_wdt.c return put_user(0, p); put_user 211 drivers/watchdog/bcm63xx_wdt.c return put_user(wdt_time, p); put_user 157 drivers/watchdog/cpu5wdt.c return put_user(value, p); put_user 159 drivers/watchdog/cpu5wdt.c return put_user(0, p); put_user 429 drivers/watchdog/cpwd.c if (put_user(0, (int __user *)argp)) put_user 253 drivers/watchdog/eurotechwdt.c return put_user(0, p); put_user 292 drivers/watchdog/eurotechwdt.c return put_user(eurwdt_timeout, p); put_user 618 drivers/watchdog/f71808e_wdt.c return put_user(status, uarg.i); put_user 621 drivers/watchdog/f71808e_wdt.c return put_user(0, uarg.i); put_user 649 drivers/watchdog/f71808e_wdt.c return put_user(watchdog.timeout, uarg.i); put_user 179 drivers/watchdog/gef_wdt.c if (put_user(wdt_status, (int __user *)argp)) put_user 207 drivers/watchdog/gef_wdt.c if (put_user(gef_wdt_timeout, (int __user *)argp)) put_user 157 drivers/watchdog/geodewdt.c return put_user(0, p); put_user 190 drivers/watchdog/geodewdt.c return put_user(timeout, p); put_user 188 drivers/watchdog/ib700wdt.c return put_user(0, p); put_user 220 drivers/watchdog/ib700wdt.c return put_user(timeout, p); put_user 286 drivers/watchdog/ibmasr.c return put_user(0, p); put_user 312 drivers/watchdog/ibmasr.c return put_user(heartbeat, p); put_user 116 drivers/watchdog/indydog.c return put_user(0, (int *)arg); put_user 135 drivers/watchdog/indydog.c return put_user(WATCHDOG_TIMEOUT, (int *)arg); put_user 371 drivers/watchdog/intel_scu_watchdog.c return put_user(0, p); put_user 387 drivers/watchdog/intel_scu_watchdog.c return put_user(watchdog_device.soft_threshold, p); put_user 139 drivers/watchdog/iop_wdt.c ret = put_user(0, argp); put_user 143 drivers/watchdog/iop_wdt.c ret = put_user(boot_status, argp); put_user 172 drivers/watchdog/iop_wdt.c ret = put_user(iop_watchdog_timeout(), argp); put_user 283 drivers/watchdog/it8712f_wdt.c return put_user(value, p); put_user 285 drivers/watchdog/it8712f_wdt.c return put_user(0, p); put_user 308 drivers/watchdog/it8712f_wdt.c if (put_user(margin, p)) put_user 115 drivers/watchdog/ixp4xx_wdt.c ret = put_user(0, (int *)arg); put_user 119 drivers/watchdog/ixp4xx_wdt.c ret = put_user(boot_status, (int *)arg); put_user 142 drivers/watchdog/ixp4xx_wdt.c ret = put_user(heartbeat, (int *)arg); put_user 357 drivers/watchdog/kempld_wdt.c ret = put_user(wdt_data->pretimeout, (int __user *)arg); put_user 133 drivers/watchdog/m54xx_wdt.c ret = put_user(0, (int *)arg); put_user 137 drivers/watchdog/m54xx_wdt.c ret = put_user(0, (int *)arg); put_user 160 drivers/watchdog/m54xx_wdt.c ret = put_user(heartbeat, (int *)arg); put_user 314 drivers/watchdog/machzwd.c return put_user(0, p); put_user 213 drivers/watchdog/mixcomwd.c return put_user(status, p); put_user 215 drivers/watchdog/mixcomwd.c return put_user(0, p); put_user 149 drivers/watchdog/mtx-1_wdt.c put_user(0, p); put_user 197 drivers/watchdog/mv64x60_wdt.c if (put_user(wdt_status, (int __user *)argp)) put_user 228 drivers/watchdog/mv64x60_wdt.c if (put_user(mv64x60_wdt_timeout, (int __user *)argp)) put_user 230 drivers/watchdog/nv_tco.c return put_user(0, p); put_user 255 drivers/watchdog/nv_tco.c return put_user(heartbeat, p); put_user 403 drivers/watchdog/pc87413_wdt.c return put_user(pc87413_status(), uarg.i); put_user 405 drivers/watchdog/pc87413_wdt.c return put_user(0, uarg.i); put_user 439 drivers/watchdog/pc87413_wdt.c return put_user(new_timeout, uarg.i); put_user 611 drivers/watchdog/pcwd.c return put_user(status, argp); put_user 614 drivers/watchdog/pcwd.c return put_user(pcwd_private.boot_status, argp); put_user 620 drivers/watchdog/pcwd.c return put_user(temperature, argp); put_user 657 drivers/watchdog/pcwd.c return put_user(heartbeat, argp); put_user 486 drivers/watchdog/pcwd_pci.c return put_user(status, p); put_user 490 drivers/watchdog/pcwd_pci.c return put_user(pcipcwd_private.boot_status, p); put_user 499 drivers/watchdog/pcwd_pci.c return put_user(temperature, p); put_user 548 drivers/watchdog/pcwd_pci.c return put_user(heartbeat, p); put_user 557 drivers/watchdog/pcwd_pci.c return put_user(time_left, p); put_user 407 drivers/watchdog/pcwd_usb.c return put_user(0, p); put_user 416 drivers/watchdog/pcwd_usb.c return put_user(temperature, p); put_user 458 drivers/watchdog/pcwd_usb.c return put_user(heartbeat, p); put_user 467 drivers/watchdog/pcwd_usb.c return put_user(time_left, p); put_user 185 drivers/watchdog/pika_wdt.c return put_user(0, p); put_user 188 drivers/watchdog/pika_wdt.c return put_user(pikawdt_private.bootstatus, p); put_user 201 drivers/watchdog/pika_wdt.c return put_user(new_value, p); /* return current value */ put_user 204 drivers/watchdog/pika_wdt.c return put_user(heartbeat, p); put_user 162 drivers/watchdog/pnx833x_wdt.c return put_user(0, (int *)arg); put_user 188 drivers/watchdog/pnx833x_wdt.c return put_user(new_timeout, (int *)arg); put_user 194 drivers/watchdog/pnx833x_wdt.c return put_user(timeout, (int *)arg); put_user 199 drivers/watchdog/pnx833x_wdt.c return put_user(timeout_left, (int *)arg); put_user 109 drivers/watchdog/riowd.c if (put_user(0, (int __user *)argp)) put_user 140 drivers/watchdog/riowd.c return put_user(riowd_timeout * 60, (int __user *)argp); put_user 106 drivers/watchdog/sa1100_wdt.c ret = put_user(0, p); put_user 110 drivers/watchdog/sa1100_wdt.c ret = put_user(boot_status, p); put_user 133 drivers/watchdog/sa1100_wdt.c ret = put_user(pre_margin / oscr_freq, p); put_user 184 drivers/watchdog/sb_wdog.c ret = put_user(0, p); put_user 212 drivers/watchdog/sb_wdog.c ret = put_user((u32)__raw_readq(user_dog - 8) / 1000000, p); put_user 237 drivers/watchdog/sbc60xxwdt.c return put_user(0, p); put_user 270 drivers/watchdog/sbc60xxwdt.c return put_user(timeout, p); put_user 164 drivers/watchdog/sbc7240_wdt.c return put_user(0, (int __user *)arg); put_user 201 drivers/watchdog/sbc7240_wdt.c return put_user(timeout, (int __user *)arg); put_user 119 drivers/watchdog/sbc_epx_c3.c return put_user(0, argp); put_user 139 drivers/watchdog/sbc_epx_c3.c return put_user(WATCHDOG_TIMEOUT, argp); put_user 133 drivers/watchdog/sbc_fitpc2_wdt.c ret = put_user(0, (int *)arg); put_user 137 drivers/watchdog/sbc_fitpc2_wdt.c ret = put_user(0, (int *)arg); put_user 160 drivers/watchdog/sbc_fitpc2_wdt.c ret = put_user(margin, (int *)arg); put_user 200 drivers/watchdog/sc1200wdt.c return put_user(sc1200wdt_status(), p); put_user 203 drivers/watchdog/sc1200wdt.c return put_user(0, p); put_user 240 drivers/watchdog/sc1200wdt.c return put_user(timeout * 60, p); put_user 289 drivers/watchdog/sc520_wdt.c return put_user(0, p); put_user 326 drivers/watchdog/sc520_wdt.c return put_user(timeout, p); put_user 267 drivers/watchdog/sch311x_wdt.c return put_user(status, p); put_user 270 drivers/watchdog/sch311x_wdt.c return put_user(sch311x_wdt_data.boot_status, p); put_user 300 drivers/watchdog/sch311x_wdt.c return put_user(timeout, p); put_user 175 drivers/watchdog/scx200_wdt.c if (put_user(0, p)) put_user 191 drivers/watchdog/scx200_wdt.c if (put_user(margin, p)) put_user 444 drivers/watchdog/smsc37b787_wdt.c return put_user(wb_smsc_wdt_status(), uarg.i); put_user 446 drivers/watchdog/smsc37b787_wdt.c return put_user(0, uarg.i); put_user 482 drivers/watchdog/smsc37b787_wdt.c return put_user(new_timeout, uarg.i); put_user 255 drivers/watchdog/w83877f_wdt.c return put_user(0, p); put_user 294 drivers/watchdog/w83877f_wdt.c return put_user(timeout, p); put_user 392 drivers/watchdog/w83977f_wdt.c return put_user(status, uarg.i); put_user 395 drivers/watchdog/w83977f_wdt.c return put_user(0, uarg.i); put_user 428 drivers/watchdog/w83977f_wdt.c return put_user(timeout, uarg.i); put_user 143 drivers/watchdog/wafer5823wdt.c return put_user(0, p); put_user 179 drivers/watchdog/wafer5823wdt.c return put_user(timeout, p); put_user 721 drivers/watchdog/watchdog_dev.c err = put_user(val, p); put_user 724 drivers/watchdog/watchdog_dev.c err = put_user(wdd->bootstatus, p); put_user 767 drivers/watchdog/watchdog_dev.c err = put_user(wdd->timeout, p); put_user 773 drivers/watchdog/watchdog_dev.c err = put_user(val, p); put_user 783 drivers/watchdog/watchdog_dev.c err = put_user(wdd->pretimeout, p); put_user 291 drivers/watchdog/wdrtas.c return put_user(i, argp); put_user 295 drivers/watchdog/wdrtas.c return put_user(i, argp); put_user 302 drivers/watchdog/wdrtas.c return put_user(i, argp); put_user 338 drivers/watchdog/wdrtas.c return put_user(wdrtas_interval, argp); put_user 380 drivers/watchdog/wdt.c return put_user(status, p); put_user 382 drivers/watchdog/wdt.c return put_user(0, p); put_user 394 drivers/watchdog/wdt.c return put_user(heartbeat, p); put_user 149 drivers/watchdog/wdt285.c ret = put_user(0, int_arg); put_user 173 drivers/watchdog/wdt285.c ret = put_user(soft_margin, int_arg); put_user 368 drivers/watchdog/wdt977.c return put_user(status, uarg.i); put_user 371 drivers/watchdog/wdt977.c return put_user(0, uarg.i); put_user 404 drivers/watchdog/wdt977.c return put_user(timeout, uarg.i); put_user 417 drivers/watchdog/wdt_pci.c return put_user(status, p); put_user 419 drivers/watchdog/wdt_pci.c return put_user(0, p); put_user 431 drivers/watchdog/wdt_pci.c return put_user(heartbeat, p); put_user 921 drivers/xen/gntdev.c if (put_user(GNTST_okay, status)) put_user 162 drivers/xen/mcelog.c return put_user(sizeof(struct xen_mce), p); put_user 164 drivers/xen/mcelog.c return put_user(XEN_MCE_LOG_LEN, p); put_user 172 drivers/xen/mcelog.c return put_user(flags, p); put_user 1333 fs/aio.c ret = put_user(ioctx->user_id, ctxp); put_user 1365 fs/aio.c ret = put_user((u32)ioctx->user_id, ctx32p); put_user 1825 fs/aio.c if (unlikely(put_user(KIOCB_KEY, &user_iocb->aio_key))) { put_user 785 fs/autofs/root.c rv = put_user(sbi->exp_timeout/HZ, p); put_user 810 fs/autofs/root.c rv = put_user(sbi->exp_timeout/HZ, p); put_user 828 fs/autofs/root.c return put_user(sbi->version, p); put_user 835 fs/autofs/root.c return put_user(sbi->sub_version, p); put_user 850 fs/autofs/root.c status = put_user(status, p); put_user 70 fs/binfmt_aout.c put_user(0, --sp); put_user 71 fs/binfmt_aout.c put_user(0, --sp); put_user 73 fs/binfmt_aout.c put_user(0, --sp); put_user 74 fs/binfmt_aout.c put_user(1003, --sp); put_user 75 fs/binfmt_aout.c put_user(bprm->loader, --sp); put_user 76 fs/binfmt_aout.c put_user(1002, --sp); put_user 78 fs/binfmt_aout.c put_user(bprm->exec, --sp); put_user 79 fs/binfmt_aout.c put_user(1001, --sp); put_user 86 fs/binfmt_aout.c put_user((unsigned long) envp,--sp); put_user 87 fs/binfmt_aout.c put_user((unsigned long) argv,--sp); put_user 89 fs/binfmt_aout.c put_user(argc,--sp); put_user 93 fs/binfmt_aout.c put_user(p,argv++); put_user 98 fs/binfmt_aout.c put_user(NULL,argv); put_user 102 fs/binfmt_aout.c put_user(p,envp++); put_user 107 fs/binfmt_aout.c put_user(NULL,envp); put_user 417 fs/binfmt_flat.c put_user(val, ptr); put_user 780 fs/binfmt_flat.c if (put_user(addr, rp)) put_user 961 fs/binfmt_flat.c if (put_user(val, p)) put_user 479 fs/btrfs/ioctl.c return put_user(inode->i_generation, arg); put_user 191 fs/cifs/ioctl.c rc = put_user(ExtAttrBits & put_user 202 fs/cifs/ioctl.c rc = put_user(ExtAttrBits & FS_FL_USER_VISIBLE, put_user 79 fs/coda/psdev.c return put_user(data, (int __user *) arg); put_user 79 fs/compat_ioctl.c get_user(val, srcptr) || put_user(val, dstptr); \ put_user 136 fs/compat_ioctl.c put_user(compat_ptr(base), &iov[i].iov_base) || put_user 137 fs/compat_ioctl.c put_user(len, &iov[i].iov_len)) put_user 141 fs/compat_ioctl.c if (put_user(iov, &sgio->dxferp)) put_user 189 fs/compat_ioctl.c if (put_user(dxferp, &sgio->dxferp)) put_user 205 fs/compat_ioctl.c if (put_user(cmdp, &sgio->cmdp) || put_user 206 fs/compat_ioctl.c put_user(sbp, &sgio->sbp)) put_user 216 fs/compat_ioctl.c if (put_user(compat_ptr(data), &sgio->usr_ptr)) put_user 227 fs/compat_ioctl.c put_user((u32)(unsigned long)datap, put_user 266 fs/compat_ioctl.c put_user((u32)(unsigned long)(ptr), &o[i].usr_ptr) || put_user 267 fs/compat_ioctl.c put_user(d, &o[i].duration)) put_user 296 fs/compat_ioctl.c if (put_user(flen, &u_fprog64->len) || put_user 297 fs/compat_ioctl.c put_user(fptr64, &u_fprog64->filter)) put_user 335 fs/compat_ioctl.c put_user(xmit, &idle32->xmit_idle) || put_user 336 fs/compat_ioctl.c put_user(recv, &idle32->recv_idle)) put_user 355 fs/compat_ioctl.c if (put_user(datap, &odata->ptr)) put_user 851 fs/crypto/keyring.c err = put_user(status_flags, &uarg->removal_status_flags); put_user 283 fs/ecryptfs/miscdev.c if (put_user(msg_ctx->type, buf)) put_user 285 fs/ecryptfs/miscdev.c if (put_user(cpu_to_be32(msg_ctx->counter), put_user 260 fs/eventfd.c if (res > 0 && put_user(ucnt, (__u64 __user *)buf)) put_user 34 fs/ext2/ioctl.c return put_user(flags, (int __user *) arg); put_user 83 fs/ext2/ioctl.c return put_user(inode->i_generation, (int __user *) arg); put_user 112 fs/ext2/ioctl.c return put_user(rsv_window_size, (int __user *)arg); put_user 832 fs/ext4/ioctl.c return put_user(flags, (int __user *) arg); put_user 870 fs/ext4/ioctl.c return put_user(inode->i_generation, (int __user *) arg); put_user 1234 fs/ext4/ioctl.c return put_user(state, (__u32 __user *) arg); put_user 1787 fs/f2fs/file.c return put_user(fsflags, (int __user *)arg); put_user 1835 fs/f2fs/file.c return put_user(inode->i_generation, (int __user *)arg); put_user 2793 fs/f2fs/file.c return put_user(sb_feature, (u32 __user *)arg); put_user 3082 fs/f2fs/file.c return put_user(pin, (u32 __user *)arg); put_user 725 fs/fat/dir.c if (put_user(0, d2->d_name) || \ put_user 726 fs/fat/dir.c put_user(0, &d2->d_reclen) || \ put_user 728 fs/fat/dir.c put_user(0, d1->d_name + name_len) || \ put_user 729 fs/fat/dir.c put_user(name_len, &d1->d_reclen)) \ put_user 744 fs/fat/dir.c put_user(0, d2->d_name + long_len) || \ put_user 745 fs/fat/dir.c put_user(long_len, &d2->d_reclen) || \ put_user 746 fs/fat/dir.c put_user(ino, &d2->d_ino) || \ put_user 747 fs/fat/dir.c put_user(offset, &d2->d_off) || \ put_user 749 fs/fat/dir.c put_user(0, d1->d_name + short_len) || \ put_user 750 fs/fat/dir.c put_user(short_len, &d1->d_reclen)) \ put_user 814 fs/fat/dir.c if (put_user(0, &d1->d_reclen)) put_user 854 fs/fat/dir.c if (put_user(0, &d1->d_reclen)) put_user 32 fs/fat/file.c return put_user(attr, user_attr); put_user 122 fs/fat/file.c return put_user(sbi->vol_id, user_attr); put_user 249 fs/fcntl.c err = put_user(src[0], &dst[0]); put_user 250 fs/fcntl.c err |= put_user(src[1], &dst[1]); put_user 72 fs/fhandle.c if (put_user(real_mount(path->mnt)->mnt_id, mnt_id) || put_user 171 fs/gfs2/file.c if (put_user(fsflags, ptr)) put_user 79 fs/hfsplus/ioctl.c return put_user(flags, user_flags); put_user 69 fs/ioctl.c return put_user(res, p); put_user 504 fs/ioctl.c return put_user(i_size_read(inode) - filp->f_pos, p); put_user 684 fs/ioctl.c return put_user(inode->i_sb->s_blocksize, argp); put_user 70 fs/jfs/ioctl.c return put_user(flags, (int __user *) arg); put_user 122 fs/nilfs2/ioctl.c return put_user(flags, (int __user *)argp); put_user 180 fs/nilfs2/ioctl.c return put_user(inode->i_generation, (int __user *)argp); put_user 511 fs/notify/fanotify/fanotify_user.c ret = put_user(send_len, (int __user *) p); put_user 299 fs/notify/inotify/inotify_user.c ret = put_user(send_len, (int __user *) p); put_user 209 fs/nsfs.c return put_user(uid, argp); put_user 46 fs/ocfs2/ioctl.c (void)put_user(kreq->ir_flags, (__u32 __user *)&(req->ir_flags)); put_user 858 fs/ocfs2/ioctl.c return put_user(flags, (int __user *) arg); put_user 605 fs/orangefs/devorangefs-req.c return ((put_user(magic, (__s32 __user *) arg) == -EFAULT) ? put_user 609 fs/orangefs/devorangefs-req.c return ((put_user(max_up_size, put_user 614 fs/orangefs/devorangefs-req.c return ((put_user(max_down_size, put_user 399 fs/orangefs/file.c return put_user(uval, (int __user *)arg); put_user 532 fs/pipe.c return put_user(count, (int __user *)arg); put_user 56 fs/proc/page.c if (put_user(pcount, out)) { put_user 227 fs/proc/page.c if (put_user(stable_page_flags(ppage), out)) { put_user 278 fs/proc/page.c if (put_user(ino, out)) { put_user 68 fs/quota/compat.c put_user(data, &compat_dqblk->dqb_valid)) put_user 77 fs/quota/compat.c put_user(data, &dqblk->dqb_valid)) put_user 97 fs/quota/compat.c put_user(data, &compat_fsqstat->qs_uquota.qfs_nextents)) put_user 104 fs/quota/compat.c put_user(data, &compat_fsqstat->qs_gquota.qfs_nextents)) put_user 112 fs/quota/compat.c put_user(xdata, &compat_fsqstat->qs_iwarnlimit)) put_user 1503 fs/read_write.c if (unlikely(put_user(pos, offset))) put_user 1520 fs/read_write.c if (unlikely(put_user(pos, offset))) put_user 1541 fs/read_write.c if (unlikely(put_user(pos, offset))) put_user 1559 fs/read_write.c if (unlikely(put_user(pos, offset))) put_user 292 fs/readdir.c if (put_user(buf.ctx.pos, &lastdirent->d_off)) put_user 549 fs/readdir.c if (put_user(buf.ctx.pos, &lastdirent->d_off)) put_user 50 fs/reiserfs/ioctl.c err = put_user(flags, (int __user *)arg); put_user 101 fs/reiserfs/ioctl.c err = put_user(inode->i_generation, (int __user *)arg); put_user 297 fs/timerfd.c res = put_user(ticks, (u64 __user *) buf) ? -EFAULT: sizeof(ticks); put_user 147 fs/ubifs/ioctl.c return put_user(flags, (int __user *) arg); put_user 212 fs/udf/file.c result = put_user(new_block, (long __user *)arg); put_user 215 fs/udf/file.c return put_user(UDF_I(inode)->i_lenEAttr, (int __user *)arg); put_user 1505 fs/userfaultfd.c if (put_user(basic_ioctls ? UFFD_API_RANGE_IOCTLS_BASIC : put_user 1741 fs/userfaultfd.c if (unlikely(put_user(ret, &user_uffdio_copy->copy))) put_user 1793 fs/userfaultfd.c if (unlikely(put_user(ret, &user_uffdio_zeropage->zeropage))) put_user 1757 fs/xfs/xfs_ioctl.c if (put_user(p->bmv_offset, &u->bmv_offset) || put_user 1758 fs/xfs/xfs_ioctl.c put_user(p->bmv_block, &u->bmv_block) || put_user 1759 fs/xfs/xfs_ioctl.c put_user(p->bmv_length, &u->bmv_length) || put_user 1760 fs/xfs/xfs_ioctl.c put_user(0, &u->bmv_count) || put_user 1761 fs/xfs/xfs_ioctl.c put_user(0, &u->bmv_entries)) put_user 1765 fs/xfs/xfs_ioctl.c if (put_user(0, &u->bmv_iflags) || put_user 1766 fs/xfs/xfs_ioctl.c put_user(p->bmv_oflags, &u->bmv_oflags) || put_user 1767 fs/xfs/xfs_ioctl.c put_user(0, &u->bmv_unused1) || put_user 1768 fs/xfs/xfs_ioctl.c put_user(0, &u->bmv_unused2)) put_user 2175 fs/xfs/xfs_ioctl.c return put_user(inode->i_generation, (int __user *)arg); put_user 93 fs/xfs/xfs_ioctl32.c if (put_user(igrp->xi_startino, &p32->xi_startino) || put_user 94 fs/xfs/xfs_ioctl32.c put_user(igrp->xi_alloccount, &p32->xi_alloccount) || put_user 95 fs/xfs/xfs_ioctl32.c put_user(igrp->xi_allocmask, &p32->xi_allocmask)) put_user 164 fs/xfs/xfs_ioctl32.c if (put_user(sec32, &p32->tv_sec) || put_user 165 fs/xfs/xfs_ioctl32.c put_user(p->tv_nsec, &p32->tv_nsec)) put_user 182 fs/xfs/xfs_ioctl32.c if (put_user(buffer->bs_ino, &p32->bs_ino) || put_user 183 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_mode, &p32->bs_mode) || put_user 184 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_nlink, &p32->bs_nlink) || put_user 185 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_uid, &p32->bs_uid) || put_user 186 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_gid, &p32->bs_gid) || put_user 187 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_rdev, &p32->bs_rdev) || put_user 188 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_blksize, &p32->bs_blksize) || put_user 189 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_size, &p32->bs_size) || put_user 193 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_blocks, &p32->bs_blocks) || put_user 194 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_xflags, &p32->bs_xflags) || put_user 195 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_extsize, &p32->bs_extsize) || put_user 196 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_extents, &p32->bs_extents) || put_user 197 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_gen, &p32->bs_gen) || put_user 198 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_projid, &p32->bs_projid) || put_user 199 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_projid_hi, &p32->bs_projid_hi) || put_user 200 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_forkoff, &p32->bs_forkoff) || put_user 201 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_dmevmask, &p32->bs_dmevmask) || put_user 202 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_dmstate, &p32->bs_dmstate) || put_user 203 fs/xfs/xfs_ioctl32.c put_user(buffer->bs_aextents, &p32->bs_aextents)) put_user 22 include/asm-generic/flat.h return put_user(addr, rp); put_user 66 include/asm-generic/futex.h if (ret == 0 && unlikely(put_user(tmp, uaddr) != 0)) put_user 106 include/asm-generic/futex.h if (val == oldval && unlikely(put_user(newval, uaddr) != 0)) { put_user 54 include/asm-generic/termios-base.h if (put_user(termios->c_iflag, &termio->c_iflag) < 0 || put_user 55 include/asm-generic/termios-base.h put_user(termios->c_oflag, &termio->c_oflag) < 0 || put_user 56 include/asm-generic/termios-base.h put_user(termios->c_cflag, &termio->c_cflag) < 0 || put_user 57 include/asm-generic/termios-base.h put_user(termios->c_lflag, &termio->c_lflag) < 0 || put_user 58 include/asm-generic/termios-base.h put_user(termios->c_line, &termio->c_line) < 0 || put_user 59 include/asm-generic/termios.h if (put_user(termios->c_iflag, &termio->c_iflag) < 0 || put_user 60 include/asm-generic/termios.h put_user(termios->c_oflag, &termio->c_oflag) < 0 || put_user 61 include/asm-generic/termios.h put_user(termios->c_cflag, &termio->c_cflag) < 0 || put_user 62 include/asm-generic/termios.h put_user(termios->c_lflag, &termio->c_lflag) < 0 || put_user 63 include/asm-generic/termios.h put_user(termios->c_line, &termio->c_line) < 0 || put_user 1188 ipc/mqueue.c if ((u_msg_prio && put_user(msg_ptr->m_type, u_msg_prio)) || put_user 1000 ipc/msg.c if (put_user(msg->m_type, &msgp->mtype)) put_user 1243 ipc/msg.c if (put_user(msg->m_type, &msgp->mtype)) put_user 89 ipc/syscall.c return put_user(raddr, (unsigned long __user *) third); put_user 192 ipc/syscall.c return put_user(raddr, (compat_ulong_t __user *)compat_ptr(third)); put_user 3484 kernel/bpf/btf.c put_user(info_copy, &uattr->info.info_len)) put_user 1131 kernel/bpf/cgroup.c put_user(ctx.optlen, optlen)) { put_user 2151 kernel/bpf/syscall.c err = put_user(next_id, &uattr->next_id); put_user 2364 kernel/bpf/syscall.c if (put_user(prog->aux->used_maps[i]->id, put_user 2481 kernel/bpf/syscall.c if (put_user((u64) ksym_addr, put_user 2487 kernel/bpf/syscall.c if (put_user((u64) ksym_addr, &user_ksyms[0])) put_user 2509 kernel/bpf/syscall.c if (put_user(func_len, &user_lens[i])) put_user 2514 kernel/bpf/syscall.c if (put_user(func_len, &user_lens[0])) put_user 2562 kernel/bpf/syscall.c if (put_user((__u64)(long)prog->aux->jited_linfo[i], put_user 2595 kernel/bpf/syscall.c put_user(info_len, &uattr->info.info_len)) put_user 2637 kernel/bpf/syscall.c put_user(info_len, &uattr->info.info_len)) put_user 2725 kernel/bpf/syscall.c if (put_user(len, &uattr->task_fd_query.buf_len)) put_user 2733 kernel/bpf/syscall.c if (put_user(zero, ubuf)) put_user 2748 kernel/bpf/syscall.c if (put_user(zero, ubuf + input_len - 1)) put_user 2753 kernel/bpf/syscall.c if (put_user(prog_id, &uattr->task_fd_query.prog_id) || put_user 2754 kernel/bpf/syscall.c put_user(fd_type, &uattr->task_fd_query.fd_type) || put_user 2755 kernel/bpf/syscall.c put_user(probe_offset, &uattr->task_fd_query.probe_offset) || put_user 2756 kernel/bpf/syscall.c put_user(probe_addr, &uattr->task_fd_query.probe_addr)) put_user 6533 kernel/bpf/verifier.c if (put_user(min_size, &uattr->func_info_rec_size)) put_user 6647 kernel/bpf/verifier.c if (put_user(expected_size, put_user 101 kernel/capability.c if (put_user((u32)_KERNEL_CAPABILITY_VERSION, &header->version)) put_user 162 kernel/compat.c if (put_user(old_set, oset)) put_user 10741 kernel/events/core.c put_user(sizeof(*attr), &uattr->size); put_user 1619 kernel/exit.c if (ret > 0 && stat_addr && put_user(wo.wo_stat, stat_addr)) put_user 1305 kernel/fork.c put_user(0, tsk->clear_child_tid); put_user 2053 kernel/fork.c retval = put_user(pidfd, args->pidfd); put_user 2372 kernel/fork.c put_user(nr, args->parent_tid); put_user 3548 kernel/futex.c if (put_user(sizeof(*head), len_ptr)) put_user 3550 kernel/futex.c return put_user(head, head_ptr); put_user 4109 kernel/futex.c if (put_user(sizeof(*head), len_ptr)) put_user 4111 kernel/futex.c return put_user(ptr_to_compat(head), head_ptr); put_user 52 kernel/groups.c if (put_user(gid, grouplist+i)) put_user 260 kernel/power/user.c error = put_user(in_suspend, (int __user *)arg); put_user 302 kernel/power/user.c error = put_user(size, (loff_t __user *)arg); put_user 308 kernel/power/user.c error = put_user(size, (loff_t __user *)arg); put_user 319 kernel/power/user.c error = put_user(offset, (loff_t __user *)arg); put_user 422 kernel/power/user.c if (!err && put_user(offset, uoffset)) put_user 481 kernel/profile.c if (put_user(*((char *)(&sample_step)+p), buf)) put_user 1027 kernel/ptrace.c ret = put_user(child->ptrace_message, datalp); put_user 1175 kernel/ptrace.c ret = put_user(tmp, datalp); put_user 1296 kernel/ptrace.c return put_user(tmp, (unsigned long __user *)data); put_user 1327 kernel/ptrace.c ret = put_user(word, datap); put_user 1338 kernel/ptrace.c ret = put_user((compat_ulong_t) child->ptrace_message, datap); put_user 88 kernel/rseq.c if (put_user(cpu_id, &t->rseq->cpu_id_start)) put_user 90 kernel/rseq.c if (put_user(cpu_id, &t->rseq->cpu_id)) put_user 103 kernel/rseq.c if (put_user(cpu_id_start, &t->rseq->cpu_id_start)) put_user 110 kernel/rseq.c if (put_user(cpu_id, &t->rseq->cpu_id)) put_user 3320 kernel/sched/core.c put_user(task_pid_vnr(current), current->set_child_tid); put_user 5150 kernel/sched/core.c put_user(sizeof(*attr), &uattr->size); put_user 4172 kernel/signal.c return put_user(set.sig[0], set32); put_user 4293 kernel/signal.c ret = put_user(ptr_to_compat(old_ka.sa.sa_handler), put_user 4297 kernel/signal.c ret |= put_user(old_ka.sa.sa_flags, &oact->sa_flags); put_user 4299 kernel/signal.c ret |= put_user(ptr_to_compat(old_ka.sa.sa_restorer), put_user 701 kernel/sys.c retval = put_user(ruid, ruidp); put_user 703 kernel/sys.c retval = put_user(euid, euidp); put_user 705 kernel/sys.c return put_user(suid, suidp); put_user 780 kernel/sys.c retval = put_user(rgid, rgidp); put_user 782 kernel/sys.c retval = put_user(egid, egidp); put_user 784 kernel/sys.c retval = put_user(sgid, sgidp); put_user 1484 kernel/sys.c if (put_user(r.rlim_cur, &rlim->rlim_cur) || put_user 1485 kernel/sys.c put_user(r.rlim_max, &rlim->rlim_max)) put_user 1960 kernel/sys.c return put_user((unsigned int)sizeof(prctl_map), put_user 2224 kernel/sys.c return put_user(me->clear_child_tid, tid_addr); put_user 2283 kernel/sys.c error = put_user(me->pdeath_signal, (int __user *)arg2); put_user 2419 kernel/sys.c error = put_user(me->signal->is_child_subreaper, put_user 2503 kernel/sys.c err |= put_user(cpu, cpup); put_user 2505 kernel/sys.c err |= put_user(cpu_to_node(cpu), nodep); put_user 2057 kernel/sysctl.c if (put_user('\n', buffer + len)) put_user 2281 kernel/sysctl.c if (put_user(c, *buffer)) put_user 937 kernel/sysctl_binary.c if (put_user('\0', lastp)) put_user 990 kernel/sysctl_binary.c if (put_user(value, vec + i)) put_user 1063 kernel/sysctl_binary.c if (put_user(value, vec + i)) put_user 1171 kernel/sysctl_binary.c if (put_user(dnaddr, (__le16 __user *)oldval)) put_user 1425 kernel/sysctl_binary.c if (tmp.oldlenp && put_user(oldlen, tmp.oldlenp)) put_user 1470 kernel/sysctl_binary.c if (compat_oldlenp && put_user(oldlen, compat_oldlenp)) put_user 67 kernel/time/time.c if (put_user(i,tloc)) put_user 112 kernel/time/time.c if (put_user(i,tloc)) put_user 147 kernel/time/time.c if (put_user(ts.tv_sec, &tv->tv_sec) || put_user 148 kernel/time/time.c put_user(ts.tv_nsec / 1000, &tv->tv_usec)) put_user 232 kernel/time/time.c if (put_user(ts.tv_sec, &tv->tv_sec) || put_user 233 kernel/time/time.c put_user(ts.tv_nsec / 1000, &tv->tv_usec)) put_user 74 kernel/uid16.c if (!(retval = put_user(ruid, ruidp)) && put_user 75 kernel/uid16.c !(retval = put_user(euid, euidp))) put_user 76 kernel/uid16.c retval = put_user(suid, suidp); put_user 97 kernel/uid16.c if (!(retval = put_user(rgid, rgidp)) && put_user 98 kernel/uid16.c !(retval = put_user(egid, egidp))) put_user 99 kernel/uid16.c retval = put_user(sgid, sgidp); put_user 125 kernel/uid16.c if (put_user(group, grouplist+i)) put_user 225 lib/test_user_copy.c ret |= test(put_user(val_##size, (size __user *)usermem), \ put_user 298 lib/test_user_copy.c ret |= test(!put_user(val_##size, (size __user *)kmem), \ put_user 1576 mm/mempolicy.c if (policy && put_user(pval, policy)) put_user 1493 mm/migrate.c if (put_user(value, status + start)) put_user 1871 mm/migrate.c put_user(compat_ptr(p), pages + i)) put_user 1793 net/appletalk/ddp.c rc = put_user(amount, (int __user *)argp); put_user 1806 net/appletalk/ddp.c rc = put_user(amount, (int __user *)argp); put_user 813 net/atm/common.c return put_user(vcc->atm_options & ATM_ATMOPT_CLP ? 1 : 0, put_user 68 net/atm/ioctl.c error = put_user(sk->sk_sndbuf - sk_wmem_alloc_get(sk), put_user 80 net/atm/ioctl.c error = put_user(skb ? skb->len : 0, put_user 246 net/atm/ioctl.c if (put_user(len, &iobuf->length) || put_user 247 net/atm/ioctl.c put_user(datap, &iobuf->buffer)) put_user 277 net/atm/ioctl.c if (put_user(datap, &sioc->arg)) put_user 373 net/atm/pppoatm.c return put_user(chan_to_pvcc(chan)->flags, (int __user *) arg) put_user 464 net/atm/pppoatm.c return put_user(ppp_channel_index(&atmvcc_to_pvcc(atmvcc)-> put_user 467 net/atm/pppoatm.c return put_user(ppp_unit_number(&atmvcc_to_pvcc(atmvcc)-> put_user 244 net/atm/resources.c put_user(size, iobuf_len)) put_user 395 net/atm/resources.c error = put_user(size, sioc_len) ? -EFAULT : 0; put_user 438 net/atm/resources.c error = put_user(size, sioc_len) ? -EFAULT : 0; put_user 772 net/ax25/af_ax25.c if (put_user(length, optlen)) put_user 1704 net/ax25/af_ax25.c res = put_user(amount, (int __user *)argp); put_user 1714 net/ax25/af_ax25.c res = put_user(amount, (int __user *) argp); put_user 510 net/bluetooth/af_bluetooth.c err = put_user(amount, (int __user *) arg); put_user 521 net/bluetooth/af_bluetooth.c err = put_user(amount, (int __user *) arg); put_user 161 net/bluetooth/bnep/sock.c if (!err && put_user(cl.cnum, p)) put_user 164 net/bluetooth/cmtp/sock.c if (!err && put_user(cl.cnum, p)) put_user 1931 net/bluetooth/hci_sock.c if (put_user(opt, optval)) put_user 1941 net/bluetooth/hci_sock.c if (put_user(opt, optval)) put_user 167 net/bluetooth/hidp/sock.c if (!err && put_user(cl.cnum, p)) put_user 463 net/bluetooth/l2cap_sock.c if (put_user(opt, (u32 __user *) optval)) put_user 548 net/bluetooth/l2cap_sock.c if (put_user(test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags), put_user 555 net/bluetooth/l2cap_sock.c if (put_user(test_bit(FLAG_FLUSHABLE, &chan->flags), put_user 577 net/bluetooth/l2cap_sock.c if (put_user(chan->chan_policy, (u32 __user *) optval)) put_user 592 net/bluetooth/l2cap_sock.c if (put_user(chan->omtu, (u16 __user *) optval)) put_user 602 net/bluetooth/l2cap_sock.c if (put_user(chan->imtu, (u16 __user *) optval)) put_user 800 net/bluetooth/rfcomm/sock.c if (put_user(opt, (u32 __user *) optval)) put_user 875 net/bluetooth/rfcomm/sock.c if (put_user(test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags), put_user 944 net/bluetooth/sco.c if (put_user(test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags), put_user 76 net/bridge/netfilter/ebt_mark.c if (put_user(kern->mark, &user->mark) || put_user 77 net/bridge/netfilter/ebt_mark.c put_user(kern->target, &user->target)) put_user 62 net/bridge/netfilter/ebt_mark_m.c if (put_user(kern->mark, &user->mark) || put_user 63 net/bridge/netfilter/ebt_mark_m.c put_user(kern->mask, &user->mask) || put_user 64 net/bridge/netfilter/ebt_mark_m.c put_user(kern->invert, &user->invert) || put_user 65 net/bridge/netfilter/ebt_mark_m.c put_user(kern->bitmask, &user->bitmask)) put_user 1320 net/bridge/netfilter/ebtables.c put_user(revision, (u8 __user *)(um + EBT_EXTENSION_MAXNAMELEN)) || put_user 1321 net/bridge/netfilter/ebtables.c put_user(datasize, (int __user *)(um + EBT_EXTENSION_MAXNAMELEN + 1)) || put_user 1601 net/bridge/netfilter/ebtables.c put_user(match->revision, &cm->u.revision) || put_user 1602 net/bridge/netfilter/ebtables.c put_user(msize, &cm->match_size)) put_user 1633 net/bridge/netfilter/ebtables.c put_user(target->revision, &cm->u.revision) || put_user 1634 net/bridge/netfilter/ebtables.c put_user(tsize, &cm->match_size)) put_user 1707 net/bridge/netfilter/ebtables.c if (put_user(watchers_offset, &ce->watchers_offset) || put_user 1708 net/bridge/netfilter/ebtables.c put_user(target_offset, &ce->target_offset) || put_user 1709 net/bridge/netfilter/ebtables.c put_user(next_offset, &ce->next_offset)) put_user 761 net/can/j1939/socket.c else if (put_user(len, optlen)) put_user 680 net/can/raw.c err = put_user(len, optlen); put_user 717 net/can/raw.c if (put_user(len, optlen)) put_user 288 net/compat.c err = put_user(new_fd, cmfptr); put_user 299 net/compat.c err = put_user(SOL_SOCKET, &cm->cmsg_level); put_user 301 net/compat.c err = put_user(SCM_RIGHTS, &cm->cmsg_type); put_user 303 net/compat.c err = put_user(cmlen, &cm->cmsg_len); put_user 314 net/core/scm.c err = put_user(new_fd, cmfptr); put_user 331 net/core/scm.c err = put_user(SOL_SOCKET, &cm->cmsg_level); put_user 333 net/core/scm.c err = put_user(SCM_RIGHTS, &cm->cmsg_type); put_user 335 net/core/scm.c err = put_user(cmlen, &cm->cmsg_len); put_user 679 net/core/sock.c if (put_user(len, optlen)) put_user 1209 net/core/sock.c if (put_user(from_kgid_munged(user_ns, src->gid[i]), dst + i)) put_user 1379 net/core/sock.c return put_user(len, optlen) ? -EFAULT : -ERANGE; put_user 1542 net/core/sock.c if (put_user(len, optlen)) put_user 69 net/dccp/ccid.c if (put_user(array_len, optlen)) put_user 541 net/dccp/ccids/ccid3.c if (put_user(len, optlen) || copy_to_user(optval, val, len)) put_user 830 net/dccp/ccids/ccid3.c if (put_user(len, optlen) || copy_to_user(optval, val, len)) put_user 390 net/dccp/proto.c rc = put_user(amount, (int __user *)arg); put_user 610 net/dccp/proto.c if (put_user(total_len, optlen) || put_user 611 net/dccp/proto.c put_user(dp->dccps_service, optval) || put_user 681 net/dccp/proto.c if (put_user(len, optlen) || copy_to_user(optval, &val, len)) put_user 1241 net/decnet/af_decnet.c err = put_user(amount, (int __user *)arg); put_user 1254 net/decnet/af_decnet.c err = put_user(amount, (int __user *)arg); put_user 1521 net/decnet/af_decnet.c err = put_user(len, optlen); put_user 1632 net/decnet/af_decnet.c if (put_user(r_len, optlen)) put_user 538 net/ieee802154/socket.c return put_user(amount, (int __user *)arg); put_user 557 net/ieee802154/socket.c return put_user(amount, (int __user *)arg); put_user 871 net/ieee802154/socket.c if (put_user(len, optlen)) put_user 2557 net/ipv4/igmp.c if (put_user(IP_MSFILTER_SIZE(copycount), optlen) || put_user 2602 net/ipv4/igmp.c if (put_user(GROUP_FILTER_SIZE(copycount), optlen) || put_user 1349 net/ipv4/ip_sockglue.c return put_user(0, optlen); put_user 1354 net/ipv4/ip_sockglue.c if (put_user(len, optlen)) put_user 1444 net/ipv4/ip_sockglue.c if (put_user(len, optlen)) put_user 1516 net/ipv4/ip_sockglue.c return put_user(len, optlen); put_user 1536 net/ipv4/ip_sockglue.c if (put_user(len, optlen)) put_user 1542 net/ipv4/ip_sockglue.c if (put_user(len, optlen)) put_user 1578 net/ipv4/ip_sockglue.c err = put_user(len, optlen); put_user 1615 net/ipv4/ip_sockglue.c err = put_user(len, optlen); put_user 1602 net/ipv4/ipmr.c if (put_user(olr, optlen)) put_user 1349 net/ipv4/netfilter/arp_tables.c if (put_user(target_offset, &ce->target_offset) != 0 || put_user 1350 net/ipv4/netfilter/arp_tables.c put_user(next_offset, &ce->next_offset) != 0) put_user 1250 net/ipv4/netfilter/ip_tables.c if (put_user(target_offset, &ce->target_offset) != 0 || put_user 1251 net/ipv4/netfilter/ip_tables.c put_user(next_offset, &ce->next_offset) != 0) put_user 833 net/ipv4/raw.c if (put_user(len, optlen) || put_user 906 net/ipv4/raw.c return put_user(amount, (int __user *)arg); put_user 917 net/ipv4/raw.c return put_user(amount, (int __user *)arg); put_user 644 net/ipv4/tcp.c return put_user(answ, (int __user *)arg); put_user 3474 net/ipv4/tcp.c if (put_user(len, optlen)) put_user 3494 net/ipv4/tcp.c if (put_user(len, optlen)) put_user 3508 net/ipv4/tcp.c if (put_user(len, optlen)) put_user 3519 net/ipv4/tcp.c if (put_user(0, optlen)) put_user 3523 net/ipv4/tcp.c if (put_user(len, optlen)) put_user 3547 net/ipv4/tcp.c if (put_user(len, optlen)) put_user 3642 net/ipv4/tcp.c if (put_user(tp->saved_syn[0], optlen)) { put_user 3650 net/ipv4/tcp.c if (put_user(len, optlen)) { put_user 3663 net/ipv4/tcp.c if (put_user(len, optlen)) put_user 3691 net/ipv4/tcp.c if (put_user(len, optlen)) put_user 1634 net/ipv4/udp.c return put_user(amount, (int __user *)arg); put_user 1641 net/ipv4/udp.c return put_user(amount, (int __user *)arg); put_user 2705 net/ipv4/udp.c if (put_user(len, optlen)) put_user 1838 net/ipv6/ip6mr.c if (put_user(olr, optlen)) put_user 1121 net/ipv6/ipv6_sockglue.c return put_user(len, optlen); put_user 1181 net/ipv6/ipv6_sockglue.c return put_user(len, optlen); put_user 1235 net/ipv6/ipv6_sockglue.c if (put_user(len, optlen)) put_user 1329 net/ipv6/ipv6_sockglue.c if (put_user(len, optlen)) put_user 1379 net/ipv6/ipv6_sockglue.c if (put_user(len, optlen)) put_user 1408 net/ipv6/ipv6_sockglue.c err = put_user(len, optlen); put_user 1447 net/ipv6/ipv6_sockglue.c err = put_user(len, optlen); put_user 595 net/ipv6/mcast.c if (put_user(GROUP_FILTER_SIZE(copycount), optlen) || put_user 1266 net/ipv6/netfilter/ip6_tables.c if (put_user(target_offset, &ce->target_offset) != 0 || put_user 1267 net/ipv6/netfilter/ip6_tables.c put_user(next_offset, &ce->next_offset) != 0) put_user 1004 net/ipv6/raw.c if (put_user(len, optlen)) put_user 1142 net/ipv6/raw.c if (put_user(len, optlen)) put_user 1202 net/ipv6/raw.c return put_user(amount, (int __user *)arg); put_user 1213 net/ipv6/raw.c return put_user(amount, (int __user *)arg); put_user 349 net/ipv6/sit.c if ((len && copy_to_user(a + 1, kp, len)) || put_user(len, &a->datalen)) put_user 1726 net/iucv/af_iucv.c if (put_user(len, optlen)) put_user 1327 net/kcm/kcmsock.c if (put_user(len, optlen)) put_user 593 net/l2tp/l2tp_ip.c return put_user(amount, (int __user *)arg); put_user 1081 net/l2tp/l2tp_ppp.c if (put_user(0, (int __user *)arg)) put_user 1407 net/l2tp/l2tp_ppp.c if (put_user(len, optlen)) put_user 1175 net/llc/af_llc.c if (put_user(len, optlen) || copy_to_user(optval, &val, len)) put_user 277 net/netfilter/x_tables.c if (put_user(size, psize)) put_user 281 net/netfilter/x_tables.c if (put_user(rev, prev)) put_user 1744 net/netlink/af_netlink.c if (put_user(len, optlen) || put_user 1745 net/netlink/af_netlink.c put_user(val, optval)) put_user 1754 net/netlink/af_netlink.c if (put_user(len, optlen) || put_user 1755 net/netlink/af_netlink.c put_user(val, optval)) put_user 1764 net/netlink/af_netlink.c if (put_user(len, optlen) || put_user 1765 net/netlink/af_netlink.c put_user(val, optval)) put_user 1780 net/netlink/af_netlink.c if (put_user((u32)(nlk->groups[idx] >> shift), put_user 1786 net/netlink/af_netlink.c if (put_user(ALIGN(nlk->ngroups / 8, sizeof(u32)), optlen)) put_user 1796 net/netlink/af_netlink.c if (put_user(len, optlen) || put_user 1797 net/netlink/af_netlink.c put_user(val, optval)) put_user 1806 net/netlink/af_netlink.c if (put_user(len, optlen) || put_user(val, optval)) put_user 1815 net/netlink/af_netlink.c if (put_user(len, optlen) || put_user(val, optval)) put_user 370 net/netrom/af_netrom.c if (put_user(len, optlen)) put_user 1189 net/netrom/af_netrom.c return put_user(amount, (int __user *)argp); put_user 1201 net/netrom/af_netrom.c return put_user(amount, (int __user *)argp); put_user 322 net/nfc/llcp_sock.c if (put_user(rw, (u32 __user *) optval)) put_user 331 net/nfc/llcp_sock.c if (put_user(miux, (u32 __user *) optval)) put_user 340 net/nfc/llcp_sock.c if (put_user(remote_miu, (u32 __user *) optval)) put_user 346 net/nfc/llcp_sock.c if (put_user(local->remote_lto / 10, (u32 __user *) optval)) put_user 352 net/nfc/llcp_sock.c if (put_user(llcp_sock->remote_rw, (u32 __user *) optval)) put_user 364 net/nfc/llcp_sock.c if (put_user(len, optlen)) put_user 4035 net/packet/af_packet.c if (put_user(len, optlen)) put_user 4125 net/packet/af_packet.c return put_user(amount, (int __user *)arg); put_user 4137 net/packet/af_packet.c return put_user(amount, (int __user *)arg); put_user 42 net/phonet/datagram.c return put_user(answ, (int __user *)arg); put_user 940 net/phonet/pep.c ret = put_user(answ, (int __user *)arg); put_user 1074 net/phonet/pep.c if (put_user(len, optlen)) put_user 1076 net/phonet/pep.c if (put_user(val, (int __user *) optval)) put_user 388 net/phonet/socket.c return put_user(handle, (__u16 __user *)arg); put_user 945 net/qrtr/qrtr.c rc = put_user(len, (int __user *)argp); put_user 951 net/qrtr/qrtr.c rc = put_user(len, (int __user *)argp); put_user 283 net/rds/af_rds.c if (put_user(tos, (rds_tos_t __user *)arg)) put_user 510 net/rds/af_rds.c if (put_user(rs->rs_recverr, (int __user *) optval) || put_user 511 net/rds/af_rds.c put_user(sizeof(int), optlen)) put_user 523 net/rds/af_rds.c if (put_user(trans, (int __user *)optval) || put_user 524 net/rds/af_rds.c put_user(sizeof(int), optlen)) put_user 234 net/rds/info.c if (put_user(len, optlen)) put_user 298 net/rds/rdma.c if (args->cookie_addr && put_user(cookie, (u64 __user *)(unsigned long) args->cookie_addr)) { put_user 457 net/rose/af_rose.c if (put_user(len, optlen)) put_user 1267 net/rose/af_rose.c return put_user(amount, (unsigned int __user *) argp); put_user 1276 net/rose/af_rose.c return put_user(amount, (unsigned int __user *) argp); put_user 691 net/rxrpc/af_rxrpc.c if (put_user(RXRPC__SUPPORTED - 1, (int __user *)optval) || put_user 692 net/rxrpc/af_rxrpc.c put_user(sizeof(int), _optlen)) put_user 1428 net/sctp/socket.c if (put_user(sizeof(assoc_id), optlen)) put_user 4970 net/sctp/socket.c rc = put_user(amount, (int __user *)arg); put_user 5492 net/sctp/socket.c if (put_user(len, optlen)) { put_user 5552 net/sctp/socket.c if (put_user(len, optlen)) { put_user 5583 net/sctp/socket.c if (put_user(len, optlen)) put_user 5606 net/sctp/socket.c if (put_user(len, optlen)) put_user 5638 net/sctp/socket.c if (put_user(len, optlen)) put_user 5640 net/sctp/socket.c if (put_user(sctp_sk(sk)->autoclose, (int __user *)optval)) put_user 5749 net/sctp/socket.c if (put_user(len, optlen)) { put_user 5784 net/sctp/socket.c if (put_user(len, optlen)) { put_user 6034 net/sctp/socket.c if (put_user(len, optlen)) put_user 6132 net/sctp/socket.c if (put_user(len, optlen)) put_user 6154 net/sctp/socket.c if (put_user(len, optlen)) put_user 6204 net/sctp/socket.c if (put_user(cnt, &((struct sctp_getaddrs __user *)optval)->addr_num)) put_user 6207 net/sctp/socket.c if (put_user(bytes_copied, optlen)) put_user 6346 net/sctp/socket.c if (put_user(cnt, &((struct sctp_getaddrs __user *)optval)->addr_num)) { put_user 6353 net/sctp/socket.c if (put_user(bytes_copied, optlen)) put_user 6394 net/sctp/socket.c if (put_user(len, optlen)) put_user 6420 net/sctp/socket.c if (put_user(len, optlen)) put_user 6482 net/sctp/socket.c if (put_user(len, optlen)) put_user 6526 net/sctp/socket.c if (put_user(len, optlen)) put_user 6554 net/sctp/socket.c if (put_user(len, optlen)) put_user 6607 net/sctp/socket.c if (put_user(len, optlen)) put_user 6677 net/sctp/socket.c if (put_user(len, optlen)) put_user 6707 net/sctp/socket.c if (put_user(len, optlen)) put_user 6741 net/sctp/socket.c if (put_user(len, optlen)) put_user 6806 net/sctp/socket.c if (put_user(len, optlen)) put_user 6834 net/sctp/socket.c if (put_user(len, optlen)) put_user 6858 net/sctp/socket.c if (put_user(len, optlen)) put_user 6933 net/sctp/socket.c if (put_user(len, optlen)) put_user 6935 net/sctp/socket.c if (put_user(num_idents, &p->shmac_num_idents)) put_user 6974 net/sctp/socket.c if (put_user(len, optlen)) put_user 7019 net/sctp/socket.c if (put_user(len, optlen)) put_user 7021 net/sctp/socket.c if (put_user(num_chunks, &p->gauth_number_of_chunks)) put_user 7069 net/sctp/socket.c if (put_user(len, optlen)) put_user 7071 net/sctp/socket.c if (put_user(num_chunks, &p->gauth_number_of_chunks)) put_user 7101 net/sctp/socket.c if (put_user(len, optlen)) put_user 7124 net/sctp/socket.c if (put_user(len, optlen)) put_user 7171 net/sctp/socket.c if (put_user(len, optlen) || copy_to_user(optval, ids, len)) { put_user 7230 net/sctp/socket.c if (put_user(len, optlen) || copy_to_user(optval, &val, len)) put_user 7289 net/sctp/socket.c if (put_user(len, optlen)) put_user 7312 net/sctp/socket.c if (put_user(len, optlen)) put_user 7332 net/sctp/socket.c if (put_user(len, optlen)) put_user 7367 net/sctp/socket.c if (put_user(len, optlen)) put_user 7413 net/sctp/socket.c if (put_user(len, optlen)) put_user 7468 net/sctp/socket.c if (put_user(len, optlen)) { put_user 7537 net/sctp/socket.c if (put_user(len, optlen) || copy_to_user(optval, ¶ms, len)) { put_user 7575 net/sctp/socket.c if (put_user(len, optlen)) put_user 7614 net/sctp/socket.c if (put_user(len, optlen)) put_user 7653 net/sctp/socket.c if (put_user(len, optlen)) put_user 7693 net/sctp/socket.c if (put_user(len, optlen)) { put_user 7734 net/sctp/socket.c if (put_user(len, optlen)) put_user 7757 net/sctp/socket.c if (put_user(len, optlen)) put_user 7792 net/sctp/socket.c if (put_user(len, optlen)) put_user 7828 net/sctp/socket.c if (put_user(len, optlen)) put_user 7867 net/sctp/socket.c if (put_user(len, optlen)) put_user 7906 net/sctp/socket.c if (put_user(len, optlen)) put_user 1865 net/smc/af_smc.c return put_user(answ, (int __user *)arg); put_user 1123 net/socket.c err = put_user(f_getown(sock->file), put_user 1556 net/socket.c err = put_user(fd1, &usockvec[0]); put_user 1560 net/socket.c err = put_user(fd2, &usockvec[1]); put_user 2459 net/socket.c err = put_user(err, &entry->msg_len); put_user 2687 net/socket.c err = put_user(err, &entry->msg_len); put_user 3165 net/socket.c if (put_user(rule_cnt, &rxnfc->rule_cnt)) put_user 3323 net/socket.c err |= put_user(ifr.ifr_map.mem_start, &uifmap32->mem_start); put_user 3324 net/socket.c err |= put_user(ifr.ifr_map.mem_end, &uifmap32->mem_end); put_user 3325 net/socket.c err |= put_user(ifr.ifr_map.base_addr, &uifmap32->base_addr); put_user 3326 net/socket.c err |= put_user(ifr.ifr_map.irq, &uifmap32->irq); put_user 3327 net/socket.c err |= put_user(ifr.ifr_map.dma, &uifmap32->dma); put_user 3328 net/socket.c err |= put_user(ifr.ifr_map.port, &uifmap32->port); put_user 1007 net/sunrpc/cache.c return put_user(len, (int __user *)arg); put_user 380 net/sunrpc/rpc_pipe.c return put_user(len, (int __user *)arg); put_user 127 net/sunrpc/sysctl.c if (put_user('\n', (char __user *)buffer + len)) put_user 3050 net/tipc/socket.c return put_user(0, ol); put_user 3103 net/tipc/socket.c return put_user(sizeof(value), ol); put_user 2578 net/unix/af_unix.c err = put_user(amount, (int __user *)arg); put_user 2585 net/unix/af_unix.c err = put_user(amount, (int __user *)arg); put_user 1508 net/vmw_vsock/af_vsock.c err = put_user(len, optlen); put_user 1885 net/vmw_vsock/af_vsock.c if (put_user(transport->get_local_cid(), p) != 0) put_user 480 net/x25/af_x25.c if (put_user(len, optlen)) put_user 1381 net/x25/af_x25.c rc = put_user(amount, (unsigned int __user *)argp); put_user 1396 net/x25/af_x25.c rc = put_user(amount, (unsigned int __user *)argp); put_user 878 net/xdp/xsk.c if (put_user(sizeof(stats), optlen)) put_user 930 net/xdp/xsk.c if (put_user(len, optlen)) put_user 950 net/xdp/xsk.c if (put_user(len, optlen)) put_user 1083 security/apparmor/lsm.c if (put_user(slen, optlen)) put_user 5093 security/selinux/hooks.c if (put_user(scontext_len, optlen)) put_user 3968 security/smack/smack_lsm.c if (put_user(slen, optlen) != 0) put_user 907 sound/core/compress_offload.c retval = put_user(SNDRV_COMPRESS_VERSION, put_user 1392 sound/core/control.c if (put_user(subscribe, ptr)) put_user 1525 sound/core/control.c return put_user(SNDRV_CTL_VERSION, ip) ? -EFAULT : 0; put_user 1567 sound/core/control.c return put_user(card->power_state, ip) ? -EFAULT : 0; put_user 1569 sound/core/control.c return put_user(SNDRV_CTL_POWER_D0, ip) ? -EFAULT : 0; put_user 36 sound/core/control_compat.c put_user(compat_ptr(ptr), &data->pids)) put_user 113 sound/core/control_compat.c if (put_user(data->owner, &data32->owner)) put_user 118 sound/core/control_compat.c if (put_user(data->value.integer.min, &data32->value.integer.min) || put_user 119 sound/core/control_compat.c put_user(data->value.integer.max, &data32->value.integer.max) || put_user 120 sound/core/control_compat.c put_user(data->value.integer.step, &data32->value.integer.step)) put_user 277 sound/core/control_compat.c if (put_user(val, &intp[i])) put_user 235 sound/core/hwdep.c return put_user(SNDRV_HWDEP_VERSION, (int __user *)argp); put_user 284 sound/core/hwdep.c if (put_user(device, (int __user *)arg)) put_user 32 sound/core/hwdep_compat.c put_user(compat_ptr(ptr), &dst->image)) put_user 35 sound/core/hwdep_compat.c put_user(val, &dst->length)) put_user 38 sound/core/hwdep_compat.c put_user(val, &dst->driver_data)) put_user 317 sound/core/oss/mixer_oss.c return put_user(tmp, p); put_user 319 sound/core/oss/mixer_oss.c return put_user(SNDRV_OSS_VERSION, p); put_user 321 sound/core/oss/mixer_oss.c return put_user(1, p); put_user 326 sound/core/oss/mixer_oss.c return put_user(tmp, p); put_user 331 sound/core/oss/mixer_oss.c return put_user(tmp, p); put_user 336 sound/core/oss/mixer_oss.c return put_user(tmp, p); put_user 341 sound/core/oss/mixer_oss.c return put_user(tmp, p); put_user 346 sound/core/oss/mixer_oss.c return put_user(tmp, p); put_user 355 sound/core/oss/mixer_oss.c return put_user(tmp, p); put_user 360 sound/core/oss/mixer_oss.c return put_user(tmp, p); put_user 2563 sound/core/oss/pcm_oss.c return put_user(SNDRV_OSS_VERSION, p); put_user 2565 sound/core/oss/pcm_oss.c return put_user(1, p); put_user 2595 sound/core/oss/pcm_oss.c return put_user(res, p); put_user 2600 sound/core/oss/pcm_oss.c return put_user(res, p); put_user 2607 sound/core/oss/pcm_oss.c return put_user(--res, p); put_user 2612 sound/core/oss/pcm_oss.c return put_user(res, p); put_user 2619 sound/core/oss/pcm_oss.c return put_user(res, p); put_user 2624 sound/core/oss/pcm_oss.c return put_user(res, p); put_user 2631 sound/core/oss/pcm_oss.c return put_user(res, p); put_user 2636 sound/core/oss/pcm_oss.c return put_user(res, p); put_user 2648 sound/core/oss/pcm_oss.c return put_user(res, p); put_user 2657 sound/core/oss/pcm_oss.c return put_user(res, p); put_user 2670 sound/core/oss/pcm_oss.c return put_user(res, p); put_user 2675 sound/core/oss/pcm_oss.c return put_user(res, p); put_user 2703 sound/core/oss/pcm_oss.c put_user(0, p); put_user 2706 sound/core/oss/pcm_oss.c return put_user(res, p); put_user 97 sound/core/pcm.c if (put_user(device, (int __user *)arg)) put_user 21 sound/core/pcm_compat.c if (put_user(delay, src)) put_user 35 sound/core/pcm_compat.c if (put_user(err, src)) put_user 49 sound/core/pcm_compat.c if (put_user(err, src)) put_user 129 sound/core/pcm_compat.c if (boundary && put_user(boundary, &src->boundary)) put_user 155 sound/core/pcm_compat.c if (put_user(info.channel, &src->channel) || put_user 156 sound/core/pcm_compat.c put_user(info.offset, &src->offset) || put_user 157 sound/core/pcm_compat.c put_user(info.first, &src->first) || put_user 158 sound/core/pcm_compat.c put_user(info.step, &src->step)) put_user 212 sound/core/pcm_compat.c if (put_user(status.state, &src->state) || put_user 215 sound/core/pcm_compat.c put_user(status.appl_ptr, &src->appl_ptr) || put_user 216 sound/core/pcm_compat.c put_user(status.hw_ptr, &src->hw_ptr) || put_user 217 sound/core/pcm_compat.c put_user(status.delay, &src->delay) || put_user 218 sound/core/pcm_compat.c put_user(status.avail, &src->avail) || put_user 219 sound/core/pcm_compat.c put_user(status.avail_max, &src->avail_max) || put_user 220 sound/core/pcm_compat.c put_user(status.overrange, &src->overrange) || put_user 221 sound/core/pcm_compat.c put_user(status.suspended_state, &src->suspended_state) || put_user 222 sound/core/pcm_compat.c put_user(status.audio_tstamp_data, &src->audio_tstamp_data) || put_user 225 sound/core/pcm_compat.c put_user(status.audio_tstamp_accuracy, &src->audio_tstamp_accuracy)) put_user 276 sound/core/pcm_compat.c if (put_user(status.state, &src->state) || put_user 279 sound/core/pcm_compat.c put_user(status.appl_ptr, &src->appl_ptr) || put_user 280 sound/core/pcm_compat.c put_user(status.hw_ptr, &src->hw_ptr) || put_user 281 sound/core/pcm_compat.c put_user(status.delay, &src->delay) || put_user 282 sound/core/pcm_compat.c put_user(status.avail, &src->avail) || put_user 283 sound/core/pcm_compat.c put_user(status.avail_max, &src->avail_max) || put_user 284 sound/core/pcm_compat.c put_user(status.overrange, &src->overrange) || put_user 285 sound/core/pcm_compat.c put_user(status.suspended_state, &src->suspended_state) || put_user 286 sound/core/pcm_compat.c put_user(status.audio_tstamp_data, &src->audio_tstamp_data) || put_user 289 sound/core/pcm_compat.c put_user(status.audio_tstamp_accuracy, &src->audio_tstamp_accuracy)) put_user 325 sound/core/pcm_compat.c put_user(data->fifo_size, &data32->fifo_size)) { put_user 374 sound/core/pcm_compat.c if (put_user(err, &data32->result)) put_user 432 sound/core/pcm_compat.c if (put_user(err, &data32->result)) put_user 511 sound/core/pcm_compat.c if (put_user(sstatus.state, &src->s.status.state) || put_user 512 sound/core/pcm_compat.c put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || put_user 514 sound/core/pcm_compat.c put_user(sstatus.suspended_state, &src->s.status.suspended_state) || put_user 517 sound/core/pcm_compat.c put_user(scontrol.appl_ptr, &src->c.control.appl_ptr) || put_user 518 sound/core/pcm_compat.c put_user(scontrol.avail_min, &src->c.control.avail_min)) put_user 600 sound/core/pcm_compat.c if (put_user(sstatus.state, &src->s.status.state) || put_user 601 sound/core/pcm_compat.c put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || put_user 603 sound/core/pcm_compat.c put_user(sstatus.suspended_state, &src->s.status.suspended_state) || put_user 605 sound/core/pcm_compat.c put_user(scontrol.appl_ptr, &src->c.control.appl_ptr) || put_user 606 sound/core/pcm_compat.c put_user(scontrol.avail_min, &src->c.control.avail_min)) put_user 2366 sound/core/pcm_lib.c if (put_user(SNDRV_CTL_TLVT_CONTAINER, tlv)) put_user 2376 sound/core/pcm_lib.c if (put_user(SNDRV_CTL_TLVT_CHMAP_FIXED, dst) || put_user 2377 sound/core/pcm_lib.c put_user(chs_bytes, dst + 1)) put_user 2387 sound/core/pcm_lib.c if (put_user(map->map[c], dst)) put_user 2392 sound/core/pcm_lib.c if (put_user(count, tlv + 1)) put_user 2830 sound/core/pcm_native.c if (put_user(0, &_xferi->result)) put_user 2854 sound/core/pcm_native.c if (put_user(0, &_xfern->result)) put_user 2879 sound/core/pcm_native.c if (put_user(0, _frames)) put_user 2894 sound/core/pcm_native.c if (put_user(0, _frames)) put_user 2917 sound/core/pcm_native.c return put_user(SNDRV_PCM_VERSION, (int __user *)arg) ? -EFAULT : 0; put_user 2968 sound/core/pcm_native.c if (put_user(delay, res)) put_user 733 sound/core/rawmidi.c return put_user(SNDRV_RAWMIDI_VERSION, (int __user *)argp) ? -EFAULT : 0; put_user 863 sound/core/rawmidi.c if (put_user(device, (int __user *)argp)) put_user 79 sound/core/rawmidi_compat.c put_user(status.avail, &src->avail) || put_user 80 sound/core/rawmidi_compat.c put_user(status.xruns, &src->xruns)) put_user 126 sound/core/rawmidi_compat.c put_user(status.avail, &src->avail) || put_user 127 sound/core/rawmidi_compat.c put_user(status.xruns, &src->xruns)) put_user 104 sound/core/seq/oss/seq_oss_ioctl.c return put_user(dp->readq->qlen, p) ? -EFAULT : 0; put_user 109 sound/core/seq/oss/seq_oss_ioctl.c return put_user(snd_seq_oss_writeq_get_free_size(dp->writeq), p) ? -EFAULT : 0; put_user 112 sound/core/seq/oss/seq_oss_ioctl.c return put_user(snd_seq_oss_timer_cur_tick(dp->timer), p) ? -EFAULT : 0; put_user 120 sound/core/seq/oss/seq_oss_ioctl.c return put_user(dp->max_synthdev, p) ? -EFAULT : 0; put_user 123 sound/core/seq/oss/seq_oss_ioctl.c return put_user(dp->max_mididev, p) ? -EFAULT : 0; put_user 129 sound/core/seq/oss/seq_oss_ioctl.c return put_user(val, p) ? -EFAULT : 0; put_user 169 sound/core/seq/oss/seq_oss_ioctl.c return put_user(val, p) ? -EFAULT : 0; put_user 229 sound/core/seq/oss/seq_oss_timer.c return put_user(value, arg) ? -EFAULT : 0; put_user 52 sound/core/seq/seq_compat.c put_user(data->flags, &data32->flags) || put_user 53 sound/core/seq/seq_compat.c put_user(data->time_queue, &data32->time_queue)) put_user 1986 sound/core/timer.c return put_user(SNDRV_TIMER_VERSION, p) ? -EFAULT : 0; put_user 678 sound/hda/hdmi_chmap.c if (put_user(SNDRV_CTL_TLVT_CONTAINER, tlv)) put_user 710 sound/hda/hdmi_chmap.c if (put_user(type, dst) || put_user 711 sound/hda/hdmi_chmap.c put_user(chs_bytes, dst + 1)) put_user 732 sound/hda/hdmi_chmap.c if (put_user(count, tlv + 1)) put_user 54 sound/oss/dmasound/dmasound.h return value < 0 ? value : put_user(value, addr); put_user 533 sound/pci/emu10k1/emufx.c if (put_user(val, &icode->gpr_map[gpr])) put_user 584 sound/pci/emu10k1/emufx.c if (put_user(val, &icode->tram_data_map[tram]) || put_user 585 sound/pci/emu10k1/emufx.c put_user(addr, &icode->tram_addr_map[tram])) put_user 622 sound/pci/emu10k1/emufx.c if (put_user(snd_emu10k1_efx_read(emu, pc + 0), &icode->code[pc + 0])) put_user 624 sound/pci/emu10k1/emufx.c if (put_user(snd_emu10k1_efx_read(emu, pc + 1), &icode->code[pc + 1])) put_user 2532 sound/pci/emu10k1/emufx.c return put_user(SNDRV_EMU10K1_VERSION, (int __user *)argp); put_user 2643 sound/pci/emu10k1/emufx.c if (put_user(addr, (unsigned int __user *)argp)) put_user 841 sound/pci/es1938.c if (put_user(runtime->dma_area[0], put_user 30 sound/pci/hda/hda_hwdep.c if (put_user(res, &arg->res)) put_user 52 sound/pci/hda/hda_hwdep.c if (put_user(res, &arg->res)) put_user 68 sound/pci/hda/hda_hwdep.c return put_user(HDA_HWDEP_VERSION, (int __user *)argp); put_user 559 sound/pci/lola/lola_mixer.c if (put_user(SNDRV_CTL_TLVT_DB_SCALE, tlv)) put_user 561 sound/pci/lola/lola_mixer.c if (put_user(2 * sizeof(unsigned int), tlv + 1)) put_user 563 sound/pci/lola/lola_mixer.c if (put_user(val1, tlv + 2)) put_user 565 sound/pci/lola/lola_mixer.c if (put_user(val2, tlv + 3)) put_user 86 sound/synth/emux/emux_hwdep.c return put_user(SNDRV_EMUX_VERSION, (unsigned int __user *)arg); put_user 98 sound/synth/emux/emux_hwdep.c return put_user(size, (unsigned int __user *)arg); put_user 223 sound/usb/mixer_quirks.c err = put_user(rc_code, buf); put_user 225 sound/usb/mixer_quirks.c err = put_user(rc_code, (u32 __user *)buf); put_user 157 sound/usb/stream.c if (put_user(SNDRV_CTL_TLVT_CONTAINER, tlv)) put_user 172 sound/usb/stream.c if (put_user(SNDRV_CTL_TLVT_CHMAP_FIXED, dst) || put_user 173 sound/usb/stream.c put_user(ch_bytes, dst + 1)) put_user 177 sound/usb/stream.c if (put_user(fp->chmap->map[i], dst)) put_user 184 sound/usb/stream.c if (put_user(count, tlv + 1)) put_user 1168 virt/kvm/arm/arch_timer.c return put_user(irq, uaddr); put_user 847 virt/kvm/arm/pmu.c return put_user(irq, uaddr); put_user 446 virt/kvm/arm/psci.c if (put_user(KVM_REG_ARM_PSCI_VERSION, uindices++)) put_user 449 virt/kvm/arm/psci.c if (put_user(KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_1, uindices++)) put_user 452 virt/kvm/arm/psci.c if (put_user(KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_2, uindices++)) put_user 2752 virt/kvm/arm/vgic/vgic-its.c return put_user(reg, uaddr); put_user 240 virt/kvm/arm/vgic/vgic-kvm-device.c r = put_user(dev->kvm->arch.vgic.nr_spis + put_user 432 virt/kvm/arm/vgic/vgic-kvm-device.c return put_user(reg, uaddr); put_user 672 virt/kvm/arm/vgic/vgic-kvm-device.c return put_user(tmp32, uaddr); put_user 681 virt/kvm/arm/vgic/vgic-kvm-device.c return put_user(reg, uaddr); put_user 692 virt/kvm/arm/vgic/vgic-kvm-device.c return put_user(tmp32, uaddr);