Home
last modified time | relevance | path

Searched refs:get_user (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/linux-3.4.99/arch/sparc/include/asm/
Dtermios.h70 err = get_user(tmp, &(termio)->c_iflag); \
72 err |= get_user(tmp, &(termio)->c_oflag); \
74 err |= get_user(tmp, &(termio)->c_cflag); \
76 err |= get_user(tmp, &(termio)->c_lflag); \
106 err = get_user((k)->c_iflag, &(u)->c_iflag); \
107 err |= get_user((k)->c_oflag, &(u)->c_oflag); \
108 err |= get_user((k)->c_cflag, &(u)->c_cflag); \
109 err |= get_user((k)->c_lflag, &(u)->c_lflag); \
110 err |= get_user((k)->c_line, &(u)->c_line); \
113 err |= get_user((k)->c_cc[VEOF], &(u)->c_cc[VEOF]); \
[all …]
/linux-3.4.99/fs/xfs/
Dxfs_ioctl32.c57 if (get_user(bf->l_type, &arg32->l_type) || in xfs_compat_flock64_copyin()
58 get_user(bf->l_whence, &arg32->l_whence) || in xfs_compat_flock64_copyin()
59 get_user(bf->l_start, &arg32->l_start) || in xfs_compat_flock64_copyin()
60 get_user(bf->l_len, &arg32->l_len) || in xfs_compat_flock64_copyin()
61 get_user(bf->l_sysid, &arg32->l_sysid) || in xfs_compat_flock64_copyin()
62 get_user(bf->l_pid, &arg32->l_pid) || in xfs_compat_flock64_copyin()
90 if (get_user(in->newblocks, &arg32->newblocks) || in xfs_compat_growfs_data_copyin()
91 get_user(in->imaxpct, &arg32->imaxpct)) in xfs_compat_growfs_data_copyin()
101 if (get_user(in->newblocks, &arg32->newblocks) || in xfs_compat_growfs_rt_copyin()
102 get_user(in->extsize, &arg32->extsize)) in xfs_compat_growfs_rt_copyin()
[all …]
/linux-3.4.99/sound/core/
Dpcm_compat.c49 if (get_user(frames, src)) in snd_pcm_ioctl_rewind_compat()
66 if (get_user(frames, src)) in snd_pcm_ioctl_forward_compat()
128 if (get_user(params.tstamp_mode, &src->tstamp_mode) || in snd_pcm_ioctl_sw_params_compat()
129 get_user(params.period_step, &src->period_step) || in snd_pcm_ioctl_sw_params_compat()
130 get_user(params.sleep_min, &src->sleep_min) || in snd_pcm_ioctl_sw_params_compat()
131 get_user(params.avail_min, &src->avail_min) || in snd_pcm_ioctl_sw_params_compat()
132 get_user(params.xfer_align, &src->xfer_align) || in snd_pcm_ioctl_sw_params_compat()
133 get_user(params.start_threshold, &src->start_threshold) || in snd_pcm_ioctl_sw_params_compat()
134 get_user(params.stop_threshold, &src->stop_threshold) || in snd_pcm_ioctl_sw_params_compat()
135 get_user(params.silence_threshold, &src->silence_threshold) || in snd_pcm_ioctl_sw_params_compat()
[all …]
Drawmidi_compat.c41 if (get_user(params.stream, &src->stream) || in snd_rawmidi_ioctl_params_compat()
42 get_user(params.buffer_size, &src->buffer_size) || in snd_rawmidi_ioctl_params_compat()
43 get_user(params.avail_min, &src->avail_min) || in snd_rawmidi_ioctl_params_compat()
44 get_user(val, &src->no_active_sensing)) in snd_rawmidi_ioctl_params_compat()
72 if (get_user(status.stream, &src->stream)) in snd_rawmidi_ioctl_status_compat()
Dhwdep_compat.c45 if (get_user(ptr, &src->image) || in snd_hwdep_dsp_load_compat()
48 if (get_user(val, &src->length) || in snd_hwdep_dsp_load_compat()
51 if (get_user(val, &src->driver_data) || in snd_hwdep_dsp_load_compat()
Dcontrol_compat.c48 if (get_user(ptr, &data32->pids) || in snd_ctl_elem_list_compat()
111 if (get_user(data->value.enumerated.item, &data32->value.enumerated.item)) in snd_ctl_elem_info_compat()
231 if (get_user(indirect, &data32->indirect)) in copy_ctl_value_from_user()
243 if (get_user(val, &data32->value.integer[i])) in copy_ctl_value_from_user()
355 if (get_user(data->owner, &data32->owner) || in snd_ctl_elem_add_compat()
356 get_user(data->type, &data32->type)) in snd_ctl_elem_add_compat()
361 if (get_user(data->value.integer.min, &data32->value.integer.min) || in snd_ctl_elem_add_compat()
362 get_user(data->value.integer.max, &data32->value.integer.max) || in snd_ctl_elem_add_compat()
363 get_user(data->value.integer.step, &data32->value.integer.step)) in snd_ctl_elem_add_compat()
/linux-3.4.99/arch/arm/nwfpe/
Dfpa11_cpdt.c35 get_user(fpa11->fpreg[Fn].fSingle, pMem); in loadSingle()
45 get_user(p[0], &pMem[0]); /* sign & exponent */ in loadDouble()
46 get_user(p[1], &pMem[1]); in loadDouble()
48 get_user(p[0], &pMem[1]); in loadDouble()
49 get_user(p[1], &pMem[0]); /* sign & exponent */ in loadDouble()
60 get_user(p[0], &pMem[0]); /* sign & exponent */ in loadExtended()
62 get_user(p[1], &pMem[1]); /* ms bits */ in loadExtended()
63 get_user(p[2], &pMem[2]); /* ls bits */ in loadExtended()
65 get_user(p[1], &pMem[2]); /* ls bits */ in loadExtended()
66 get_user(p[2], &pMem[1]); /* ms bits */ in loadExtended()
[all …]
/linux-3.4.99/drivers/video/
Dsbuslib.c127 if (get_user(index, &c->index) || in sbusfb_ioctl_helper()
142 if (get_user(red8, &ured[i]) || in sbusfb_ioctl_helper()
143 get_user(green8, &ugreen[i]) || in sbusfb_ioctl_helper()
144 get_user(blue8, &ublue[i])) in sbusfb_ioctl_helper()
167 if (get_user(index, &c->index) || in sbusfb_ioctl_helper()
203 ret |= get_user(addr, &argp->red); in fbiogetputcmap()
205 ret |= get_user(addr, &argp->green); in fbiogetputcmap()
207 ret |= get_user(addr, &argp->blue); in fbiogetputcmap()
228 ret |= get_user(addr, &argp->cmap.red); in fbiogscursor()
230 ret |= get_user(addr, &argp->cmap.green); in fbiogscursor()
[all …]
/linux-3.4.99/arch/sh/include/asm/
Dfutex-irq.h13 ret = get_user(*oldval, uaddr); in atomic_futex_op_xchg_set()
30 ret = get_user(*oldval, uaddr); in atomic_futex_op_xchg_add()
47 ret = get_user(*oldval, uaddr); in atomic_futex_op_xchg_or()
64 ret = get_user(*oldval, uaddr); in atomic_futex_op_xchg_and()
81 ret = get_user(*oldval, uaddr); in atomic_futex_op_xchg_xor()
100 ret = get_user(prev, uaddr); in atomic_futex_op_cmpxchg_inatomic()
/linux-3.4.99/drivers/media/video/
Dv4l2-compat-ioctl32.c51 get_user(kp->field, &up->field) || in get_v4l2_window32()
52 get_user(kp->chromakey, &up->chromakey) || in get_v4l2_window32()
53 get_user(kp->clipcount, &up->clipcount)) in get_v4l2_window32()
63 if (get_user(p, &up->clips)) in get_v4l2_window32()
211 get_user(kp->type, &up->type)) in get_v4l2_format32()
283 get_user(kp->index, &up->index)) in get_v4l2_standard32()
346 if (get_user(p, &up32->m.userptr)) in get_v4l2_plane32()
387 get_user(kp->index, &up->index) || in get_v4l2_buffer32()
388 get_user(kp->type, &up->type) || in get_v4l2_buffer32()
389 get_user(kp->flags, &up->flags) || in get_v4l2_buffer32()
[all …]
/linux-3.4.99/arch/s390/kernel/
Dtraps.c416 if (get_user(*((__u16 *) opcode), (__u16 __user *) location)) in illegal_op()
429 if (get_user(*((__u16 *) (opcode+2)), location+1)) in illegal_op()
433 if (get_user(*((__u32 *) (opcode+2)), in illegal_op()
438 if (get_user(*((__u16 *) (opcode+2)), location+1)) in illegal_op()
442 if (get_user(*((__u16 *) (opcode+2)), location+1)) in illegal_op()
446 if (get_user(*((__u16 *) (opcode+2)), location+1)) in illegal_op()
484 get_user(*((__u16 *) opcode), location); in specification_exception()
493 get_user(*((__u16 *) (opcode+2)), location+1); in specification_exception()
497 get_user(*((__u16 *) (opcode+2)), location+1); in specification_exception()
501 get_user(*((__u16 *) (opcode+2)), location+1); in specification_exception()
[all …]
/linux-3.4.99/include/asm-generic/
Dtermios-base.h19 if (get_user(tmp, &termio->c_iflag) < 0) in user_termio_to_kernel_termios()
23 if (get_user(tmp, &termio->c_oflag) < 0) in user_termio_to_kernel_termios()
27 if (get_user(tmp, &termio->c_cflag) < 0) in user_termio_to_kernel_termios()
31 if (get_user(tmp, &termio->c_lflag) < 0) in user_termio_to_kernel_termios()
35 if (get_user(termios->c_line, &termio->c_line) < 0) in user_termio_to_kernel_termios()
Dtermios.h69 if (get_user(tmp, &termio->c_iflag) < 0) in user_termio_to_kernel_termios()
73 if (get_user(tmp, &termio->c_oflag) < 0) in user_termio_to_kernel_termios()
77 if (get_user(tmp, &termio->c_cflag) < 0) in user_termio_to_kernel_termios()
81 if (get_user(tmp, &termio->c_lflag) < 0) in user_termio_to_kernel_termios()
85 if (get_user(termios->c_line, &termio->c_line) < 0) in user_termio_to_kernel_termios()
/linux-3.4.99/arch/parisc/include/asm/
Dfutex.h57 ret = get_user(oldval, uaddr); in futex_atomic_op_inuser()
63 ret = get_user(oldval, uaddr); in futex_atomic_op_inuser()
71 ret = get_user(oldval, uaddr); in futex_atomic_op_inuser()
79 ret = get_user(oldval, uaddr); in futex_atomic_op_inuser()
87 ret = get_user(oldval, uaddr); in futex_atomic_op_inuser()
141 ret = get_user(val, uaddr); in futex_atomic_cmpxchg_inatomic()
Dprocessor.h213 get_user(regs->gr[26],&sp[0]); \
214 get_user(regs->gr[25],&sp[-1]); \
215 get_user(regs->gr[24],&sp[-2]); \
216 get_user(regs->gr[23],&sp[-3]); \
319 get_user(regs->gr[25], (argv - 1)); \
/linux-3.4.99/arch/m68k/include/asm/
Dtermios.h60 get_user(tmp, &(termio)->c_iflag); \
62 get_user(tmp, &(termio)->c_oflag); \
64 get_user(tmp, &(termio)->c_cflag); \
66 get_user(tmp, &(termio)->c_lflag); \
68 get_user((termios)->c_line, &(termio)->c_line); \
/linux-3.4.99/arch/h8300/include/asm/
Dtermios.h60 get_user(tmp, &(termio)->c_iflag); \
62 get_user(tmp, &(termio)->c_oflag); \
64 get_user(tmp, &(termio)->c_cflag); \
66 get_user(tmp, &(termio)->c_lflag); \
68 get_user((termios)->c_line, &(termio)->c_line); \
/linux-3.4.99/drivers/char/
Ddsp56k.c170 get_user(dsp56k_host_interface.data.b[1], bin++); in dsp56k_upload()
171 get_user(dsp56k_host_interface.data.b[2], bin++); in dsp56k_upload()
172 get_user(dsp56k_host_interface.data.b[3], bin++); in dsp56k_upload()
264 get_user(dsp56k_host_interface.data.b[3], buf+n++)); in dsp56k_write()
274 get_user(dsp56k_host_interface.data.w[1], data+n++)); in dsp56k_write()
281 get_user(dsp56k_host_interface.data.b[1], buf+n++); in dsp56k_write()
282 get_user(dsp56k_host_interface.data.b[2], buf+n++); in dsp56k_write()
283 get_user(dsp56k_host_interface.data.b[3], buf+n++)); in dsp56k_write()
293 get_user(dsp56k_host_interface.data.l, data+n++)); in dsp56k_write()
323 if(get_user(len, &binary->len) < 0) in dsp56k_ioctl()
[all …]
/linux-3.4.99/fs/quota/
Dcompat.c65 get_user(data, &dqblk->dqb_valid) || in sys32_quotactl()
74 get_user(data, &compat_dqblk->dqb_valid) || in sys32_quotactl()
94 get_user(data, &fsqstat->qs_uquota.qfs_nextents) || in sys32_quotactl()
101 get_user(data, &fsqstat->qs_gquota.qfs_nextents) || in sys32_quotactl()
109 get_user(xdata, &fsqstat->qs_iwarnlimit) || in sys32_quotactl()
/linux-3.4.99/sound/core/seq/oss/
Dseq_oss_ioctl.c114 if (get_user(dev, p)) in snd_seq_oss_ioctl()
136 if (get_user(dev, p)) in snd_seq_oss_ioctl()
150 if (get_user(dev, p)) in snd_seq_oss_ioctl()
157 if (get_user(dev, p)) in snd_seq_oss_ioctl()
179 if (get_user(val, p)) in snd_seq_oss_ioctl()
192 if (get_user(val, p)) in snd_seq_oss_ioctl()
/linux-3.4.99/net/atm/
Dresources.c216 if (get_user(cbuf, &ciobuf->buffer)) in atm_dev_ioctl()
223 if (get_user(buf, &iobuf->buffer)) in atm_dev_ioctl()
226 if (get_user(len, iobuf_len)) in atm_dev_ioctl()
261 if (get_user(carg, &csioc->arg)) in atm_dev_ioctl()
265 if (get_user(len, &csioc->length)) in atm_dev_ioctl()
267 if (get_user(number, &csioc->number)) in atm_dev_ioctl()
274 if (get_user(buf, &sioc->arg)) in atm_dev_ioctl()
276 if (get_user(len, &sioc->length)) in atm_dev_ioctl()
278 if (get_user(number, &sioc->number)) in atm_dev_ioctl()
/linux-3.4.99/drivers/message/i2o/
Di2o_config.c101 if (get_user(reslen, kcmd.reslen) < 0) in i2o_cfg_gethrt()
138 if (get_user(reslen, kcmd.reslen) < 0) in i2o_cfg_getlct()
180 if (get_user(reslen, kcmd.reslen)) in i2o_cfg_parms()
238 if (get_user(swlen, kxfer.swlen) < 0) in i2o_cfg_swdl()
241 if (get_user(maxfrag, kxfer.maxfrag) < 0) in i2o_cfg_swdl()
244 if (get_user(curfrag, kxfer.curfrag) < 0) in i2o_cfg_swdl()
317 if (get_user(swlen, kxfer.swlen) < 0) in i2o_cfg_swul()
320 if (get_user(maxfrag, kxfer.maxfrag) < 0) in i2o_cfg_swul()
323 if (get_user(curfrag, kxfer.curfrag) < 0) in i2o_cfg_swul()
389 if (get_user(swlen, kxfer.swlen) < 0) in i2o_cfg_swdel()
[all …]
/linux-3.4.99/sound/oss/dmasound/
Ddmasound_atari.c169 if (get_user(data, userPtr++)) in ata_ct_law()
209 if (get_user(data, userPtr++)) in ata_ct_u8()
220 if (get_user(data, (u_short __user *)userPtr)) in ata_ct_u8()
244 if (get_user(data, (u_short __user *)userPtr)) in ata_ct_s16be()
276 if (get_user(data, (u_short __user *)userPtr)) in ata_ct_u16be()
291 if (get_user(data, (u_int __user *)userPtr)) in ata_ct_u16be()
316 if (get_user(data, (u_short __user *)userPtr)) in ata_ct_s16le()
331 if (get_user(data, (u_int __user *)userPtr)) in ata_ct_s16le()
357 if (get_user(data, (u_short __user *)userPtr)) in ata_ct_u16le()
371 if (get_user(data, (u_int __user *)userPtr)) in ata_ct_u16le()
[all …]
/linux-3.4.99/fs/ext4/
Dioctl.c47 if (get_user(flags, (int __user *) arg)) in ext4_ioctl()
163 if (get_user(generation, (int __user *) arg)) { in ext4_ioctl()
196 if (get_user(n_blocks_count, (__u32 __user *)arg)) { in ext4_ioctl()
483 err = get_user(input.group, &uinput->group); in ext4_compat_ioctl()
484 err |= get_user(input.block_bitmap, &uinput->block_bitmap); in ext4_compat_ioctl()
485 err |= get_user(input.inode_bitmap, &uinput->inode_bitmap); in ext4_compat_ioctl()
486 err |= get_user(input.inode_table, &uinput->inode_table); in ext4_compat_ioctl()
487 err |= get_user(input.blocks_count, &uinput->blocks_count); in ext4_compat_ioctl()
488 err |= get_user(input.reserved_blocks, in ext4_compat_ioctl()
/linux-3.4.99/drivers/pci/
Dsyscall.c104 err = get_user(byte, (u8 __user *)buf); in SYSCALL_DEFINE5()
113 err = get_user(word, (u16 __user *)buf); in SYSCALL_DEFINE5()
122 err = get_user(dword, (u32 __user *)buf); in SYSCALL_DEFINE5()

12345678910>>...20