• Home
  • Raw
  • Download

Lines Matching refs:ca

51 	struct hidp_connadd_req ca;  in do_hidp_sock_ioctl()  local
66 if (copy_from_user(&ca, argp, sizeof(ca))) in do_hidp_sock_ioctl()
69 csock = sockfd_lookup(ca.ctrl_sock, &err); in do_hidp_sock_ioctl()
73 isock = sockfd_lookup(ca.intr_sock, &err); in do_hidp_sock_ioctl()
78 ca.name[sizeof(ca.name)-1] = 0; in do_hidp_sock_ioctl()
80 err = hidp_connection_add(&ca, csock, isock); in do_hidp_sock_ioctl()
81 if (!err && copy_to_user(argp, &ca, sizeof(ca))) in do_hidp_sock_ioctl()
173 struct hidp_connadd_req ca; in hidp_sock_compat_ioctl() local
183 ca.ctrl_sock = ca32.ctrl_sock; in hidp_sock_compat_ioctl()
184 ca.intr_sock = ca32.intr_sock; in hidp_sock_compat_ioctl()
185 ca.parser = ca32.parser; in hidp_sock_compat_ioctl()
186 ca.rd_size = ca32.rd_size; in hidp_sock_compat_ioctl()
187 ca.rd_data = compat_ptr(ca32.rd_data); in hidp_sock_compat_ioctl()
188 ca.country = ca32.country; in hidp_sock_compat_ioctl()
189 ca.subclass = ca32.subclass; in hidp_sock_compat_ioctl()
190 ca.vendor = ca32.vendor; in hidp_sock_compat_ioctl()
191 ca.product = ca32.product; in hidp_sock_compat_ioctl()
192 ca.version = ca32.version; in hidp_sock_compat_ioctl()
193 ca.flags = ca32.flags; in hidp_sock_compat_ioctl()
194 ca.idle_to = ca32.idle_to; in hidp_sock_compat_ioctl()
196 memcpy(ca.name, ca32.name, 128); in hidp_sock_compat_ioctl()
198 csock = sockfd_lookup(ca.ctrl_sock, &err); in hidp_sock_compat_ioctl()
202 isock = sockfd_lookup(ca.intr_sock, &err); in hidp_sock_compat_ioctl()
208 err = hidp_connection_add(&ca, csock, isock); in hidp_sock_compat_ioctl()