/linux-2.6.39/arch/sparc/include/asm/ |
D | termios.h | 91 err = put_user((termios)->c_iflag, &(termio)->c_iflag); \ 92 err |= put_user((termios)->c_oflag, &(termio)->c_oflag); \ 93 err |= put_user((termios)->c_cflag, &(termio)->c_cflag); \ 94 err |= put_user((termios)->c_lflag, &(termio)->c_lflag); \ 95 err |= put_user((termios)->c_line, &(termio)->c_line); \ 98 err |= put_user((termios)->c_cc[VMIN], &(termio)->c_cc[_VMIN]); \ 99 err |= put_user((termios)->c_cc[VTIME], &(termio)->c_cc[_VTIME]); \ 128 err = put_user((k)->c_iflag, &(u)->c_iflag); \ 129 err |= put_user((k)->c_oflag, &(u)->c_oflag); \ 130 err |= put_user((k)->c_cflag, &(u)->c_cflag); \ [all …]
|
/linux-2.6.39/sound/core/ |
D | pcm_compat.c | 38 if (put_user(delay, src)) in snd_pcm_ioctl_delay_compat() 55 if (put_user(err, src)) in snd_pcm_ioctl_rewind_compat() 72 if (put_user(err, src)) in snd_pcm_ioctl_forward_compat() 148 if (boundary && put_user(boundary, &src->boundary)) in snd_pcm_ioctl_sw_params_compat() 174 if (put_user(info.channel, &src->channel) || in snd_pcm_ioctl_channel_info_compat() 175 put_user(info.offset, &src->offset) || in snd_pcm_ioctl_channel_info_compat() 176 put_user(info.first, &src->first) || in snd_pcm_ioctl_channel_info_compat() 177 put_user(info.step, &src->step)) in snd_pcm_ioctl_channel_info_compat() 207 if (put_user(status.state, &src->state) || in snd_pcm_status_user_compat() 208 put_user(status.trigger_tstamp.tv_sec, &src->trigger_tstamp.tv_sec) || in snd_pcm_status_user_compat() [all …]
|
/linux-2.6.39/net/bluetooth/hidp/ |
D | sock.c | 176 if (!err && put_user(cl.cnum, (uint32_t __user *) arg)) in hidp_sock_compat_ioctl() 189 if (put_user(ca.ctrl_sock, &uca->ctrl_sock) || in hidp_sock_compat_ioctl() 190 put_user(ca.intr_sock, &uca->intr_sock) || in hidp_sock_compat_ioctl() 191 put_user(ca.parser, &uca->parser) || in hidp_sock_compat_ioctl() 192 put_user(ca.rd_size, &uca->rd_size) || in hidp_sock_compat_ioctl() 193 put_user(compat_ptr(ca.rd_data), &uca->rd_data) || in hidp_sock_compat_ioctl() 194 put_user(ca.country, &uca->country) || in hidp_sock_compat_ioctl() 195 put_user(ca.subclass, &uca->subclass) || in hidp_sock_compat_ioctl() 196 put_user(ca.vendor, &uca->vendor) || in hidp_sock_compat_ioctl() 197 put_user(ca.product, &uca->product) || in hidp_sock_compat_ioctl() [all …]
|
/linux-2.6.39/arch/sparc/kernel/ |
D | sys_sparc32.c | 139 err = put_user(huge_encode_dev(stat->dev), &statbuf->st_dev); in cp_compat_stat64() 140 err |= put_user(stat->ino, &statbuf->st_ino); in cp_compat_stat64() 141 err |= put_user(stat->mode, &statbuf->st_mode); in cp_compat_stat64() 142 err |= put_user(stat->nlink, &statbuf->st_nlink); in cp_compat_stat64() 143 err |= put_user(stat->uid, &statbuf->st_uid); in cp_compat_stat64() 144 err |= put_user(stat->gid, &statbuf->st_gid); in cp_compat_stat64() 145 err |= put_user(huge_encode_dev(stat->rdev), &statbuf->st_rdev); in cp_compat_stat64() 146 err |= put_user(0, (unsigned long __user *) &statbuf->__pad3[0]); in cp_compat_stat64() 147 err |= put_user(stat->size, &statbuf->st_size); in cp_compat_stat64() 148 err |= put_user(stat->blksize, &statbuf->st_blksize); in cp_compat_stat64() [all …]
|
/linux-2.6.39/arch/arm/nwfpe/ |
D | fpa11_cpdt.c | 126 put_user(val.i[0], pMem); in storeSingle() 153 put_user(val.i[0], &pMem[0]); /* msw */ in storeDouble() 154 put_user(val.i[1], &pMem[1]); /* lsw */ in storeDouble() 156 put_user(val.i[1], &pMem[0]); /* msw */ in storeDouble() 157 put_user(val.i[0], &pMem[1]); /* lsw */ in storeDouble() 183 put_user(val.i[0], &pMem[0]); /* sign & exp */ in storeExtended() 185 put_user(val.i[1], &pMem[1]); /* msw */ in storeExtended() 186 put_user(val.i[2], &pMem[2]); in storeExtended() 188 put_user(val.i[1], &pMem[2]); in storeExtended() 189 put_user(val.i[2], &pMem[1]); /* msw */ in storeExtended() [all …]
|
/linux-2.6.39/drivers/media/video/ |
D | v4l2-compat-ioctl32.c | 72 if (put_user(n ? kclips + 1 : NULL, &kclips->next)) in get_v4l2_window32() 85 put_user(kp->field, &up->field) || in put_v4l2_window32() 86 put_user(kp->chromakey, &up->chromakey) || in put_v4l2_window32() 87 put_user(kp->clipcount, &up->clipcount)) in put_v4l2_window32() 198 put_user(kp->type, &up->type)) in put_v4l2_format32() 249 put_user(kp->index, &up->index) || in put_v4l2_standard32() 253 put_user(kp->framelines, &up->framelines) || in put_v4l2_standard32() 307 if (put_user((unsigned long)up_pln, &up->m.userptr)) in get_v4l2_plane32() 430 put_user(kp->index, &up->index) || in put_v4l2_buffer32() 431 put_user(kp->type, &up->type) || in put_v4l2_buffer32() [all …]
|
/linux-2.6.39/arch/sh/include/asm/ |
D | futex-irq.h | 16 ret = put_user(oparg, uaddr); in atomic_futex_op_xchg_set() 33 ret = put_user(*oldval + oparg, uaddr); in atomic_futex_op_xchg_add() 50 ret = put_user(*oldval | oparg, uaddr); in atomic_futex_op_xchg_or() 67 ret = put_user(*oldval & oparg, uaddr); in atomic_futex_op_xchg_and() 84 ret = put_user(*oldval ^ oparg, uaddr); in atomic_futex_op_xchg_xor() 103 ret = put_user(newval, uaddr); in atomic_futex_op_cmpxchg_inatomic()
|
/linux-2.6.39/drivers/pci/ |
D | syscall.c | 55 err = put_user(byte, (unsigned char __user *)buf); in SYSCALL_DEFINE5() 58 err = put_user(word, (unsigned short __user *)buf); in SYSCALL_DEFINE5() 61 err = put_user(dword, (unsigned int __user *)buf); in SYSCALL_DEFINE5() 73 put_user(-1, (unsigned char __user *)buf); in SYSCALL_DEFINE5() 76 put_user(-1, (unsigned short __user *)buf); in SYSCALL_DEFINE5() 79 put_user(-1, (unsigned int __user *)buf); in SYSCALL_DEFINE5()
|
/linux-2.6.39/fs/xfs/linux-2.6/ |
D | xfs_ioctl32.c | 118 if (put_user(buffer[i].xi_startino, &p32[i].xi_startino) || in xfs_inumbers_fmt_compat() 119 put_user(buffer[i].xi_alloccount, &p32[i].xi_alloccount) || in xfs_inumbers_fmt_compat() 120 put_user(buffer[i].xi_allocmask, &p32[i].xi_allocmask)) in xfs_inumbers_fmt_compat() 186 if (put_user(sec32, &p32->tv_sec) || in xfs_bstime_store_compat() 187 put_user(p->tv_nsec, &p32->tv_nsec)) in xfs_bstime_store_compat() 205 if (put_user(buffer->bs_ino, &p32->bs_ino) || in xfs_bulkstat_one_fmt_compat() 206 put_user(buffer->bs_mode, &p32->bs_mode) || in xfs_bulkstat_one_fmt_compat() 207 put_user(buffer->bs_nlink, &p32->bs_nlink) || in xfs_bulkstat_one_fmt_compat() 208 put_user(buffer->bs_uid, &p32->bs_uid) || in xfs_bulkstat_one_fmt_compat() 209 put_user(buffer->bs_gid, &p32->bs_gid) || in xfs_bulkstat_one_fmt_compat() [all …]
|
/linux-2.6.39/drivers/video/ |
D | sbuslib.c | 108 if (put_user(type, &f->fb_type) || in sbusfb_ioctl_helper() 181 if (put_user(red, &ured[i]) || in sbusfb_ioctl_helper() 182 put_user(green, &ugreen[i]) || in sbusfb_ioctl_helper() 183 put_user(blue, &ublue[i])) in sbusfb_ioctl_helper() 204 ret |= put_user(compat_ptr(addr), &p->red); in fbiogetputcmap() 206 ret |= put_user(compat_ptr(addr), &p->green); in fbiogetputcmap() 208 ret |= put_user(compat_ptr(addr), &p->blue); in fbiogetputcmap() 229 ret |= put_user(compat_ptr(addr), &p->cmap.red); in fbiogscursor() 231 ret |= put_user(compat_ptr(addr), &p->cmap.green); in fbiogscursor() 233 ret |= put_user(compat_ptr(addr), &p->cmap.blue); in fbiogscursor() [all …]
|
/linux-2.6.39/arch/xtensa/include/asm/ |
D | termios.h | 90 put_user((termios)->c_iflag, &(termio)->c_iflag); \ 91 put_user((termios)->c_oflag, &(termio)->c_oflag); \ 92 put_user((termios)->c_cflag, &(termio)->c_cflag); \ 93 put_user((termios)->c_lflag, &(termio)->c_lflag); \ 94 put_user((termios)->c_line, &(termio)->c_line); \
|
/linux-2.6.39/arch/parisc/include/asm/ |
D | termios.h | 75 put_user((termios)->c_iflag, &(termio)->c_iflag); \ 76 put_user((termios)->c_oflag, &(termio)->c_oflag); \ 77 put_user((termios)->c_cflag, &(termio)->c_cflag); \ 78 put_user((termios)->c_lflag, &(termio)->c_lflag); \ 79 put_user((termios)->c_line, &(termio)->c_line); \
|
/linux-2.6.39/arch/m32r/include/asm/ |
D | termios.h | 76 put_user((termios)->c_iflag, &(termio)->c_iflag); \ 77 put_user((termios)->c_oflag, &(termio)->c_oflag); \ 78 put_user((termios)->c_cflag, &(termio)->c_cflag); \ 79 put_user((termios)->c_lflag, &(termio)->c_lflag); \ 80 put_user((termios)->c_line, &(termio)->c_line); \
|
/linux-2.6.39/arch/mn10300/include/asm/ |
D | termios.h | 75 put_user((termios)->c_iflag, &(termio)->c_iflag); \ 76 put_user((termios)->c_oflag, &(termio)->c_oflag); \ 77 put_user((termios)->c_cflag, &(termio)->c_cflag); \ 78 put_user((termios)->c_lflag, &(termio)->c_lflag); \ 79 put_user((termios)->c_line, &(termio)->c_line); \
|
/linux-2.6.39/include/asm-generic/ |
D | termios-base.h | 53 if (put_user(termios->c_iflag, &termio->c_iflag) < 0 || in kernel_termios_to_user_termio() 54 put_user(termios->c_oflag, &termio->c_oflag) < 0 || in kernel_termios_to_user_termio() 55 put_user(termios->c_cflag, &termio->c_cflag) < 0 || in kernel_termios_to_user_termio() 56 put_user(termios->c_lflag, &termio->c_lflag) < 0 || in kernel_termios_to_user_termio() 57 put_user(termios->c_line, &termio->c_line) < 0 || in kernel_termios_to_user_termio()
|
D | termios.h | 103 if (put_user(termios->c_iflag, &termio->c_iflag) < 0 || in kernel_termios_to_user_termio() 104 put_user(termios->c_oflag, &termio->c_oflag) < 0 || in kernel_termios_to_user_termio() 105 put_user(termios->c_cflag, &termio->c_cflag) < 0 || in kernel_termios_to_user_termio() 106 put_user(termios->c_lflag, &termio->c_lflag) < 0 || in kernel_termios_to_user_termio() 107 put_user(termios->c_line, &termio->c_line) < 0 || in kernel_termios_to_user_termio()
|
/linux-2.6.39/arch/cris/include/asm/ |
D | termios.h | 77 put_user((termios)->c_iflag, &(termio)->c_iflag); \ 78 put_user((termios)->c_oflag, &(termio)->c_oflag); \ 79 put_user((termios)->c_cflag, &(termio)->c_cflag); \ 80 put_user((termios)->c_lflag, &(termio)->c_lflag); \ 81 put_user((termios)->c_line, &(termio)->c_line); \
|
/linux-2.6.39/arch/arm/include/asm/ |
D | termios.h | 77 put_user((termios)->c_iflag, &(termio)->c_iflag); \ 78 put_user((termios)->c_oflag, &(termio)->c_oflag); \ 79 put_user((termios)->c_cflag, &(termio)->c_cflag); \ 80 put_user((termios)->c_lflag, &(termio)->c_lflag); \ 81 put_user((termios)->c_line, &(termio)->c_line); \
|
/linux-2.6.39/arch/ia64/include/asm/ |
D | termios.h | 82 put_user((termios)->c_iflag, &(termio)->c_iflag); \ 83 put_user((termios)->c_oflag, &(termio)->c_oflag); \ 84 put_user((termios)->c_cflag, &(termio)->c_cflag); \ 85 put_user((termios)->c_lflag, &(termio)->c_lflag); \ 86 put_user((termios)->c_line, &(termio)->c_line); \
|
/linux-2.6.39/sound/core/seq/oss/ |
D | seq_oss_ioctl.c | 122 return put_user(dp->readq->qlen, p) ? -EFAULT : 0; in snd_seq_oss_ioctl() 128 return put_user(snd_seq_oss_writeq_get_free_size(dp->writeq), p) ? -EFAULT : 0; in snd_seq_oss_ioctl() 132 return put_user(snd_seq_oss_timer_cur_tick(dp->timer), p) ? -EFAULT : 0; in snd_seq_oss_ioctl() 142 return put_user(dp->max_synthdev, p) ? -EFAULT : 0; in snd_seq_oss_ioctl() 146 return put_user(dp->max_mididev, p) ? -EFAULT : 0; in snd_seq_oss_ioctl() 153 return put_user(val, p) ? -EFAULT : 0; in snd_seq_oss_ioctl() 199 return put_user(val, p) ? -EFAULT : 0; in snd_seq_oss_ioctl()
|
/linux-2.6.39/arch/m68k/include/asm/ |
D | termios.h | 77 put_user((termios)->c_iflag, &(termio)->c_iflag); \ 78 put_user((termios)->c_oflag, &(termio)->c_oflag); \ 79 put_user((termios)->c_cflag, &(termio)->c_cflag); \ 80 put_user((termios)->c_lflag, &(termio)->c_lflag); \ 81 put_user((termios)->c_line, &(termio)->c_line); \
|
/linux-2.6.39/arch/h8300/include/asm/ |
D | termios.h | 77 put_user((termios)->c_iflag, &(termio)->c_iflag); \ 78 put_user((termios)->c_oflag, &(termio)->c_oflag); \ 79 put_user((termios)->c_cflag, &(termio)->c_cflag); \ 80 put_user((termios)->c_lflag, &(termio)->c_lflag); \ 81 put_user((termios)->c_line, &(termio)->c_line); \
|
/linux-2.6.39/fs/ |
D | binfmt_aout.c | 158 put_user(0, --sp); in create_aout_tables() 159 put_user(0, --sp); in create_aout_tables() 161 put_user(0, --sp); in create_aout_tables() 162 put_user(1003, --sp); in create_aout_tables() 163 put_user(bprm->loader, --sp); in create_aout_tables() 164 put_user(1002, --sp); in create_aout_tables() 166 put_user(bprm->exec, --sp); in create_aout_tables() 167 put_user(1001, --sp); in create_aout_tables() 174 put_user((unsigned long) envp,--sp); in create_aout_tables() 175 put_user((unsigned long) argv,--sp); in create_aout_tables() [all …]
|
/linux-2.6.39/drivers/atm/ |
D | uPD98402.c | 96 return (put_user(s[0], arg) || put_user(s[1], arg+1) || in get_sense() 97 put_user(s[2], arg+2) || put_user(0xff, arg+3) || in get_sense() 98 put_user(0xff, arg+4) || put_user(0xff, arg+5)) ? -EFAULT : 0; in get_sense() 145 return put_user(PRIV(dev)->framing,(int __user *)arg) ? in uPD98402_ioctl() 152 return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ? in uPD98402_ioctl() 155 return put_user(ATM_LM_LOC_PHY | ATM_LM_LOC_ATM | in uPD98402_ioctl()
|
/linux-2.6.39/net/irda/ircomm/ |
D | ircomm_tty_ioctl.c | 406 if (put_user(cnow.cts, &p_cuser->cts) || in ircomm_tty_ioctl() 407 put_user(cnow.dsr, &p_cuser->dsr) || in ircomm_tty_ioctl() 408 put_user(cnow.rng, &p_cuser->rng) || in ircomm_tty_ioctl() 409 put_user(cnow.dcd, &p_cuser->dcd) || in ircomm_tty_ioctl() 410 put_user(cnow.rx, &p_cuser->rx) || in ircomm_tty_ioctl() 411 put_user(cnow.tx, &p_cuser->tx) || in ircomm_tty_ioctl() 412 put_user(cnow.frame, &p_cuser->frame) || in ircomm_tty_ioctl() 413 put_user(cnow.overrun, &p_cuser->overrun) || in ircomm_tty_ioctl() 414 put_user(cnow.parity, &p_cuser->parity) || in ircomm_tty_ioctl() 415 put_user(cnow.brk, &p_cuser->brk) || in ircomm_tty_ioctl() [all …]
|