Lines Matching refs:cl
54 struct hidp_connlist_req cl; in hidp_sock_ioctl() local
99 if (copy_from_user(&cl, argp, sizeof(cl))) in hidp_sock_ioctl()
102 if (cl.cnum <= 0) in hidp_sock_ioctl()
105 err = hidp_get_connlist(&cl); in hidp_sock_ioctl()
106 if (!err && copy_to_user(argp, &cl, sizeof(cl))) in hidp_sock_ioctl()
145 struct hidp_connlist_req cl; in hidp_sock_compat_ioctl() local
149 if (get_user(cl.cnum, (u32 __user *) arg) || in hidp_sock_compat_ioctl()
153 cl.ci = compat_ptr(uci); in hidp_sock_compat_ioctl()
155 if (cl.cnum <= 0) in hidp_sock_compat_ioctl()
158 err = hidp_get_connlist(&cl); in hidp_sock_compat_ioctl()
160 if (!err && put_user(cl.cnum, (u32 __user *) arg)) in hidp_sock_compat_ioctl()