Lines Matching refs:cl
53 struct hidp_connlist_req cl; in do_hidp_sock_ioctl() local
99 if (copy_from_user(&cl, argp, sizeof(cl))) in do_hidp_sock_ioctl()
102 if (cl.cnum <= 0) in do_hidp_sock_ioctl()
105 err = hidp_get_connlist(&cl); in do_hidp_sock_ioctl()
106 if (!err && copy_to_user(argp, &cl, sizeof(cl))) in do_hidp_sock_ioctl()
153 struct hidp_connlist_req cl; in hidp_sock_compat_ioctl() local
157 if (get_user(cl.cnum, p) || get_user(uci, p + 1)) in hidp_sock_compat_ioctl()
160 cl.ci = compat_ptr(uci); in hidp_sock_compat_ioctl()
162 if (cl.cnum <= 0) in hidp_sock_compat_ioctl()
165 err = hidp_get_connlist(&cl); in hidp_sock_compat_ioctl()
167 if (!err && put_user(cl.cnum, p)) in hidp_sock_compat_ioctl()