Home
last modified time | relevance | path

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

12345678910>>...39

/kernel/linux/linux-4.19/arch/sparc/include/asm/
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); \
77 err |= get_user((k)->c_cc[VEOF], &(u)->c_cc[VEOF]); \
[all …]
/kernel/linux/linux-5.10/arch/sparc/include/asm/
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); \
77 err |= get_user((k)->c_cc[VEOF], &(u)->c_cc[VEOF]); \
[all …]
/kernel/linux/linux-5.10/fs/xfs/
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()
65 if (get_user(in->newblocks, &arg32->newblocks) || in xfs_compat_growfs_data_copyin()
66 get_user(in->imaxpct, &arg32->imaxpct)) in xfs_compat_growfs_data_copyin()
76 if (get_user(in->newblocks, &arg32->newblocks) || in xfs_compat_growfs_rt_copyin()
77 get_user(in->extsize, &arg32->extsize)) in xfs_compat_growfs_rt_copyin()
[all …]
/kernel/linux/linux-4.19/drivers/video/fbdev/
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()
130 get_user(ugreen, &c->green) || 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()
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()
168 get_user(count, &c->count) || in sbusfb_ioctl_helper()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/
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()
130 get_user(ugreen, &c->green) || 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()
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()
168 get_user(count, &c->count) || in sbusfb_ioctl_helper()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Datomisp_compat_ioctl32.c32 get_user(__x, (typeof(*__ptr) __user *)(__ptr)); \
55 get_user(tmp, &up->data) || in get_atomisp_histogram32()
69 get_user(tmp, &kp->data) || in put_atomisp_histogram32()
82 get_user(tmp, &up->base) || in get_v4l2_framebuffer32()
106 get_user(hor_prod_odd_real, in get_atomisp_dis_statistics32()
108 get_user(hor_prod_odd_imag, in get_atomisp_dis_statistics32()
110 get_user(hor_prod_even_real, in get_atomisp_dis_statistics32()
112 get_user(hor_prod_even_imag, in get_atomisp_dis_statistics32()
114 get_user(ver_prod_odd_real, in get_atomisp_dis_statistics32()
116 get_user(ver_prod_odd_imag, in get_atomisp_dis_statistics32()
[all …]
/kernel/linux/linux-4.19/fs/xfs/
Dxfs_ioctl32.c39 if (get_user(bf->l_type, &arg32->l_type) || in xfs_compat_flock64_copyin()
40 get_user(bf->l_whence, &arg32->l_whence) || in xfs_compat_flock64_copyin()
41 get_user(bf->l_start, &arg32->l_start) || in xfs_compat_flock64_copyin()
42 get_user(bf->l_len, &arg32->l_len) || in xfs_compat_flock64_copyin()
43 get_user(bf->l_sysid, &arg32->l_sysid) || in xfs_compat_flock64_copyin()
44 get_user(bf->l_pid, &arg32->l_pid) || in xfs_compat_flock64_copyin()
72 if (get_user(in->newblocks, &arg32->newblocks) || in xfs_compat_growfs_data_copyin()
73 get_user(in->imaxpct, &arg32->imaxpct)) in xfs_compat_growfs_data_copyin()
83 if (get_user(in->newblocks, &arg32->newblocks) || in xfs_compat_growfs_rt_copyin()
84 get_user(in->extsize, &arg32->extsize)) in xfs_compat_growfs_rt_copyin()
[all …]
/kernel/linux/linux-4.19/sound/core/
Dpcm_compat.c46 if (get_user(frames, src)) in snd_pcm_ioctl_rewind_compat()
60 if (get_user(frames, src)) in snd_pcm_ioctl_forward_compat()
121 if (get_user(params.tstamp_mode, &src->tstamp_mode) || in snd_pcm_ioctl_sw_params_compat()
122 get_user(params.period_step, &src->period_step) || in snd_pcm_ioctl_sw_params_compat()
123 get_user(params.sleep_min, &src->sleep_min) || in snd_pcm_ioctl_sw_params_compat()
124 get_user(params.avail_min, &src->avail_min) || in snd_pcm_ioctl_sw_params_compat()
125 get_user(params.xfer_align, &src->xfer_align) || in snd_pcm_ioctl_sw_params_compat()
126 get_user(params.start_threshold, &src->start_threshold) || in snd_pcm_ioctl_sw_params_compat()
127 get_user(params.stop_threshold, &src->stop_threshold) || in snd_pcm_ioctl_sw_params_compat()
128 get_user(params.silence_threshold, &src->silence_threshold) || in snd_pcm_ioctl_sw_params_compat()
[all …]
Drawmidi_compat.c39 if (get_user(params.stream, &src->stream) || in snd_rawmidi_ioctl_params_compat()
40 get_user(params.buffer_size, &src->buffer_size) || in snd_rawmidi_ioctl_params_compat()
41 get_user(params.avail_min, &src->avail_min) || in snd_rawmidi_ioctl_params_compat()
42 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()
119 if (get_user(status.stream, &src->stream)) in snd_rawmidi_ioctl_status_x32()
/kernel/linux/linux-5.10/sound/core/
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()
94 if (get_user(params.tstamp_mode, &src->tstamp_mode) || in snd_pcm_ioctl_sw_params_compat()
95 get_user(params.period_step, &src->period_step) || in snd_pcm_ioctl_sw_params_compat()
96 get_user(params.sleep_min, &src->sleep_min) || in snd_pcm_ioctl_sw_params_compat()
97 get_user(params.avail_min, &src->avail_min) || in snd_pcm_ioctl_sw_params_compat()
98 get_user(params.xfer_align, &src->xfer_align) || in snd_pcm_ioctl_sw_params_compat()
99 get_user(params.start_threshold, &src->start_threshold) || in snd_pcm_ioctl_sw_params_compat()
100 get_user(params.stop_threshold, &src->stop_threshold) || in snd_pcm_ioctl_sw_params_compat()
101 get_user(params.silence_threshold, &src->silence_threshold) || in snd_pcm_ioctl_sw_params_compat()
[all …]
Drawmidi_compat.c25 if (get_user(params.stream, &src->stream) || in snd_rawmidi_ioctl_params_compat()
26 get_user(params.buffer_size, &src->buffer_size) || in snd_rawmidi_ioctl_params_compat()
27 get_user(params.avail_min, &src->avail_min) || in snd_rawmidi_ioctl_params_compat()
28 get_user(val, &src->no_active_sensing)) in snd_rawmidi_ioctl_params_compat()
61 if (get_user(status.stream, &src->stream)) in snd_rawmidi_ioctl_status_compat64()
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.10/arch/arm/nwfpe/
Dfpa11_cpdt.c23 get_user(fpa11->fpreg[Fn].fSingle, pMem); in loadSingle()
33 get_user(p[0], &pMem[0]); /* sign & exponent */ in loadDouble()
34 get_user(p[1], &pMem[1]); in loadDouble()
36 get_user(p[0], &pMem[1]); in loadDouble()
37 get_user(p[1], &pMem[0]); /* sign & exponent */ in loadDouble()
48 get_user(p[0], &pMem[0]); /* sign & exponent */ in loadExtended()
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()
[all …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c42 get_user(__assign_tmp, from) || put_user(__assign_tmp, to); \
60 get_user(__x, (typeof(*__ptr) __user *)(__ptr)); \
167 get_user(clipcount, &p32->clipcount) || in get_v4l2_window32()
175 if (get_user(p, &p32->clips)) in get_v4l2_window32()
207 get_user(clipcount, &p64->clipcount) || in put_v4l2_window32()
213 if (get_user(kclips, &p64->clips)) in put_v4l2_window32()
215 if (get_user(p, &p32->clips)) in put_v4l2_window32()
264 if (get_user(type, &p32->type)) in __bufsize_v4l2_format()
272 if (get_user(clipcount, &p32->fmt.win.clipcount)) in __bufsize_v4l2_format()
298 if (get_user(type, &p32->type) || put_user(type, &p64->type)) in __get_v4l2_format32()
[all …]
/kernel/linux/linux-5.10/include/asm-generic/
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()
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()
/kernel/linux/linux-4.19/include/asm-generic/
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()
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()
/kernel/linux/linux-4.19/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c41 get_user(__assign_tmp, from) || put_user(__assign_tmp, to); \
59 get_user(__x, (typeof(*__ptr) __user *)(__ptr)); \
166 get_user(clipcount, &p32->clipcount) || in get_v4l2_window32()
174 if (get_user(p, &p32->clips)) in get_v4l2_window32()
206 get_user(clipcount, &p64->clipcount) || in put_v4l2_window32()
212 if (get_user(kclips, &p64->clips)) in put_v4l2_window32()
214 if (get_user(p, &p32->clips)) in put_v4l2_window32()
261 if (get_user(type, &p32->type)) in __bufsize_v4l2_format()
269 if (get_user(clipcount, &p32->fmt.win.clipcount)) in __bufsize_v4l2_format()
295 if (get_user(type, &p32->type) || put_user(type, &p64->type)) in __get_v4l2_format32()
[all …]
/kernel/linux/linux-5.10/net/atm/
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()
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/block/
Dcompat_ioctl.c93 if (get_user(v, p) || put_user(v, uvp)) in compat_hdio_ioctl()
135 if (get_user(data, &cdread_audio32->buf)) in compat_cdrom_read_audio()
158 get_user(data, &cgc32->buffer) || in compat_cdrom_generic_command()
162 get_user(data, &cgc32->sense) || in compat_cdrom_generic_command()
164 get_user(dir, &cgc32->data_direction) || in compat_cdrom_generic_command()
166 get_user(itmp, &cgc32->quiet) || in compat_cdrom_generic_command()
168 get_user(itmp, &cgc32->timeout) || in compat_cdrom_generic_command()
170 get_user(data, &cgc32->reserved[0]) || in compat_cdrom_generic_command()
192 err = get_user(n, &ua32->op); in compat_blkpg_ioctl()
194 err |= get_user(n, &ua32->flags); in compat_blkpg_ioctl()
[all …]
/kernel/linux/linux-4.19/fs/
Dutimes.c29 if (get_user(tv[0].tv_sec, &times->actime) || in SYSCALL_DEFINE2()
30 get_user(tv[1].tv_sec, &times->modtime)) in SYSCALL_DEFINE2()
239 if (get_user(tv[0].tv_sec, &t->actime) || in COMPAT_SYSCALL_DEFINE2()
240 get_user(tv[1].tv_sec, &t->modtime)) in COMPAT_SYSCALL_DEFINE2()
269 if (get_user(tv[0].tv_sec, &t[0].tv_sec) || in do_compat_futimesat()
270 get_user(tv[0].tv_nsec, &t[0].tv_usec) || in do_compat_futimesat()
271 get_user(tv[1].tv_sec, &t[1].tv_sec) || in do_compat_futimesat()
272 get_user(tv[1].tv_nsec, &t[1].tv_usec)) in do_compat_futimesat()
/kernel/linux/linux-5.10/sound/core/seq/oss/
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()

12345678910>>...39