Searched refs:chaninfo (Results 1 – 1 of 1) sorted by relevance
107 struct comedi_chaninfo __user *chaninfo; in compat_chaninfo() local116 chaninfo = compat_alloc_user_space(sizeof(*chaninfo)); in compat_chaninfo()120 || !access_ok(VERIFY_WRITE, chaninfo, sizeof(*chaninfo))) { in compat_chaninfo()125 err |= __put_user(temp.uint, &chaninfo->subdev); in compat_chaninfo()127 err |= __put_user(compat_ptr(temp.uptr), &chaninfo->maxdata_list); in compat_chaninfo()129 err |= __put_user(compat_ptr(temp.uptr), &chaninfo->flaglist); in compat_chaninfo()131 err |= __put_user(compat_ptr(temp.uptr), &chaninfo->rangelist); in compat_chaninfo()135 return translated_ioctl(file, COMEDI_CHANINFO, (unsigned long)chaninfo); in compat_chaninfo()