Searched refs:uptr (Results 1 – 5 of 5) sorted by relevance
/drivers/staging/comedi/ |
D | comedi_compat32.c | 112 compat_uptr_t uptr; in compat_chaninfo() member 126 err |= __get_user(temp.uptr, &chaninfo32->maxdata_list); in compat_chaninfo() 127 err |= __put_user(compat_ptr(temp.uptr), &chaninfo->maxdata_list); in compat_chaninfo() 128 err |= __get_user(temp.uptr, &chaninfo32->flaglist); in compat_chaninfo() 129 err |= __put_user(compat_ptr(temp.uptr), &chaninfo->flaglist); in compat_chaninfo() 130 err |= __get_user(temp.uptr, &chaninfo32->rangelist); in compat_chaninfo() 131 err |= __put_user(compat_ptr(temp.uptr), &chaninfo->rangelist); in compat_chaninfo() 146 compat_uptr_t uptr; in compat_rangeinfo() member 160 err |= __get_user(temp.uptr, &rangeinfo32->range_ptr); in compat_rangeinfo() 161 err |= __put_user(compat_ptr(temp.uptr), &rangeinfo->range_ptr); in compat_rangeinfo() [all …]
|
/drivers/usb/mon/ |
D | mon_bin.c | 1070 struct mon_bin_mfetch __user *uptr; in mon_bin_ioctl() local 1072 uptr = (struct mon_bin_mfetch __user *)arg; in mon_bin_ioctl() 1074 if (copy_from_user(&mfetch, uptr, sizeof(mfetch))) in mon_bin_ioctl() 1081 if (put_user(ret, &uptr->nflush)) in mon_bin_ioctl() 1087 if (put_user(ret, &uptr->nfetch)) in mon_bin_ioctl() 1149 struct mon_bin_mfetch32 __user *uptr; in mon_bin_compat_ioctl() local 1151 uptr = (struct mon_bin_mfetch32 __user *) compat_ptr(arg); in mon_bin_compat_ioctl() 1153 if (copy_from_user(&mfetch, uptr, sizeof(mfetch))) in mon_bin_compat_ioctl() 1160 if (put_user(ret, &uptr->nflush32)) in mon_bin_compat_ioctl() 1167 if (put_user(ret, &uptr->nfetch32)) in mon_bin_compat_ioctl()
|
/drivers/sbus/char/ |
D | jsflash.c | 360 char __user *uptr; in jsf_ioctl_program() local 374 uptr = (char __user *) (unsigned long) abuf.data; in jsf_ioctl_program() 377 if (copy_from_user(&b.s[0], uptr, 4)) in jsf_ioctl_program() 381 uptr += 4; in jsf_ioctl_program()
|
/drivers/usb/core/ |
D | devio.c | 1593 __u32 uptr; in get_urb32() local 1607 if (__get_user(uptr, &uurb->buffer)) in get_urb32() 1609 kurb->buffer = compat_ptr(uptr); in get_urb32() 1610 if (__get_user(uptr, &uurb->usercontext)) in get_urb32() 1612 kurb->usercontext = compat_ptr(uptr); in get_urb32()
|
/drivers/tty/ |
D | moxa.c | 537 const __le16 *uptr = ptr; in moxa_real_load_code() local 569 usum += le16_to_cpu(uptr[i]); in moxa_real_load_code()
|