/linux-5.19.10/arch/sparc/include/asm/ |
D | termios.h | 34 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 …]
|
/linux-5.19.10/fs/xfs/ |
D | xfs_ioctl32.c | 51 if (get_user(in->newblocks, &arg32->newblocks) || in xfs_compat_growfs_data_copyin() 52 get_user(in->imaxpct, &arg32->imaxpct)) in xfs_compat_growfs_data_copyin() 62 if (get_user(in->newblocks, &arg32->newblocks) || in xfs_compat_growfs_rt_copyin() 63 get_user(in->extsize, &arg32->extsize)) in xfs_compat_growfs_rt_copyin() 98 if (get_user(sec32, &bstime32->tv_sec) || in xfs_ioctl32_bstime_copyin() 99 get_user(bstime->tv_nsec, &bstime32->tv_nsec)) in xfs_ioctl32_bstime_copyin() 114 if (get_user(bstat->bs_ino, &bstat32->bs_ino) || in xfs_ioctl32_bstat_copyin() 115 get_user(bstat->bs_mode, &bstat32->bs_mode) || in xfs_ioctl32_bstat_copyin() 116 get_user(bstat->bs_nlink, &bstat32->bs_nlink) || in xfs_ioctl32_bstat_copyin() 117 get_user(bstat->bs_uid, &bstat32->bs_uid) || in xfs_ioctl32_bstat_copyin() [all …]
|
/linux-5.19.10/drivers/video/fbdev/ |
D | sbuslib.c | 127 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 …]
|
/linux-5.19.10/sound/core/ |
D | pcm_compat.c | 32 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 …]
|
D | rawmidi_compat.c | 26 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()
|
D | hwdep_compat.c | 26 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()
|
D | control_compat.c | 33 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-5.19.10/arch/arm/nwfpe/ |
D | fpa11_cpdt.c | 23 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 …]
|
/linux-5.19.10/include/asm-generic/ |
D | termios-base.h | 20 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()
|
D | termios.h | 25 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()
|
D | futex.h | 46 if (unlikely(get_user(oldval, uaddr) != 0)) in futex_atomic_op_inuser_local() 105 if (unlikely(get_user(val, uaddr) != 0)) { in futex_atomic_cmpxchg_inatomic_local()
|
/linux-5.19.10/net/atm/ |
D | ioctl.c | 125 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-5.19.10/drivers/char/ |
D | dsp56k.c | 170 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-5.19.10/sound/core/seq/oss/ |
D | seq_oss_ioctl.c | 97 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-5.19.10/fs/ |
D | utimes.c | 219 if (get_user(tv[0].tv_sec, ×->actime) || in SYSCALL_DEFINE2() 220 get_user(tv[1].tv_sec, ×->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-5.19.10/arch/mips/kernel/ |
D | access-helper.h | 7 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-5.19.10/sound/oss/dmasound/ |
D | dmasound_atari.c | 170 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() 245 if (get_user(data, (u_short __user *)userPtr)) in ata_ct_s16be() 277 if (get_user(data, (u_short __user *)userPtr)) in ata_ct_u16be() 292 if (get_user(data, (u_int __user *)userPtr)) in ata_ct_u16be() 317 if (get_user(data, (u_short __user *)userPtr)) in ata_ct_s16le() 332 if (get_user(data, (u_int __user *)userPtr)) in ata_ct_s16le() 358 if (get_user(data, (u_short __user *)userPtr)) in ata_ct_u16le() 372 if (get_user(data, (u_int __user *)userPtr)) in ata_ct_u16le() [all …]
|
D | dmasound_paula.c | 174 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-5.19.10/arch/x86/kernel/cpu/mtrr/ |
D | if.c | 196 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-5.19.10/arch/loongarch/kernel/ |
D | access-helper.h | 7 return user ? get_user(*i, (u32 __user *)p) : get_kernel_nofault(*i, p); in __get_inst() 12 return user ? get_user(*a, (unsigned long __user *)p) : get_kernel_nofault(*a, p); in __get_addr()
|
/linux-5.19.10/drivers/pci/ |
D | syscall.c | 105 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-5.19.10/arch/sparc/kernel/ |
D | apc.c | 110 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-5.19.10/drivers/gpu/drm/i915/ |
D | i915_user_extensions.c | 41 if (get_user(name, &ext->name)) in i915_user_extensions() 53 if (get_user(next, &ext->next_extension) || in i915_user_extensions()
|
/linux-5.19.10/drivers/watchdog/ |
D | gef_wdt.c | 146 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()
|
D | ib700wdt.c | 156 if (get_user(c, buf + i)) in ibwdt_write() 194 if (get_user(options, p)) in ibwdt_ioctl() 212 if (get_user(new_margin, p)) in ibwdt_ioctl()
|