Lines Matching refs:cl
70 struct cmtp_connlist_req cl; in cmtp_sock_ioctl() local
114 if (copy_from_user(&cl, argp, sizeof(cl))) in cmtp_sock_ioctl()
117 if (cl.cnum <= 0) in cmtp_sock_ioctl()
120 err = cmtp_get_connlist(&cl); in cmtp_sock_ioctl()
121 if (!err && copy_to_user(argp, &cl, sizeof(cl))) in cmtp_sock_ioctl()
144 struct cmtp_connlist_req cl; in cmtp_sock_compat_ioctl() local
148 if (get_user(cl.cnum, (u32 __user *) arg) || in cmtp_sock_compat_ioctl()
152 cl.ci = compat_ptr(uci); in cmtp_sock_compat_ioctl()
154 if (cl.cnum <= 0) in cmtp_sock_compat_ioctl()
157 err = cmtp_get_connlist(&cl); in cmtp_sock_compat_ioctl()
159 if (!err && put_user(cl.cnum, (u32 __user *) arg)) in cmtp_sock_compat_ioctl()