Lines Matching refs:cl
54 struct bnep_connlist_req cl; in bnep_sock_ioctl() local
102 if (copy_from_user(&cl, argp, sizeof(cl))) in bnep_sock_ioctl()
105 if (cl.cnum <= 0) in bnep_sock_ioctl()
108 err = bnep_get_connlist(&cl); in bnep_sock_ioctl()
109 if (!err && copy_to_user(argp, &cl, sizeof(cl))) in bnep_sock_ioctl()
141 struct bnep_connlist_req cl; in bnep_sock_compat_ioctl() local
145 if (get_user(cl.cnum, (u32 __user *) arg) || in bnep_sock_compat_ioctl()
149 cl.ci = compat_ptr(uci); in bnep_sock_compat_ioctl()
151 if (cl.cnum <= 0) in bnep_sock_compat_ioctl()
154 err = bnep_get_connlist(&cl); in bnep_sock_compat_ioctl()
156 if (!err && put_user(cl.cnum, (u32 __user *) arg)) in bnep_sock_compat_ioctl()