Home
last modified time | relevance | path

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

12345678910>>...19

/linux/arch/sparc/include/asm/
A Dtermios.h34 err = get_user(tmp, &(termio)->c_iflag); \
36 err |= get_user(tmp, &(termio)->c_oflag); \
38 err |= get_user(tmp, &(termio)->c_cflag); \
40 err |= get_user(tmp, &(termio)->c_lflag); \
70 err = get_user((k)->c_iflag, &(u)->c_iflag); \
71 err |= get_user((k)->c_oflag, &(u)->c_oflag); \
72 err |= get_user((k)->c_cflag, &(u)->c_cflag); \
73 err |= get_user((k)->c_lflag, &(u)->c_lflag); \
74 err |= get_user((k)->c_line, &(u)->c_line); \
112 err = get_user((k)->c_iflag, &(u)->c_iflag); \
[all …]
/linux/fs/xfs/
A Dxfs_ioctl32.c35 if (get_user(bf->l_type, &arg32->l_type) || in xfs_compat_flock64_copyin()
36 get_user(bf->l_whence, &arg32->l_whence) || in xfs_compat_flock64_copyin()
37 get_user(bf->l_start, &arg32->l_start) || in xfs_compat_flock64_copyin()
38 get_user(bf->l_len, &arg32->l_len) || in xfs_compat_flock64_copyin()
39 get_user(bf->l_sysid, &arg32->l_sysid) || in xfs_compat_flock64_copyin()
40 get_user(bf->l_pid, &arg32->l_pid) || in xfs_compat_flock64_copyin()
66 get_user(in->imaxpct, &arg32->imaxpct)) in xfs_compat_growfs_data_copyin()
112 if (get_user(sec32, &bstime32->tv_sec) || in xfs_ioctl32_bstime_copyin()
260 if (get_user(addr, &p32->lastip)) in xfs_compat_ioc_fsbulkstat()
264 get_user(addr, &p32->ubuffer)) in xfs_compat_ioc_fsbulkstat()
[all …]
/linux/drivers/video/fbdev/
A Dsbuslib.c127 if (get_user(index, &c->index) || in sbusfb_ioctl_helper()
128 get_user(count, &c->count) || in sbusfb_ioctl_helper()
129 get_user(ured, &c->red) || in sbusfb_ioctl_helper()
131 get_user(ublue, &c->blue)) in sbusfb_ioctl_helper()
142 if (get_user(red8, &ured[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()
169 get_user(ured, &c->red) || in sbusfb_ioctl_helper()
171 get_user(ublue, &c->blue)) in sbusfb_ioctl_helper()
235 if (get_user(red8, &ured[i]) || in sbusfb_compat_ioctl()
[all …]
/linux/sound/core/
A Dpcm_compat.c32 if (get_user(frames, src)) in snd_pcm_ioctl_rewind_compat()
46 if (get_user(frames, src)) in snd_pcm_ioctl_forward_compat()
104 get_user(params.proto, &src->proto)) in snd_pcm_ioctl_sw_params_compat()
136 get_user(info.first, &src->first) || in snd_pcm_ioctl_channel_info_compat()
137 get_user(info.step, &src->step)) in snd_pcm_ioctl_channel_info_compat()
301 if (get_user(buf, &data32->buf) || in snd_pcm_ioctl_xferi_compat()
302 get_user(frames, &data32->frames)) in snd_pcm_ioctl_xferi_compat()
350 if (get_user(buf, &data32->bufs) || in snd_pcm_ioctl_xfern_compat()
351 get_user(frames, &data32->frames)) in snd_pcm_ioctl_xfern_compat()
359 if (get_user(ptr, bufptr)) { in snd_pcm_ioctl_xfern_compat()
[all …]
A Drawmidi_compat.c26 if (get_user(params.stream, &src->stream) || in snd_rawmidi_ioctl_params_compat()
27 get_user(params.buffer_size, &src->buffer_size) || in snd_rawmidi_ioctl_params_compat()
28 get_user(params.avail_min, &src->avail_min) || in snd_rawmidi_ioctl_params_compat()
29 get_user(params.mode, &src->mode) || in snd_rawmidi_ioctl_params_compat()
30 get_user(val, &src->no_active_sensing)) in snd_rawmidi_ioctl_params_compat()
63 if (get_user(status.stream, &src->stream)) in snd_rawmidi_ioctl_status_compat64()
A Dhwdep_compat.c26 get_user(ptr, &src->image) || in snd_hwdep_dsp_load_compat()
27 get_user(info.length, &src->length) || in snd_hwdep_dsp_load_compat()
28 get_user(info.driver_data, &src->driver_data)) in snd_hwdep_dsp_load_compat()
A Dcontrol_compat.c33 if (get_user(ptr, &data32->pids)) in snd_ctl_elem_list_compat()
96 if (get_user(data->value.enumerated.item, &data32->value.enumerated.item)) in snd_ctl_elem_info_compat()
229 if (get_user(indirect, &data32->indirect)) in copy_ctl_value_from_user()
242 if (get_user(val, &intp[i])) in copy_ctl_value_from_user()
381 if (get_user(data->owner, &data32->owner)) in snd_ctl_elem_add_compat()
386 if (get_user(data->value.integer.min, &data32->value.integer.min) || in snd_ctl_elem_add_compat()
387 get_user(data->value.integer.max, &data32->value.integer.max) || in snd_ctl_elem_add_compat()
388 get_user(data->value.integer.step, &data32->value.integer.step)) in snd_ctl_elem_add_compat()
/linux/arch/arm/nwfpe/
A Dfpa11_cpdt.c23 get_user(fpa11->fpreg[Fn].fSingle, pMem); in loadSingle()
34 get_user(p[1], &pMem[1]); in loadDouble()
36 get_user(p[0], &pMem[1]); in loadDouble()
50 get_user(p[1], &pMem[1]); /* ms bits */ in loadExtended()
51 get_user(p[2], &pMem[2]); /* ls bits */ in loadExtended()
53 get_user(p[1], &pMem[2]); /* ls bits */ in loadExtended()
54 get_user(p[2], &pMem[1]); /* ms bits */ in loadExtended()
66 get_user(x, &pMem[0]); in loadMultiple()
73 get_user(p[0], &pMem[2]); /* Single */ in loadMultiple()
82 get_user(p[1], &pMem[2]); in loadMultiple()
[all …]
/linux/drivers/char/
A 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()
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()
293 get_user(dsp56k_host_interface.data.l, data+n++)); in dsp56k_write()
323 if(get_user(len, &binary->len) < 0) in dsp56k_ioctl()
325 if(get_user(bin, &binary->bin) < 0) in dsp56k_ioctl()
362 if(get_user(dir, &hf->dir) < 0) in dsp56k_ioctl()
[all …]
/linux/net/atm/
A Dioctl.c125 error = get_user(backend, (atm_backend_t __user *)argp); in do_vcc_ioctl()
173 if (get_user(cbuf, &ciobuf->buffer)) in do_vcc_ioctl()
180 if (get_user(buf, &iobuf->buffer)) in do_vcc_ioctl()
193 if (get_user(carg, &csioc->arg)) in do_vcc_ioctl()
196 if (get_user(number, &csioc->number)) in do_vcc_ioctl()
203 if (get_user(buf, &sioc->arg)) in do_vcc_ioctl()
205 if (get_user(number, &sioc->number)) in do_vcc_ioctl()
280 if (get_user(data, &iobuf32->buffer)) in do_atm_iobuf()
293 if (get_user(data, &sioc32->arg) || get_user(number, &sioc32->number)) in do_atmif_sioc()
/linux/include/asm-generic/
A Dtermios-base.h20 if (get_user(tmp, &termio->c_iflag) < 0) in user_termio_to_kernel_termios()
24 if (get_user(tmp, &termio->c_oflag) < 0) in user_termio_to_kernel_termios()
28 if (get_user(tmp, &termio->c_cflag) < 0) in user_termio_to_kernel_termios()
32 if (get_user(tmp, &termio->c_lflag) < 0) in user_termio_to_kernel_termios()
36 if (get_user(termios->c_line, &termio->c_line) < 0) in user_termio_to_kernel_termios()
A Dtermios.h25 if (get_user(tmp, &termio->c_iflag) < 0) in user_termio_to_kernel_termios()
29 if (get_user(tmp, &termio->c_oflag) < 0) in user_termio_to_kernel_termios()
33 if (get_user(tmp, &termio->c_cflag) < 0) in user_termio_to_kernel_termios()
37 if (get_user(tmp, &termio->c_lflag) < 0) in user_termio_to_kernel_termios()
41 if (get_user(termios->c_line, &termio->c_line) < 0) in user_termio_to_kernel_termios()
/linux/sound/core/seq/oss/
A Dseq_oss_ioctl.c97 if (get_user(dev, p)) in snd_seq_oss_ioctl()
115 if (get_user(dev, p)) in snd_seq_oss_ioctl()
126 if (get_user(dev, p)) in snd_seq_oss_ioctl()
132 if (get_user(dev, p)) in snd_seq_oss_ioctl()
150 if (get_user(val, p)) in snd_seq_oss_ioctl()
162 if (get_user(val, p)) in snd_seq_oss_ioctl()
/linux/fs/
A Dutimes.c219 if (get_user(tv[0].tv_sec, &times->actime) || in SYSCALL_DEFINE2()
220 get_user(tv[1].tv_sec, &times->modtime)) in SYSCALL_DEFINE2()
241 if (get_user(tv[0].tv_sec, &t->actime) || in SYSCALL_DEFINE2()
242 get_user(tv[1].tv_sec, &t->modtime)) in SYSCALL_DEFINE2()
273 if (get_user(tv[0].tv_sec, &t[0].tv_sec) || in do_compat_futimesat()
274 get_user(tv[0].tv_nsec, &t[0].tv_usec) || in do_compat_futimesat()
275 get_user(tv[1].tv_sec, &t[1].tv_sec) || in do_compat_futimesat()
276 get_user(tv[1].tv_nsec, &t[1].tv_usec)) in do_compat_futimesat()
/linux/sound/oss/dmasound/
A Ddmasound_atari.c170 if (get_user(data, userPtr++)) in ata_ct_law()
210 if (get_user(data, userPtr++)) in ata_ct_u8()
221 if (get_user(data, (u_short __user *)userPtr)) in ata_ct_u8()
292 if (get_user(data, (u_int __user *)userPtr)) in ata_ct_u16be()
332 if (get_user(data, (u_int __user *)userPtr)) in ata_ct_s16le()
372 if (get_user(data, (u_int __user *)userPtr)) in ata_ct_u16le()
406 if (get_user(c, userPtr++)) in ata_ctx_law()
425 if (get_user(c, userPtr++)) in ata_ctx_law()
428 if (get_user(c, userPtr++)) in ata_ctx_law()
465 if (get_user(data, userPtr++)) in ata_ctx_s8()
[all …]
A Ddmasound_paula.c174 if (get_user(*left++, userPtr++) in ami_ct_s8()
175 || get_user(*right++, userPtr++)) in ami_ct_s8()
202 if (get_user(data, userPtr++)) \
214 if (get_user(data, userPtr++)) \
217 if (get_user(data, userPtr++)) \
255 if (get_user(data, ptr++)) \
270 if (get_user(data, ptr++)) \
275 if (get_user(data, ptr++)) \
/linux/arch/mips/kernel/
A Daccess-helper.h7 return user ? get_user(*a, (unsigned long __user *)p) : in __get_addr()
13 return user ? get_user(*i, (u16 __user *)p) : get_kernel_nofault(*i, p); in __get_inst16()
18 return user ? get_user(*i, (u32 __user *)p) : get_kernel_nofault(*i, p); in __get_inst32()
/linux/arch/h8300/kernel/
A Dprocess.c160 get_user(clone_flags, &args[0]); in sys_clone()
161 get_user(newsp, &args[1]); in sys_clone()
162 get_user(parent_tidptr, &args[2]); in sys_clone()
163 get_user(child_tidptr, &args[3]); in sys_clone()
/linux/arch/x86/kernel/cpu/mtrr/
A Dif.c196 err = get_user(sentry.base, &s32->base); in mtrr_ioctl()
197 err |= get_user(sentry.size, &s32->size); in mtrr_ioctl()
198 err |= get_user(sentry.type, &s32->type); in mtrr_ioctl()
208 err = get_user(gentry.regnum, &g32->regnum); in mtrr_ioctl()
209 err |= get_user(gentry.base, &g32->base); in mtrr_ioctl()
210 err |= get_user(gentry.size, &g32->size); in mtrr_ioctl()
211 err |= get_user(gentry.type, &g32->type); in mtrr_ioctl()
/linux/drivers/pci/
A Dsyscall.c105 err = get_user(byte, (u8 __user *)buf); in SYSCALL_DEFINE5()
114 err = get_user(word, (u16 __user *)buf); in SYSCALL_DEFINE5()
123 err = get_user(dword, (u32 __user *)buf); in SYSCALL_DEFINE5()
/linux/arch/sparc/kernel/
A Dapc.c110 if (get_user(inarg, arg)) in apc_ioctl()
116 if (get_user(inarg, arg)) in apc_ioctl()
122 if (get_user(inarg, arg)) in apc_ioctl()
/linux/drivers/gpu/drm/i915/
A Di915_user_extensions.c41 if (get_user(name, &ext->name)) in i915_user_extensions()
53 if (get_user(next, &ext->next_extension) || in i915_user_extensions()
/linux/arch/arm/kernel/
A Dsys_oabi-compat.c431 get_user(sa_family, &addr->sa_family) == 0 && in sys_oabi_bind()
441 get_user(sa_family, &addr->sa_family) == 0 && in sys_oabi_connect()
454 get_user(sa_family, &addr->sa_family) == 0 && in sys_oabi_sendto()
466 get_user(msg_namelen, &msg->msg_namelen) == 0 && in sys_oabi_sendmsg()
468 get_user(addr, &msg->msg_name) == 0 && in sys_oabi_sendmsg()
469 get_user(sa_family, &addr->sa_family) == 0 && in sys_oabi_sendmsg()
/linux/drivers/watchdog/
A Dadvantechwdt.c120 if (get_user(c, buf + i)) in advwdt_write()
158 if (get_user(options, p)) in advwdt_ioctl()
175 if (get_user(new_timeout, p)) in advwdt_ioctl()
A Dgef_wdt.c146 if (get_user(c, data + i)) in gef_wdt_write()
185 if (get_user(options, (int __user *)argp)) in gef_wdt_ioctl()
201 if (get_user(timeout, (int __user *)argp)) in gef_wdt_ioctl()

Completed in 32 milliseconds

12345678910>>...19