/linux-4.1.27/arch/sparc/include/asm/ |
D | termios.h | 33 err = get_user(tmp, &(termio)->c_iflag); \ 35 err |= get_user(tmp, &(termio)->c_oflag); \ 37 err |= get_user(tmp, &(termio)->c_cflag); \ 39 err |= get_user(tmp, &(termio)->c_lflag); \ 69 err = get_user((k)->c_iflag, &(u)->c_iflag); \ 70 err |= get_user((k)->c_oflag, &(u)->c_oflag); \ 71 err |= get_user((k)->c_cflag, &(u)->c_cflag); \ 72 err |= get_user((k)->c_lflag, &(u)->c_lflag); \ 73 err |= get_user((k)->c_line, &(u)->c_line); \ 76 err |= get_user((k)->c_cc[VEOF], &(u)->c_cc[VEOF]); \ [all …]
|
D | uaccess_64.h | 97 #define get_user(x, ptr) ({ \ macro 104 #define __get_user(x, ptr) get_user(x, ptr)
|
/linux-4.1.27/drivers/staging/android/ion/ |
D | compat_ion.c | 58 err = get_user(s, &data32->len); in compat_get_ion_allocation_data() 60 err |= get_user(s, &data32->align); in compat_get_ion_allocation_data() 62 err |= get_user(u, &data32->heap_id_mask); in compat_get_ion_allocation_data() 64 err |= get_user(u, &data32->flags); in compat_get_ion_allocation_data() 66 err |= get_user(i, &data32->handle); in compat_get_ion_allocation_data() 79 err = get_user(i, &data32->handle); in compat_get_ion_handle_data() 94 err = get_user(s, &data->len); in compat_put_ion_allocation_data() 96 err |= get_user(s, &data->align); in compat_put_ion_allocation_data() 98 err |= get_user(u, &data->heap_id_mask); in compat_put_ion_allocation_data() 100 err |= get_user(u, &data->flags); in compat_put_ion_allocation_data() [all …]
|
/linux-4.1.27/fs/xfs/ |
D | xfs_ioctl32.c | 49 if (get_user(bf->l_type, &arg32->l_type) || in xfs_compat_flock64_copyin() 50 get_user(bf->l_whence, &arg32->l_whence) || in xfs_compat_flock64_copyin() 51 get_user(bf->l_start, &arg32->l_start) || in xfs_compat_flock64_copyin() 52 get_user(bf->l_len, &arg32->l_len) || in xfs_compat_flock64_copyin() 53 get_user(bf->l_sysid, &arg32->l_sysid) || in xfs_compat_flock64_copyin() 54 get_user(bf->l_pid, &arg32->l_pid) || in xfs_compat_flock64_copyin() 82 if (get_user(in->newblocks, &arg32->newblocks) || in xfs_compat_growfs_data_copyin() 83 get_user(in->imaxpct, &arg32->imaxpct)) in xfs_compat_growfs_data_copyin() 93 if (get_user(in->newblocks, &arg32->newblocks) || in xfs_compat_growfs_rt_copyin() 94 get_user(in->extsize, &arg32->extsize)) in xfs_compat_growfs_rt_copyin() [all …]
|
/linux-4.1.27/sound/core/ |
D | pcm_compat.c | 49 if (get_user(frames, src)) in snd_pcm_ioctl_rewind_compat() 66 if (get_user(frames, src)) in snd_pcm_ioctl_forward_compat() 130 if (get_user(params.tstamp_mode, &src->tstamp_mode) || in snd_pcm_ioctl_sw_params_compat() 131 get_user(params.period_step, &src->period_step) || in snd_pcm_ioctl_sw_params_compat() 132 get_user(params.sleep_min, &src->sleep_min) || in snd_pcm_ioctl_sw_params_compat() 133 get_user(params.avail_min, &src->avail_min) || in snd_pcm_ioctl_sw_params_compat() 134 get_user(params.xfer_align, &src->xfer_align) || in snd_pcm_ioctl_sw_params_compat() 135 get_user(params.start_threshold, &src->start_threshold) || in snd_pcm_ioctl_sw_params_compat() 136 get_user(params.stop_threshold, &src->stop_threshold) || in snd_pcm_ioctl_sw_params_compat() 137 get_user(params.silence_threshold, &src->silence_threshold) || in snd_pcm_ioctl_sw_params_compat() [all …]
|
D | rawmidi_compat.c | 41 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() 118 if (get_user(status.stream, &src->stream)) in snd_rawmidi_ioctl_status_x32()
|
D | hwdep_compat.c | 45 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()
|
D | control_compat.c | 48 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() 246 if (get_user(indirect, &data32->indirect)) in copy_ctl_value_from_user() 259 if (get_user(val, &intp[i])) in copy_ctl_value_from_user() 403 if (get_user(data->owner, &data32->owner) || in snd_ctl_elem_add_compat() 404 get_user(data->type, &data32->type)) in snd_ctl_elem_add_compat() 409 if (get_user(data->value.integer.min, &data32->value.integer.min) || in snd_ctl_elem_add_compat() 410 get_user(data->value.integer.max, &data32->value.integer.max) || in snd_ctl_elem_add_compat() 411 get_user(data->value.integer.step, &data32->value.integer.step)) in snd_ctl_elem_add_compat()
|
D | rawmidi.c | 613 if (get_user(info.device, &_info->device)) in snd_rawmidi_info_select_user() 615 if (get_user(info.stream, &_info->stream)) in snd_rawmidi_info_select_user() 617 if (get_user(info.subdevice, &_info->subdevice)) in snd_rawmidi_info_select_user() 725 if (get_user(stream, &info->stream)) in snd_rawmidi_ioctl() 783 if (get_user(val, (int __user *) argp)) in snd_rawmidi_ioctl() 797 if (get_user(val, (int __user *) argp)) in snd_rawmidi_ioctl() 831 if (get_user(device, (int __user *)argp)) in snd_rawmidi_control_ioctl() 853 if (get_user(val, (int __user *)argp)) in snd_rawmidi_control_ioctl()
|
/linux-4.1.27/arch/arm/nwfpe/ |
D | fpa11_cpdt.c | 35 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-4.1.27/drivers/media/v4l2-core/ |
D | v4l2-compat-ioctl32.c | 52 get_user(kp->field, &up->field) || in get_v4l2_window32() 53 get_user(kp->chromakey, &up->chromakey) || in get_v4l2_window32() 54 get_user(kp->clipcount, &up->clipcount)) in get_v4l2_window32() 64 if (get_user(p, &up->clips)) in get_v4l2_window32() 181 if (get_user(kp->type, &up->type)) in __get_v4l2_format32() 281 get_user(kp->index, &up->index)) in get_v4l2_standard32() 346 if (get_user(p, &up32->m.userptr)) in get_v4l2_plane32() 395 get_user(kp->index, &up->index) || in get_v4l2_buffer32() 396 get_user(kp->type, &up->type) || in get_v4l2_buffer32() 397 get_user(kp->flags, &up->flags) || in get_v4l2_buffer32() [all …]
|
/linux-4.1.27/drivers/video/fbdev/ |
D | sbuslib.c | 126 if (get_user(index, &c->index) || in sbusfb_ioctl_helper() 141 if (get_user(red8, &ured[i]) || in sbusfb_ioctl_helper() 142 get_user(green8, &ugreen[i]) || in sbusfb_ioctl_helper() 143 get_user(blue8, &ublue[i])) in sbusfb_ioctl_helper() 166 if (get_user(index, &c->index) || in sbusfb_ioctl_helper() 202 ret |= get_user(addr, &argp->red); in fbiogetputcmap() 204 ret |= get_user(addr, &argp->green); in fbiogetputcmap() 206 ret |= get_user(addr, &argp->blue); in fbiogetputcmap() 227 ret |= get_user(addr, &argp->cmap.red); in fbiogscursor() 229 ret |= get_user(addr, &argp->cmap.green); in fbiogscursor() [all …]
|
/linux-4.1.27/arch/sh/include/asm/ |
D | futex-irq.h | 13 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-4.1.27/include/asm-generic/ |
D | termios-base.h | 19 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()
|
D | termios.h | 24 if (get_user(tmp, &termio->c_iflag) < 0) in user_termio_to_kernel_termios() 28 if (get_user(tmp, &termio->c_oflag) < 0) in user_termio_to_kernel_termios() 32 if (get_user(tmp, &termio->c_cflag) < 0) in user_termio_to_kernel_termios() 36 if (get_user(tmp, &termio->c_lflag) < 0) in user_termio_to_kernel_termios() 40 if (get_user(termios->c_line, &termio->c_line) < 0) in user_termio_to_kernel_termios()
|
D | futex.h | 44 if (unlikely(get_user(oldval, uaddr) != 0)) in futex_atomic_op_inuser() 109 if (unlikely(get_user(val, uaddr) != 0)) in futex_atomic_cmpxchg_inatomic()
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | futex.h | 57 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()
|
D | processor.h | 216 get_user(regs->gr[26],&sp[0]); \ 217 get_user(regs->gr[25],&sp[-1]); \ 218 get_user(regs->gr[24],&sp[-2]); \ 219 get_user(regs->gr[23],&sp[-3]); \ 322 get_user(regs->gr[25], (argv - 1)); \
|
D | termios.h | 20 get_user(__tmp,&(termio)->x); \
|
/linux-4.1.27/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 …]
|
D | ds1620.c | 254 if (get_user(therm.hi, uarg.i)) in ds1620_ioctl() 307 if (get_user(i, uarg.i)) in ds1620_ioctl()
|
D | nsc_gpio.c | 52 if (get_user(c, data + i)) in nsc_gpio_write()
|
/linux-4.1.27/fs/quota/ |
D | compat.c | 65 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-4.1.27/sound/core/seq/oss/ |
D | seq_oss_ioctl.c | 110 if (get_user(dev, p)) in snd_seq_oss_ioctl() 128 if (get_user(dev, p)) in snd_seq_oss_ioctl() 139 if (get_user(dev, p)) in snd_seq_oss_ioctl() 145 if (get_user(dev, p)) in snd_seq_oss_ioctl() 163 if (get_user(val, p)) in snd_seq_oss_ioctl() 175 if (get_user(val, p)) in snd_seq_oss_ioctl()
|
D | seq_oss_timer.c | 237 if (get_user(value, arg)) in snd_seq_oss_timer_ioctl() 256 if (get_user(value, arg)) in snd_seq_oss_timer_ioctl() 260 if (get_user(value, arg)) in snd_seq_oss_timer_ioctl()
|
/linux-4.1.27/net/atm/ |
D | resources.c | 216 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()
|
D | ioctl.c | 138 error = get_user(backend, (atm_backend_t __user *)argp); in do_vcc_ioctl() 257 if (get_user(len, &iobuf32->length) || in do_atm_iobuf() 258 get_user(data, &iobuf32->buffer)) in do_atm_iobuf() 289 get_user(data, &sioc32->arg)) in do_atmif_sioc()
|
D | pppoatm.c | 382 return get_user(chan_to_pvcc(chan)->flags, (int __user *) arg) in pppoatm_devppp_ioctl() 459 if (get_user(b, (atm_backend_t __user *) argp)) in pppoatm_ioctl()
|
/linux-4.1.27/drivers/staging/i2o/ |
D | i2o_config.c | 100 if (get_user(reslen, kcmd.reslen) < 0) in i2o_cfg_gethrt() 137 if (get_user(reslen, kcmd.reslen) < 0) in i2o_cfg_getlct() 179 if (get_user(reslen, kcmd.reslen)) in i2o_cfg_parms() 244 if (get_user(swlen, kxfer.swlen) < 0) in i2o_cfg_swdl() 247 if (get_user(maxfrag, kxfer.maxfrag) < 0) in i2o_cfg_swdl() 250 if (get_user(curfrag, kxfer.curfrag) < 0) in i2o_cfg_swdl() 323 if (get_user(swlen, kxfer.swlen) < 0) in i2o_cfg_swul() 326 if (get_user(maxfrag, kxfer.maxfrag) < 0) in i2o_cfg_swul() 329 if (get_user(curfrag, kxfer.curfrag) < 0) in i2o_cfg_swul() 395 if (get_user(swlen, kxfer.swlen) < 0) in i2o_cfg_swdel() [all …]
|
/linux-4.1.27/drivers/lguest/ |
D | lguest_user.c | 24 if (get_user(which, input) != 0) in getreg_setup() 46 if (get_user(which, input) != 0) in setreg() 49 if (get_user(value, input) != 0) in setreg() 71 if (get_user(irq, input) != 0) in user_send_irq() 92 if (get_user(trapnum, input) != 0) in trap() 311 if (get_user(req, input) != 0) in write()
|
D | interrupts_and_traps.c | 111 if (get_user(irq_enable, &cpu->lg->lguest_data->irq_enabled) == 0 in push_guest_interrupt_stack() 241 if (get_user(irq_enabled, &cpu->lg->lguest_data->irq_enabled)) in try_deliver_interrupt() 345 if (get_user(vector, &lg->lguest_data->syscall_vec)) in check_syscall_vector()
|
D | hypercalls.c | 216 if (get_user(cpu->lg->noirq_iret, &cpu->lg->lguest_data->noirq_iret)) in initialize()
|
/linux-4.1.27/sound/oss/dmasound/ |
D | dmasound_atari.c | 169 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 …]
|
D | dmasound_paula.c | 173 if (get_user(*left++, userPtr++) in ami_ct_s8() 174 || get_user(*right++, userPtr++)) in ami_ct_s8() 201 if (get_user(data, userPtr++)) \ 213 if (get_user(data, userPtr++)) \ 216 if (get_user(data, userPtr++)) \ 254 if (get_user(data, ptr++)) \ 269 if (get_user(data, ptr++)) \ 274 if (get_user(data, ptr++)) \
|
D | dmasound_q40.c | 136 if (get_user(c, userPtr++)) in q40_ctx_law() 173 if (get_user(c, userPtr++)) in q40_ctx_s8() 209 if (get_user(c, userPtr++)) in q40_ctx_u8() 247 if (get_user(c, userPtr)) in q40_ctc_law() 286 if (get_user(c, userPtr)) in q40_ctc_s8() 325 if (get_user(c, userPtr)) in q40_ctc_u8()
|
/linux-4.1.27/drivers/pci/ |
D | syscall.c | 104 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()
|
/linux-4.1.27/fs/ |
D | compat_ioctl.c | 180 err = get_user(fp, &up->iFrame); in do_video_stillpicture() 181 err |= get_user(size, &up->size); in do_video_stillpicture() 210 err = get_user(palp, &up->palette); in do_video_set_spu_palette() 211 err |= get_user(length, &up->length); in do_video_set_spu_palette() 267 if (get_user(base, &iov32[i].iov_base) || in sg_build_iovec() 268 get_user(len, &iov32[i].iov_len) || in sg_build_iovec() 289 if (get_user(interface_id, &sgio32->interface_id)) in sg_ioctl_trans() 294 if (get_user(iovec_count, &sgio32->iovec_count)) in sg_ioctl_trans() 315 if (get_user(data, &sgio32->dxferp)) in sg_ioctl_trans() 330 if (get_user(data, &sgio32->cmdp)) in sg_ioctl_trans() [all …]
|
D | utimes.c | 32 if (get_user(tv[0].tv_sec, ×->actime) || in SYSCALL_DEFINE2() 33 get_user(tv[1].tv_sec, ×->modtime)) in SYSCALL_DEFINE2()
|
D | ioctl.c | 60 res = get_user(block, p); in ioctl_fibmap() 478 error = get_user(on, argp); in ioctl_fionbio() 502 error = get_user(on, argp); in ioctl_fioasync()
|
D | compat.c | 81 if (get_user(tv[0].tv_sec, &t->actime) || in COMPAT_SYSCALL_DEFINE2() 82 get_user(tv[1].tv_sec, &t->modtime)) in COMPAT_SYSCALL_DEFINE2() 110 if (get_user(tv[0].tv_sec, &t[0].tv_sec) || in COMPAT_SYSCALL_DEFINE3() 111 get_user(tv[0].tv_nsec, &t[0].tv_usec) || in COMPAT_SYSCALL_DEFINE3() 112 get_user(tv[1].tv_sec, &t[1].tv_sec) || in COMPAT_SYSCALL_DEFINE3() 113 get_user(tv[1].tv_nsec, &t[1].tv_usec)) in COMPAT_SYSCALL_DEFINE3() 510 if (unlikely(get_user(ctx64, ctx32p))) in COMPAT_SYSCALL_DEFINE2() 626 if (get_user(uptr, ptr32 + i)) in copy_iocb()
|
/linux-4.1.27/arch/x86/kernel/cpu/mtrr/ |
D | if.c | 205 err = get_user(sentry.base, &s32->base); in mtrr_ioctl() 206 err |= get_user(sentry.size, &s32->size); in mtrr_ioctl() 207 err |= get_user(sentry.type, &s32->type); in mtrr_ioctl() 217 err = get_user(gentry.regnum, &g32->regnum); in mtrr_ioctl() 218 err |= get_user(gentry.base, &g32->base); in mtrr_ioctl() 219 err |= get_user(gentry.size, &g32->size); in mtrr_ioctl() 220 err |= get_user(gentry.type, &g32->type); in mtrr_ioctl()
|
/linux-4.1.27/arch/frv/kernel/ |
D | traps.c | 136 ret = get_user(z, p); in atomic_operation() 165 ret = get_user(z, p); in atomic_operation() 188 ret = get_user(z, p); in atomic_operation() 212 ret = get_user(z, p); in atomic_operation() 236 ret = get_user(z, p); in atomic_operation() 260 ret = get_user(z, p); in atomic_operation() 284 ret = get_user(z, p); in atomic_operation()
|
/linux-4.1.27/arch/sparc/kernel/ |
D | apc.c | 109 if (get_user(inarg, arg)) in apc_ioctl() 115 if (get_user(inarg, arg)) in apc_ioctl() 121 if (get_user(inarg, arg)) in apc_ioctl()
|
D | ptrace_32.c | 72 if (get_user(*k++, ®_window[pos++])) in genregs32_get() 84 if (get_user(reg, ®_window[pos++]) || in genregs32_get() 155 if (get_user(reg, u++)) in genregs32_set() 163 if (get_user(reg, u++) || in genregs32_set() 173 else if (get_user(reg, u++)) in genregs32_set()
|
D | unaligned_64.c | 135 get_user(value, &win32->locals[reg - 16]); in fetch_reg() 139 get_user(value, &win->locals[reg - 16]); in fetch_reg() 519 err = get_user (data[0], (u32 __user *) addr); in handle_ldf_stq() 603 if (get_user(insn, (u32 __user *) pc) != -EFAULT) { in handle_lddfmna() 612 err = get_user(first, (u32 __user *)sfar); in handle_lddfmna() 614 err = get_user(second, (u32 __user *)(sfar + 4)); in handle_lddfmna() 667 if (get_user(insn, (u32 __user *) pc) != -EFAULT) { in handle_stdfmna()
|
D | sys_sparc32.c | 172 ret = get_user(u_handler, &act->sa_handler); in COMPAT_SYSCALL_DEFINE5() 176 ret |= get_user(new_ka.sa.sa_flags, &act->sa_flags); in COMPAT_SYSCALL_DEFINE5() 177 ret |= get_user(u_restorer, &act->sa_restorer); in COMPAT_SYSCALL_DEFINE5()
|
D | ptrace_64.c | 500 if (get_user(*k++, ®_window[pos++])) in genregs32_get() 525 if (get_user(reg, ®_window[pos++]) || in genregs32_get() 627 if (get_user(reg, u++)) in genregs32_set() 636 if (get_user(reg, u++) || in genregs32_set() 664 else if (get_user(reg, u++)) in genregs32_set()
|
/linux-4.1.27/sound/oss/ |
D | pas2_mixer.c | 216 if (get_user(level, p)) in pas_mixer_ioctl() 230 if (get_user(level, p)) in pas_mixer_ioctl() 253 if (get_user(level, p)) in pas_mixer_ioctl() 268 if (get_user(v, p)) in pas_mixer_ioctl()
|
D | pas2_pcm.c | 158 if (get_user(val, p)) in pas_audio_ioctl() 168 if (get_user(val, p)) in pas_audio_ioctl() 174 if (get_user(val, p)) in pas_audio_ioctl() 184 if (get_user(val, p)) in pas_audio_ioctl()
|
D | sound_timer.c | 206 if (get_user(val, p)) in timer_ioctl() 220 if (get_user(val, p)) in timer_ioctl() 238 if (get_user(val, p)) in timer_ioctl()
|
D | sequencer.c | 1342 if (get_user(pending_timer, p)) in sequencer_ioctl() 1405 if (get_user(val, p)) in sequencer_ioctl() 1415 if (get_user(dev, p)) in sequencer_ioctl() 1432 if (get_user(dev, p)) in sequencer_ioctl() 1442 if (get_user(dev, p)) in sequencer_ioctl() 1452 if (get_user(dev, &((struct synth_info __user *)arg)->device)) in sequencer_ioctl() 1462 if (get_user(dev, &((struct synth_info __user *)arg)->device)) in sequencer_ioctl() 1480 if (get_user(dev, &((struct midi_info __user *)arg)->device)) in sequencer_ioctl() 1488 if (get_user(val, p)) in sequencer_ioctl() 1498 if (get_user(val, p)) in sequencer_ioctl()
|
D | audio.c | 416 if (get_user(val, p)) in audio_ioctl() 455 if (get_user(val, p)) in audio_ioctl() 465 if (get_user(val, p)) in audio_ioctl() 473 if (get_user(val, p)) in audio_ioctl() 492 if (get_user(val, p)) in audio_ioctl() 754 if (get_user(fact, (int __user *)arg)) in dma_ioctl() 822 if (get_user(bits, (int __user *)arg)) in dma_ioctl() 963 if (get_user(fact, (int __user *)arg)) in dma_ioctl()
|
D | swarm_cs4297a.c | 1218 if (get_user(val, (unsigned long *) arg)) in mixer_ioctl() 1224 if (get_user(val, (unsigned long *) arg)) in mixer_ioctl() 1241 if (get_user(val, (int *) arg)) in mixer_ioctl() 1325 if (get_user(val, (int *) arg)) in mixer_ioctl() 1342 if (get_user(val, (int *) arg)) in mixer_ioctl() 1380 if (get_user(val, (int *) arg)) in mixer_ioctl() 1410 if (get_user(val, (int *) arg)) in mixer_ioctl() 1436 if (get_user(val, (int *) arg)) in mixer_ioctl() 1467 if (get_user(val, (int *) arg)) in mixer_ioctl() 1472 if (get_user(val, (int *) arg)) in mixer_ioctl() [all …]
|
D | sb_mixer.c | 547 if (get_user(val, p)) in sb_mixer_ioctl() 558 if (get_user(val, p)) in sb_mixer_ioctl() 576 if (get_user(val, p)) in sb_mixer_ioctl()
|
D | mpu401.c | 736 if (get_user(val, (int __user *)arg)) in mpu401_ioctl() 1488 if (get_user(parm, p)) in mpu_timer_ioctl() 1527 if (get_user(val, p)) in mpu_timer_ioctl() 1542 if (get_user(val, p)) in mpu_timer_ioctl() 1567 if (get_user(val, p)) in mpu_timer_ioctl() 1585 if (get_user(metronome_mode, p)) in mpu_timer_ioctl()
|
/linux-4.1.27/fs/ext2/ |
D | ioctl.c | 47 if (get_user(flags, (int __user *) arg)) { in ext2_ioctl() 100 if (get_user(generation, (int __user *) arg)) { in ext2_ioctl() 131 if (get_user(rsv_window_size, (int __user *)arg)) in ext2_ioctl()
|
/linux-4.1.27/drivers/ide/ |
D | ide-floppy_ioctl.c | 45 if (get_user(u_array_size, arg)) in ide_floppy_get_format_capacities() 168 if (get_user(blocks, arg) || in ide_floppy_format_unit() 169 get_user(length, arg+1) || in ide_floppy_format_unit() 170 get_user(flags, arg+2)) { in ide_floppy_format_unit()
|
/linux-4.1.27/fs/ext4/ |
D | ioctl.c | 233 if (get_user(flags, (int __user *) arg)) in ext4_ioctl() 351 if (get_user(generation, (int __user *) arg)) { in ext4_ioctl() 384 if (get_user(n_blocks_count, (__u32 __user *)arg)) { in ext4_ioctl() 744 err = get_user(input.group, &uinput->group); in ext4_compat_ioctl() 745 err |= get_user(input.block_bitmap, &uinput->block_bitmap); in ext4_compat_ioctl() 746 err |= get_user(input.inode_bitmap, &uinput->inode_bitmap); in ext4_compat_ioctl() 747 err |= get_user(input.inode_table, &uinput->inode_table); in ext4_compat_ioctl() 748 err |= get_user(input.blocks_count, &uinput->blocks_count); in ext4_compat_ioctl() 749 err |= get_user(input.reserved_blocks, in ext4_compat_ioctl()
|
/linux-4.1.27/drivers/watchdog/ |
D | wafer5823wdt.c | 113 if (get_user(c, buf + i)) in wafwdt_write() 153 if (get_user(options, p)) in wafwdt_ioctl() 174 if (get_user(new_timeout, p)) in wafwdt_ioctl()
|
D | ib700wdt.c | 160 if (get_user(c, buf + i)) in ibwdt_write() 198 if (get_user(options, p)) in ibwdt_ioctl() 216 if (get_user(new_margin, p)) in ibwdt_ioctl()
|
D | advantechwdt.c | 124 if (get_user(c, buf + i)) in advwdt_write() 162 if (get_user(options, p)) in advwdt_ioctl() 179 if (get_user(new_timeout, p)) in advwdt_ioctl()
|
D | gef_wdt.c | 150 if (get_user(c, data + i)) in gef_wdt_write() 189 if (get_user(options, (int __user *)argp)) in gef_wdt_ioctl() 205 if (get_user(timeout, (int __user *)argp)) in gef_wdt_ioctl()
|
D | geodewdt.c | 126 if (get_user(c, data + i)) in geodewdt_write() 167 if (get_user(options, p)) in geodewdt_ioctl() 187 if (get_user(interval, p)) in geodewdt_ioctl()
|
D | sbc7240_wdt.c | 116 if (get_user(c, buf + i)) in fop_write() 179 if (get_user(options, (int __user *)arg)) in fop_ioctl() 201 if (get_user(new_timeout, (int __user *)arg)) in fop_ioctl()
|
D | alim1535_wdt.c | 157 if (get_user(c, data + i)) in ali_write() 203 if (get_user(new_options, p)) in ali_ioctl() 221 if (get_user(new_timeout, p)) in ali_ioctl()
|
D | w83877f_wdt.c | 206 if (get_user(c, buf + ofs)) in fop_write() 264 if (get_user(new_options, p)) in fop_ioctl() 286 if (get_user(new_timeout, p)) in fop_ioctl()
|
D | mv64x60_wdt.c | 165 if (get_user(c, data + i)) in mv64x60_wdt_write() 208 if (get_user(options, (int __user *)argp)) in mv64x60_wdt_ioctl() 224 if (get_user(timeout, (int __user *)argp)) in mv64x60_wdt_ioctl()
|
D | bcm63xx_wdt.c | 150 if (get_user(c, data + i)) in bcm63xx_wdt_write() 186 if (get_user(new_value, p)) in bcm63xx_wdt_ioctl() 205 if (get_user(new_value, p)) in bcm63xx_wdt_ioctl()
|
D | sbc60xxwdt.c | 186 if (get_user(c, buf + ofs)) in fop_write() 247 if (get_user(new_options, p)) in fop_ioctl() 265 if (get_user(new_timeout, p)) in fop_ioctl()
|
D | sc520_wdt.c | 237 if (get_user(c, buf + ofs)) in fop_write() 298 if (get_user(new_options, p)) in fop_ioctl() 320 if (get_user(new_timeout, p)) in fop_ioctl()
|
D | bfin_wdt.c | 211 if (get_user(c, data + i)) in bfin_wdt_write() 253 if (get_user(options, p)) in bfin_wdt_ioctl() 274 if (get_user(new_timeout, p)) in bfin_wdt_ioctl()
|
D | xen_wdt.c | 163 if (get_user(c, data + i)) in xen_wdt_write() 197 if (get_user(new_options, argp)) in xen_wdt_ioctl() 214 if (get_user(new_timeout, argp)) in xen_wdt_ioctl()
|
D | ixp4xx_wdt.c | 83 if (get_user(c, data + i)) in ixp4xx_wdt_write() 127 ret = get_user(time, (int *)arg); in ixp4xx_wdt_ioctl()
|
D | i6300esb.c | 240 if (get_user(c, data + i)) in esb_write() 280 if (get_user(new_options, p)) in esb_ioctl() 300 if (get_user(new_heartbeat, p)) in esb_ioctl()
|
D | alim7101_wdt.c | 198 if (get_user(c, buf + ofs)) in fop_write() 254 if (get_user(new_options, p)) in fop_ioctl() 273 if (get_user(new_timeout, p)) in fop_ioctl()
|
D | sc1200wdt.c | 214 if (get_user(options, p)) in sc1200wdt_ioctl() 234 if (get_user(new_timeout, p)) in sc1200wdt_ioctl() 281 if (get_user(c, data + i)) in sc1200wdt_write()
|
D | wdrtas.c | 260 if (get_user(c, buf + i)) in wdrtas_write() 318 if (get_user(i, argp)) in wdrtas_ioctl() 336 if (get_user(i, argp)) in wdrtas_ioctl()
|
D | smsc37b787_wdt.c | 408 if (get_user(c, data + i)) in wb_smsc_wdt_write() 455 if (get_user(options, uarg.i)) in wb_smsc_wdt_ioctl() 472 if (get_user(new_timeout, uarg.i)) in wb_smsc_wdt_ioctl()
|
D | ts72xx_wdt.c | 273 if (get_user(c, data + i)) { in ts72xx_wdt_write() 324 error = get_user(options, p); in ts72xx_wdt_ioctl() 346 error = get_user(new_timeout, p); in ts72xx_wdt_ioctl()
|
D | m54xx_wdt.c | 103 if (get_user(c, data + i)) in m54xx_wdt_write() 146 ret = get_user(time, (int *)arg); in m54xx_wdt_ioctl()
|
D | wdt977.c | 320 if (get_user(c, buf + i)) in wdt977_write() 378 if (get_user(new_options, uarg.i)) in wdt977_ioctl() 398 if (get_user(new_timeout, uarg.i)) in wdt977_ioctl()
|
D | dw_wdt.c | 212 if (get_user(c, buf + i)) in dw_wdt_write() 259 if (get_user(val, (int __user *)arg)) in dw_wdt_ioctl() 269 if (get_user(val, (int __user *)arg)) in dw_wdt_ioctl()
|
D | w83977f_wdt.c | 348 if (get_user(c, buf + ofs)) in wdt_write() 403 if (get_user(new_options, uarg.i)) in wdt_ioctl() 423 if (get_user(new_timeout, uarg.i)) in wdt_ioctl()
|
D | pc87413_wdt.c | 358 if (get_user(c, data + i)) in pc87413_write() 413 if (get_user(options, uarg.i)) in pc87413_ioctl() 432 if (get_user(new_timeout, uarg.i)) in pc87413_ioctl()
|
D | iop_wdt.c | 119 if (get_user(c, data + i)) in iop_wdt_write() 159 if (get_user(options, (int *)arg)) in iop_wdt_ioctl()
|
D | lantiq_wdt.c | 93 if (get_user(c, data + i)) in ltq_wdt_write() 134 ret = get_user(ltq_wdt_timeout, (int __user *)arg); in ltq_wdt_ioctl()
|
D | pnx833x_wdt.c | 169 if (get_user(options, (int *)arg)) in pnx833x_wdt_ioctl() 186 if (get_user(new_timeout, (int *)arg)) in pnx833x_wdt_ioctl()
|
D | sbc_fitpc2_wdt.c | 99 if (get_user(c, data + i)) in fitpc2_wdt_write() 146 ret = get_user(time, (int *)arg); in fitpc2_wdt_ioctl()
|
D | at32ap700x_wdt.c | 236 ret = get_user(time, p); in at32_wdt_ioctl() 250 ret = get_user(time, p); in at32_wdt_ioctl() 287 if (get_user(c, data + i)) in at32_wdt_write()
|
D | scx200_wdt.c | 146 if (get_user(c, data + i)) in scx200_wdt_write() 185 if (get_user(new_margin, p)) in scx200_wdt_ioctl()
|
D | acquirewdt.c | 135 if (get_user(c, buf + i)) in acq_write() 169 if (get_user(options, p)) in acq_ioctl()
|
D | nv_tco.c | 201 if (get_user(c, data + i)) in nv_tco_write() 236 if (get_user(new_options, p)) in nv_tco_ioctl() 252 if (get_user(new_heartbeat, p)) in nv_tco_ioctl()
|
D | sch311x_wdt.c | 236 if (get_user(c, buf + i)) in sch311x_wdt_write() 280 if (get_user(options, p)) in sch311x_wdt_ioctl() 297 if (get_user(new_timeout, p)) in sch311x_wdt_ioctl()
|
D | ks8695_wdt.c | 185 if (get_user(new_value, p)) in ks8695_wdt_ioctl() 196 if (get_user(new_value, p)) in ks8695_wdt_ioctl()
|
D | pika_wdt.c | 155 if (get_user(c, data + i)) in pikawdt_write() 194 if (get_user(new_value, p)) in pikawdt_ioctl()
|
D | sb_wdog.c | 158 if (get_user(c, data + i)) in sbwdog_write() 193 ret = get_user(time, p); in sbwdog_ioctl()
|
D | at91rm9200_wdt.c | 177 if (get_user(new_value, p)) in at91_wdt_ioctl() 188 if (get_user(new_value, p)) in at91_wdt_ioctl()
|
D | watchdog_dev.c | 310 if (get_user(c, data + i)) in watchdog_write() 357 if (get_user(val, p)) in watchdog_ioctl() 376 if (get_user(val, p)) in watchdog_ioctl()
|
D | sp5100_tco.c | 214 if (get_user(c, data + i)) in sp5100_tco_write() 250 if (get_user(new_options, p)) in sp5100_tco_ioctl() 266 if (get_user(new_heartbeat, p)) in sp5100_tco_ioctl()
|
D | ar7_wdt.c | 205 if (get_user(c, data + i)) in ar7_wdt_write() 241 if (get_user(new_margin, (int *)arg)) in ar7_wdt_ioctl()
|
D | ath79_wdt.c | 164 if (get_user(c, data + i)) in ath79_wdt_write() 214 err = get_user(t, p); in ath79_wdt_ioctl()
|
D | eurotechwdt.c | 213 if (get_user(c, buf + i)) in eurwdt_write() 260 if (get_user(options, p)) in eurwdt_ioctl()
|
D | nuc900_wdt.c | 178 if (get_user(new_value, p)) in nuc900_wdt_ioctl() 206 if (get_user(c, data + i)) in nuc900_wdt_write()
|
D | it8712f_wdt.c | 248 if (get_user(c, data + i)) in it8712f_wdt_write() 294 if (get_user(value, p)) in it8712f_wdt_ioctl()
|
D | ibmasr.c | 259 if (get_user(c, buf + i)) in asr_write() 290 if (get_user(new_options, p)) in asr_ioctl()
|
D | pcwd_pci.c | 454 if (get_user(c, data + i)) in pcipcwd_write() 510 if (get_user(new_options, p)) in pcipcwd_ioctl() 541 if (get_user(new_heartbeat, p)) in pcipcwd_ioctl()
|
D | pcwd_usb.c | 380 if (get_user(c, data + i)) in usb_pcwd_write() 428 if (get_user(new_options, p)) in usb_pcwd_ioctl() 452 if (get_user(new_heartbeat, p)) in usb_pcwd_ioctl()
|
D | wdt.c | 333 if (get_user(c, buf + i)) in wdt_write() 391 if (get_user(new_heartbeat, p)) in wdt_ioctl()
|
D | it87_wdt.c | 481 if (get_user(c, buf + ofs)) in wdt_write() 537 if (get_user(new_options, uarg.i)) in wdt_ioctl() 565 if (get_user(new_timeout, uarg.i)) in wdt_ioctl()
|
D | wdt285.c | 163 ret = get_user(new_margin, int_arg); in watchdog_ioctl()
|
D | wdt_pci.c | 369 if (get_user(c, buf + i)) in wdtpci_write() 428 if (get_user(new_heartbeat, p)) in wdtpci_ioctl()
|
D | pcwd.c | 623 if (get_user(rv, argp)) in pcwd_ioctl() 646 if (get_user(new_heartbeat, argp)) in pcwd_ioctl() 678 if (get_user(c, buf + i)) in pcwd_write()
|
D | f71808e_wdt.c | 521 if (get_user(c, buf + i)) in watchdog_write() 576 if (get_user(new_options, uarg.i)) in watchdog_ioctl() 591 if (get_user(new_timeout, uarg.i)) in watchdog_ioctl()
|
D | sa1100_wdt.c | 122 ret = get_user(time, p); in sa1100dog_ioctl()
|
D | sbc_epx_c3.c | 125 if (get_user(options, argp)) in epx_c3_ioctl()
|
D | indydog.c | 123 if (get_user(options, (int *)arg)) in indydog_ioctl()
|
D | sbc8360.c | 253 if (get_user(c, buf + i)) in sbc8360_write()
|
/linux-4.1.27/arch/arm/kernel/ |
D | sys_oabi-compat.c | 374 get_user(sa_family, &addr->sa_family) == 0 && in sys_oabi_bind() 384 get_user(sa_family, &addr->sa_family) == 0 && in sys_oabi_connect() 397 get_user(sa_family, &addr->sa_family) == 0 && in sys_oabi_sendto() 409 get_user(msg_namelen, &msg->msg_namelen) == 0 && in sys_oabi_sendmsg() 411 get_user(addr, &msg->msg_name) == 0 && in sys_oabi_sendmsg() 412 get_user(sa_family, &addr->sa_family) == 0 && in sys_oabi_sendmsg()
|
D | machine_kexec.c | 64 err = get_user(header, (__be32*)current_segment->buf); in machine_kexec_prepare()
|
D | traps.c | 427 if (get_user(instr, (u16 __user *)pc)) in do_undefinstr() 432 if (get_user(instr2, (u16 __user *)pc+1)) in do_undefinstr() 438 if (get_user(instr, (u32 __user *)pc)) in do_undefinstr()
|
/linux-4.1.27/arch/mips/include/asm/ |
D | syscall.h | 48 return get_user(*arg, (int *)usp + n); in mips_get_syscall_arg() 55 return get_user(*arg, (int *)usp + n); in mips_get_syscall_arg()
|
/linux-4.1.27/fs/ext3/ |
D | ioctl.c | 39 if (get_user(flags, (int __user *) arg)) in ext3_ioctl() 127 if (get_user(generation, (int __user *) arg)) { in ext3_ioctl() 175 if (get_user(rsv_window_size, (int __user *)arg)) { in ext3_ioctl() 212 if (get_user(n_blocks_count, (__u32 __user *)arg)) { in ext3_ioctl()
|
/linux-4.1.27/block/ |
D | compat_ioctl.c | 137 if (get_user(data, &cdread_audio32->buf)) in compat_cdrom_read_audio() 160 get_user(data, &cgc32->buffer) || in compat_cdrom_generic_command() 164 get_user(data, &cgc32->sense) || in compat_cdrom_generic_command() 166 get_user(dir, &cgc32->data_direction) || in compat_cdrom_generic_command() 168 get_user(itmp, &cgc32->quiet) || in compat_cdrom_generic_command() 170 get_user(itmp, &cgc32->timeout) || in compat_cdrom_generic_command() 172 get_user(data, &cgc32->reserved[0]) || in compat_cdrom_generic_command() 194 err = get_user(n, &ua32->op); in compat_blkpg_ioctl() 196 err |= get_user(n, &ua32->flags); in compat_blkpg_ioctl() 198 err |= get_user(n, &ua32->datalen); in compat_blkpg_ioctl() [all …]
|
D | scsi_ioctl.c | 77 int timeout, err = get_user(timeout, p); in sg_set_timeout() 103 int size, err = get_user(size, p); in sg_set_reserved_size() 430 if (get_user(in_len, &sic->inlen)) in sg_scsi_ioctl() 432 if (get_user(out_len, &sic->outlen)) in sg_scsi_ioctl() 436 if (get_user(opcode, sic->data)) in sg_scsi_ioctl()
|
/linux-4.1.27/lib/ |
D | test_user_copy.c | 66 ret |= test(get_user(value, (unsigned long __user *)usermem), in test_user_copy_init() 84 ret |= test(!get_user(value, (unsigned long __user *)kmem), in test_user_copy_init()
|
/linux-4.1.27/arch/x86/kernel/ |
D | vm86_32.c | 475 if (get_user(__res, base + ptr) < 0) \ 484 if (get_user(val_byte(__res, 0), base + ptr) < 0) \ 487 if (get_user(val_byte(__res, 1), base + ptr) < 0) \ 496 if (get_user(val_byte(__res, 0), base + ptr) < 0) \ 499 if (get_user(val_byte(__res, 1), base + ptr) < 0) \ 502 if (get_user(val_byte(__res, 2), base + ptr) < 0) \ 505 if (get_user(val_byte(__res, 3), base + ptr) < 0) \ 529 if (get_user(segoffs, intr_ptr)) in do_int()
|
/linux-4.1.27/sound/pci/hda/ |
D | hda_hwdep.c | 38 if (get_user(verb, &arg->verb)) in verb_write_ioctl() 52 if (get_user(verb, &arg->verb)) in get_wcap_ioctl()
|
/linux-4.1.27/sound/core/seq/ |
D | seq_compat.c | 57 get_user(data->flags, &data32->flags) || in snd_seq_call_port_info_ioctl() 58 get_user(data->time_queue, &data32->time_queue)) in snd_seq_call_port_info_ioctl()
|
/linux-4.1.27/net/ |
D | socket.c | 223 err = get_user(len, ulen); in move_addr_to_user() 911 if (get_user(pid, (int __user *)argp)) in sock_ioctl() 2692 if (get_user(data, &ifr32->ifr_ifru.ifru_data)) in ethtool_ioctl() 2697 if (get_user(ethcmd, &compat_rxnfc->cmd)) in ethtool_ioctl() 2708 if (get_user(rule_cnt, &compat_rxnfc->rule_cnt)) in ethtool_ioctl() 2787 if (get_user(actual_rule_cnt, &rxnfc->rule_cnt)) in ethtool_ioctl() 2811 if (get_user(uptr32, &uifr32->ifr_settings.ifs_ifsu)) in compat_siocwandev() 2861 if (get_user(data32, &u_ifreq32->ifr_ifru.ifru_data)) in compat_ifr_data_ioctl() 2922 err |= get_user(ifr.ifr_map.mem_start, &uifmap32->mem_start); in compat_sioc_ifmap() 2923 err |= get_user(ifr.ifr_map.mem_end, &uifmap32->mem_end); in compat_sioc_ifmap() [all …]
|
/linux-4.1.27/kernel/ |
D | capability.c | 85 if (get_user(version, &header->version)) in cap_validate_magic() 160 if (get_user(pid, &header->pid)) in SYSCALL_DEFINE2() 236 if (get_user(pid, &header->pid)) in SYSCALL_DEFINE2()
|
D | futex_compat.c | 26 if (get_user(*uentry, head)) in fetch_robust_entry() 72 if (get_user(futex_offset, &head->futex_offset)) in compat_exit_robust_list()
|
D | sysctl_binary.c | 946 if (get_user(ch, lastp)) in bin_string() 1025 if (get_user(value, vec + i)) in bin_intvec() 1096 if (get_user(value, vec + i)) in bin_ulongvec() 1206 if (get_user(dnaddr, (__le16 __user *)newval)) in bin_dn_node_address() 1412 if (get_user(name[i], args_name + i)) in do_sysctl() 1432 if (tmp.oldlenp && get_user(oldlen, tmp.oldlenp)) in SYSCALL_DEFINE1() 1476 if (compat_oldlenp && get_user(oldlen, compat_oldlenp)) in COMPAT_SYSCALL_DEFINE1()
|
/linux-4.1.27/sound/isa/sb/ |
D | emu8000_patch.c | 90 get_user(cc, (unsigned char __user *)buf + offset); in read_word() 94 get_user(c, (unsigned short __user *)buf + offset); in read_word() 97 get_user(cc, (unsigned short __user *)buf + offset); in read_word()
|
D | emu8000_pcm.c | 432 if (get_user(sval, buf)) in emu8k_transfer_block() 525 if (get_user(sval, buf)) in emu8k_pcm_copy() 531 if (get_user(sval, buf)) in emu8k_pcm_copy()
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | uaccess_no.h | 96 #define get_user(x, ptr) \ macro 121 #define __get_user(x, ptr) get_user(x, ptr)
|
/linux-4.1.27/tools/perf/util/include/asm/ |
D | uaccess.h | 10 #define get_user __get_user macro
|
/linux-4.1.27/arch/arm64/kernel/ |
D | debug-monitors.c | 341 get_user(thumb_instr, (u16 __user *)pc); in aarch32_break_handler() 345 get_user(thumb_instr, (u16 __user *)(pc + 2)); in aarch32_break_handler() 353 get_user(arm_instr, (u32 __user *)pc); in aarch32_break_handler()
|
D | traps.c | 297 if (get_user(instr, (u16 __user *)pc)) in call_undef_hook() 303 if (get_user(instr2, (u16 __user *)(pc + 2))) in call_undef_hook() 310 if (get_user(instr, (u32 __user *)pc)) in call_undef_hook()
|
/linux-4.1.27/drivers/tty/ipwireless/ |
D | network.c | 173 if (get_user(val, user_arg)) in ipwireless_ppp_ioctl() 187 if (get_user(network->xaccm[0], user_arg)) in ipwireless_ppp_ioctl() 199 if (get_user(network->raccm, user_arg)) in ipwireless_ppp_ioctl() 227 if (get_user(val, user_arg)) in ipwireless_ppp_ioctl()
|
/linux-4.1.27/fs/reiserfs/ |
D | ioctl.c | 67 if (get_user(flags, (int __user *)arg)) { in reiserfs_ioctl() 114 if (get_user(inode->i_generation, (int __user *)arg)) { in reiserfs_ioctl()
|
/linux-4.1.27/fs/cifs/ |
D | cifs_debug.c | 266 rc = get_user(c, buffer); in cifs_stats_proc_write() 440 rc = get_user(c, buffer); in cifsFYI_proc_write() 478 rc = get_user(c, buffer); in cifs_linux_ext_proc_write() 518 rc = get_user(c, buffer); in cifs_lookup_cache_proc_write() 558 rc = get_user(c, buffer); in traceSMB_proc_write()
|
/linux-4.1.27/arch/nios2/mm/ |
D | uaccess.c | 157 if (get_user(c, s + i) == -EFAULT) in strnlen_user()
|
/linux-4.1.27/arch/sh/kernel/ |
D | traps_32.c | 582 get_user(inst, ((unsigned short *) regs->pc)); in is_dsp_inst() 624 get_user(inst, (unsigned short*)regs->pc); in do_reserved_inst() 710 get_user(inst, (unsigned short *)regs->pc + 1); in do_illegal_slot_inst() 712 get_user(inst, (unsigned short *)regs->pc); in do_illegal_slot_inst()
|
/linux-4.1.27/arch/alpha/kernel/ |
D | osf_sys.c | 658 if (get_user(error, &args->set.nbytes)) in SYSCALL_DEFINE2() 662 if (get_user(error, &args->fset.nbytes)) in SYSCALL_DEFINE2() 666 error = get_user(min_buf_size_ptr, &args->get.min_buf_size); in SYSCALL_DEFINE2() 672 error = get_user(min_buf_size_ptr, &args->fget.min_buf_size); in SYSCALL_DEFINE2() 700 if (get_user(ss_sp, &uss->ss_sp)) in SYSCALL_DEFINE2() 839 if (get_user(swcr, (unsigned long __user *)buffer)) in SYSCALL_DEFINE5() 858 if (get_user(exc, (unsigned long __user *)buffer)) in SYSCALL_DEFINE5() 911 if (get_user(v, p) || get_user(w, p + 1)) in SYSCALL_DEFINE5()
|
/linux-4.1.27/net/bluetooth/cmtp/ |
D | sock.c | 148 if (get_user(cl.cnum, (u32 __user *) arg) || in cmtp_sock_compat_ioctl() 149 get_user(uci, (u32 __user *) (arg + 4))) in cmtp_sock_compat_ioctl()
|
/linux-4.1.27/net/bluetooth/bnep/ |
D | sock.c | 145 if (get_user(cl.cnum, (u32 __user *) arg) || in bnep_sock_compat_ioctl() 146 get_user(uci, (u32 __user *) (arg + 4))) in bnep_sock_compat_ioctl()
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | uaccess.h | 129 #define get_user(x, ptr) \ macro 154 #define __get_user(x, p) get_user(x, p)
|
/linux-4.1.27/arch/mips/kernel/ |
D | ptrace32.c | 69 if (get_user(addrOthers, (u32 __user * __user *) (unsigned long) addr) != 0) in compat_arch_ptrace() 178 if (get_user(addrOthers, (u32 __user * __user *) (unsigned long) addr) != 0) in compat_arch_ptrace()
|
D | traps.c | 533 if (get_user(value, vaddr)) in simulate_ll() 1072 likely(get_user(opcode, epc) >= 0)) { in do_ri() 1108 if (unlikely(get_user(mmop[0], epc) < 0)) in do_ri() 1110 if (unlikely(get_user(mmop[1], epc) < 0)) in do_ri() 1117 if (unlikely(get_user(opcode, epc) < 0)) in do_ri() 1361 if (unlikely(get_user(mmop[0], epc) < 0)) in do_cpu() 1363 if (unlikely(get_user(mmop[1], epc) < 0)) in do_cpu() 1370 if (unlikely(get_user(opcode, epc) < 0)) in do_cpu()
|
/linux-4.1.27/drivers/net/ppp/ |
D | ppp_synctty.c | 416 if (get_user(val, (int __user *) argp)) in ppp_sync_ioctl() 431 if (get_user(ap->xaccm[0], p)) in ppp_sync_ioctl() 442 if (get_user(ap->raccm, p)) in ppp_sync_ioctl() 467 if (get_user(val, (int __user *) argp)) in ppp_sync_ioctl()
|
D | ppp_async.c | 424 if (get_user(val, p)) in ppp_async_ioctl() 439 if (get_user(ap->xaccm[0], (u32 __user *)argp)) in ppp_async_ioctl() 450 if (get_user(ap->raccm, (u32 __user *)argp)) in ppp_async_ioctl() 475 if (get_user(val, p)) in ppp_async_ioctl()
|
/linux-4.1.27/drivers/media/rc/ |
D | ir-rx51.c | 303 result = get_user(value, (unsigned long *)arg); in lirc_rx51_ioctl() 323 result = get_user(ivalue, (unsigned int *) arg); in lirc_rx51_ioctl() 337 result = get_user(ivalue, (unsigned int *) arg); in lirc_rx51_ioctl()
|
/linux-4.1.27/virt/kvm/ |
D | vfio.c | 125 if (get_user(fd, argp)) in kvm_vfio_set_group() 165 if (get_user(fd, argp)) in kvm_vfio_set_group()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | ptrace32.c | 73 if (get_user(addrOthers, (u32 __user * __user *)addr) != 0) in compat_arch_ptrace() 178 if (get_user(addrOthers, (u32 __user * __user *)addr) != 0) in compat_arch_ptrace()
|
D | signal_64.c | 600 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in sys_swapcontext() 787 err |= get_user(regs->nip, &funct_desc_ptr->entry); in handle_rt_signal64() 788 err |= get_user(regs->gpr[2], &funct_desc_ptr->toc); in handle_rt_signal64() 798 err |= get_user(regs->gpr[4], (unsigned long __user *)&frame->pinfo); in handle_rt_signal64() 799 err |= get_user(regs->gpr[5], (unsigned long __user *)&frame->puc); in handle_rt_signal64()
|
/linux-4.1.27/drivers/isdn/mISDN/ |
D | socket.c | 329 if (get_user(val[1], (int __user *)p)) { in data_sock_ioctl_bound() 343 if (get_user(val[1], (int __user *)p)) { in data_sock_ioctl_bound() 381 if (get_user(id, (int __user *)arg)) { in data_sock_ioctl() 427 if (get_user(opt, (int __user *)optval)) { in data_sock_setsockopt() 451 if (get_user(len, optlen)) in data_sock_getsockopt() 665 if (get_user(id, (int __user *)arg)) { in base_sock_ioctl()
|
D | timerdev.c | 236 if (get_user(tout, (int __user *)arg)) { in mISDN_ioctl() 252 if (get_user(id, (int __user *)arg)) { in mISDN_ioctl()
|
/linux-4.1.27/tools/virtio/linux/ |
D | uaccess.h | 20 #define get_user(x, ptr) \ macro
|
/linux-4.1.27/sound/pci/asihpi/ |
D | hpioctl.c | 122 if (get_user(puhm, &phpi_ioctl_data->phm) in asihpi_hpi_ioctl() 123 || get_user(puhr, &phpi_ioctl_data->phr)) { in asihpi_hpi_ioctl() 129 if (get_user(hm->h.size, (u16 __user *)puhm)) { in asihpi_hpi_ioctl() 145 if (get_user(res_max_size, (u16 __user *)puhr)) { in asihpi_hpi_ioctl()
|
/linux-4.1.27/arch/blackfin/kernel/ |
D | sys_bfin.c | 65 ret = get_user(tmp, p); in sys_bfin_spinlock()
|
/linux-4.1.27/drivers/input/serio/ |
D | serport.c | 221 if (get_user(type, (unsigned long __user *) arg)) in serport_ldisc_ioctl() 241 if (get_user(compat_type, (compat_ulong_t __user *)uarg)) in serport_ldisc_compat_ioctl()
|
/linux-4.1.27/drivers/dio/ |
D | dio.c | 141 if (get_user(i, (unsigned char *)va + DIO_IDOFF)) { in dio_find() 220 if (get_user(i, (unsigned char *)va + DIO_IDOFF)) { in dio_init()
|
/linux-4.1.27/drivers/media/ |
D | media-device.c | 289 if (get_user(links.entity, &ulinks->entity) in media_device_enum_links32() 290 || get_user(pads_ptr, &ulinks->pads) in media_device_enum_links32() 291 || get_user(links_ptr, &ulinks->links)) in media_device_enum_links32()
|
/linux-4.1.27/drivers/usb/core/ |
D | devio.c | 795 if (get_user(num_streams, &streams->num_streams) || in parse_usbdevfs_streams() 796 get_user(num_eps, &streams->num_eps)) in parse_usbdevfs_streams() 811 if (get_user(ep, &streams->eps[i])) { in parse_usbdevfs_streams() 1148 if (get_user(ep, (unsigned int __user *)arg)) in proc_resetep() 1167 if (get_user(ep, (unsigned int __user *)arg)) in proc_clearhalt() 1242 if (get_user(u, (int __user *)arg)) in proc_setconfig() 1742 get_user(udata, &p32->data) || in proc_control_compat() 1757 if (get_user(n, &p32->ep) || put_user(n, &p->ep) || in proc_bulk_compat() 1758 get_user(n, &p32->len) || put_user(n, &p->len) || in proc_bulk_compat() 1759 get_user(n, &p32->timeout) || put_user(n, &p->timeout) || in proc_bulk_compat() [all …]
|
/linux-4.1.27/arch/m32r/include/asm/ |
D | termios.h | 20 get_user(__tmp,&(termio)->x); \
|
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/ |
D | syscalls.c | 42 if (get_user(npc, unpc)) in do_spu_run()
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | termios.h | 26 get_user(__tmp,&(termio)->x); \
|
/linux-4.1.27/fs/jfs/ |
D | jfs_debug.c | 50 if (get_user(c, buffer)) in jfs_loglevel_proc_write()
|
D | ioctl.c | 83 if (get_user(flags, (int __user *) arg)) { in jfs_ioctl()
|
/linux-4.1.27/arch/cris/include/asm/ |
D | termios.h | 20 get_user(__tmp,&(termio)->x); \
|
/linux-4.1.27/net/irda/irnet/ |
D | irnet_ppp.c | 663 if(get_user(val, (int __user *)argp)) in dev_irnet_ioctl() 1047 if(get_user(val, (int __user *) argp)) in ppp_irnet_ioctl() 1061 if(get_user(ap->xaccm[0], (u32 __user *) argp)) in ppp_irnet_ioctl() 1071 if(get_user(ap->raccm, (u32 __user *) argp)) in ppp_irnet_ioctl() 1096 if(get_user(val, (int __user *) argp)) in ppp_irnet_ioctl()
|
/linux-4.1.27/arch/metag/kernel/ |
D | perf_callchain.c | 20 if (!get_user(callinsn, (unsigned int *)calladdr)) { in is_valid_call()
|
/linux-4.1.27/net/bluetooth/hidp/ |
D | sock.c | 149 if (get_user(cl.cnum, (u32 __user *) arg) || in hidp_sock_compat_ioctl() 150 get_user(uci, (u32 __user *) (arg + 4))) in hidp_sock_compat_ioctl()
|
/linux-4.1.27/arch/alpha/math-emu/ |
D | math.c | 109 get_user(insn, (__u32 __user *)pc); in alpha_fp_emul() 354 get_user(insn, (__u32 __user *)(trigger_pc)); in alpha_fp_emul_imprecise()
|
/linux-4.1.27/arch/metag/include/asm/ |
D | syscall.h | 32 if (get_user(insn, (unsigned long *)(regs->ctx.CurrPC - 4))) in syscall_get_nr()
|
/linux-4.1.27/arch/mn10300/include/uapi/asm/ |
D | termios.h | 48 get_user(__tmp, &(termio)->x); \
|
/linux-4.1.27/Documentation/x86/ |
D | exception-tables.txt | 55 I have picked the get_user macro defined in arch/x86/include/asm/uaccess.h 58 the get_user call in drivers/char/sysrq.c for a detailed examination. 61 get_user(c, buf); 283 get_user macro actually returns a value: 0, if the user access was 285 return value, however the inline assembly code in get_user tries to
|
/linux-4.1.27/drivers/staging/media/lirc/ |
D | lirc_parallel.c | 488 result = get_user(mode, uptr); in lirc_ioctl() 495 result = get_user(mode, uptr); in lirc_ioctl() 502 result = get_user(value, uptr); in lirc_ioctl()
|
/linux-4.1.27/arch/sparc/math-emu/ |
D | math_64.c | 191 if (get_user(insn, (u32 __user *) pc) != -EFAULT) { in do_mathemu() 327 get_user(XR, &win32->locals[freg - 16]); in do_mathemu() 332 get_user(XR, &win->locals[freg - 16]); in do_mathemu()
|
/linux-4.1.27/ipc/ |
D | syscall.c | 39 if (get_user(arg, (unsigned long __user *) ptr)) in SYSCALL_DEFINE6()
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | uaccess.h | 103 #define get_user(x, ptr) __get_user_check((x), (ptr), sizeof(*(ptr))) macro 122 ({ if (get_user((x), (ptr))) return (ret); })
|
/linux-4.1.27/drivers/mtd/ubi/ |
D | cdev.c | 476 err = get_user(lnum, (__user int32_t *)argp); in vol_cdev_ioctl() 521 err = get_user(lnum, (__user int32_t *)argp); in vol_cdev_ioctl() 535 err = get_user(lnum, (__user int32_t *)argp); in vol_cdev_ioctl() 884 err = get_user(vol_id, (__user int32_t *)argp); in ubi_cdev_ioctl() 1033 err = get_user(ubi_num, (__user int32_t *)argp); in ctrl_cdev_ioctl()
|
/linux-4.1.27/drivers/misc/genwqe/ |
D | card_dev.c | 1078 if (get_user(reg_offs, &io->num)) in genwqe_ioctl() 1098 if (get_user(reg_offs, &io->num)) in genwqe_ioctl() 1104 if (get_user(val, &io->val64)) in genwqe_ioctl() 1114 if (get_user(reg_offs, &io->num)) in genwqe_ioctl() 1134 if (get_user(reg_offs, &io->num)) in genwqe_ioctl() 1140 if (get_user(val, &io->val64)) in genwqe_ioctl()
|
/linux-4.1.27/net/bluetooth/ |
D | l2cap_sock.c | 403 if (get_user(len, optlen)) in l2cap_sock_getsockopt_old() 511 if (get_user(len, optlen)) in l2cap_sock_getsockopt() 705 if (get_user(opt, (u32 __user *) optval)) { in l2cap_sock_setsockopt_old() 820 if (get_user(opt, (u32 __user *) optval)) { in l2cap_sock_setsockopt() 835 if (get_user(opt, (u32 __user *) optval)) { in l2cap_sock_setsockopt() 883 if (get_user(opt, (u32 __user *) optval)) { in l2cap_sock_setsockopt() 930 if (get_user(opt, (u32 __user *) optval)) { in l2cap_sock_setsockopt()
|
/linux-4.1.27/arch/cris/arch-v10/kernel/ |
D | ptrace.c | 156 if (get_user(tmp, datap)) { in arch_ptrace()
|
/linux-4.1.27/kernel/power/ |
D | user.c | 436 err = get_user(swap_area.offset, &u_swap_area->offset); in snapshot_compat_ioctl() 437 err |= get_user(swap_area.dev, &u_swap_area->dev); in snapshot_compat_ioctl()
|
/linux-4.1.27/drivers/s390/char/ |
D | keyboard.c | 412 if (get_user(kb_func, &u_kbs->kb_func)) in do_kdgkb_ioctl() 520 if (get_user(ct, &a->kb_cnt)) in kbd_ioctl() 540 if (get_user(ct, &a->kb_cnt)) in kbd_ioctl()
|
/linux-4.1.27/drivers/char/mwave/ |
D | 3780i.c | 580 if(get_user(val, pusBuffer++)) in dsp3780I_WriteDStore() 674 if(get_user(val_lo, pusBuffer++)) in dsp3780I_WriteIStore() 676 if(get_user(val_hi, pusBuffer++)) in dsp3780I_WriteIStore()
|
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-ioctl.c | 728 if (get_user(p.update_mode, (int __user *)arg)) in omapfb_ioctl() 764 if (get_user(p.crt, (__u32 __user *)arg)) { in omapfb_ioctl() 805 if (get_user(p.test_num, (int __user *)arg)) { in omapfb_ioctl() 820 if (get_user(p.test_num, (int __user *)arg)) { in omapfb_ioctl()
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
D | drm.c | 287 err = get_user(cmdbuf, &src->cmdbuf.handle); in host1x_reloc_copy_from_user() 291 err = get_user(dest->cmdbuf.offset, &src->cmdbuf.offset); in host1x_reloc_copy_from_user() 295 err = get_user(target, &src->target.handle); in host1x_reloc_copy_from_user() 299 err = get_user(dest->target.offset, &src->target.offset); in host1x_reloc_copy_from_user() 303 err = get_user(dest->shift, &src->shift); in host1x_reloc_copy_from_user()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_ioc32.c | 201 if (get_user(idx, &argp->offset)) in compat_drm_getmap() 278 if (get_user(handle, &argp->handle)) in compat_drm_rmmap() 307 if (get_user(idx, &argp->idx)) in compat_drm_getclient() 736 if (get_user(m32.mode, &argp->mode)) in compat_drm_agp_enable() 840 || get_user(handle, &argp->handle) in compat_drm_agp_free() 880 || get_user(handle, &argp->handle) in compat_drm_agp_unbind()
|
/linux-4.1.27/drivers/acpi/ |
D | ec_sys.c | 85 if (get_user(byte_write, buf + *off - init_off)) { in acpi_ec_write_io()
|
/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/ |
D | ft1000_debug.c | 444 result = get_user(tempword, (__u16 __user *)argp); in ft1000_ioctl() 554 result = get_user(msgsz, (__u16 __user *)argp); in ft1000_ioctl() 699 result = get_user(msglen, &pioctl_dpram->total_len); in ft1000_ioctl()
|
/linux-4.1.27/arch/sh/mm/ |
D | alignment.c | 147 if (get_user(mode, buffer)) in alignment_proc_write()
|
/linux-4.1.27/fs/hfsplus/ |
D | ioctl.c | 91 if (get_user(flags, user_flags)) { in hfsplus_ioctl_setflags()
|
/linux-4.1.27/arch/x86/math-emu/ |
D | fpu_system.h | 98 #define FPU_get_user(x,y) get_user((x),(y))
|
/linux-4.1.27/drivers/isdn/hardware/eicon/ |
D | divasproc.c | 153 if (get_user(c, buffer)) in grp_opt_proc_write() 180 if (get_user(c, buffer)) in d_l1_down_proc_write()
|
/linux-4.1.27/arch/um/include/asm/ |
D | uaccess.h | 143 #define get_user(x, ptr) \ macro
|
/linux-4.1.27/drivers/net/ |
D | macvtap.c | 1015 if (get_user(u, &ifr->ifr_flags)) in macvtap_ioctl() 1044 if (get_user(u, &ifr->ifr_flags)) in macvtap_ioctl() 1057 if (get_user(s, sp)) in macvtap_ioctl() 1070 if (get_user(s, sp)) in macvtap_ioctl() 1085 if (get_user(s, sp)) in macvtap_ioctl()
|
/linux-4.1.27/fs/ubifs/ |
D | ioctl.c | 166 if (get_user(flags, (int __user *) arg)) in ubifs_ioctl()
|