Lines Matching refs:cl
54 struct hidp_connlist_req cl; in do_hidp_sock_ioctl() local
100 if (copy_from_user(&cl, argp, sizeof(cl))) in do_hidp_sock_ioctl()
103 if (cl.cnum <= 0) in do_hidp_sock_ioctl()
106 err = hidp_get_connlist(&cl); in do_hidp_sock_ioctl()
107 if (!err && copy_to_user(argp, &cl, sizeof(cl))) in do_hidp_sock_ioctl()
154 struct hidp_connlist_req cl; in hidp_sock_compat_ioctl() local
158 if (get_user(cl.cnum, p) || get_user(uci, p + 1)) in hidp_sock_compat_ioctl()
161 cl.ci = compat_ptr(uci); in hidp_sock_compat_ioctl()
163 if (cl.cnum <= 0) in hidp_sock_compat_ioctl()
166 err = hidp_get_connlist(&cl); in hidp_sock_compat_ioctl()
168 if (!err && put_user(cl.cnum, p)) in hidp_sock_compat_ioctl()