• Home
  • Raw
  • Download

Lines Matching refs:ca

52 	struct hidp_connadd_req ca;  in hidp_sock_ioctl()  local
67 if (copy_from_user(&ca, argp, sizeof(ca))) in hidp_sock_ioctl()
70 csock = sockfd_lookup(ca.ctrl_sock, &err); in hidp_sock_ioctl()
74 isock = sockfd_lookup(ca.intr_sock, &err); in hidp_sock_ioctl()
79 ca.name[sizeof(ca.name)-1] = 0; in hidp_sock_ioctl()
81 err = hidp_connection_add(&ca, csock, isock); in hidp_sock_ioctl()
82 if (!err && copy_to_user(argp, &ca, sizeof(ca))) in hidp_sock_ioctl()
166 struct compat_hidp_connadd_req ca; in hidp_sock_compat_ioctl() local
171 if (copy_from_user(&ca, (void __user *) arg, sizeof(ca))) in hidp_sock_compat_ioctl()
174 if (put_user(ca.ctrl_sock, &uca->ctrl_sock) || in hidp_sock_compat_ioctl()
175 put_user(ca.intr_sock, &uca->intr_sock) || in hidp_sock_compat_ioctl()
176 put_user(ca.parser, &uca->parser) || in hidp_sock_compat_ioctl()
177 put_user(ca.rd_size, &uca->rd_size) || in hidp_sock_compat_ioctl()
178 put_user(compat_ptr(ca.rd_data), &uca->rd_data) || in hidp_sock_compat_ioctl()
179 put_user(ca.country, &uca->country) || in hidp_sock_compat_ioctl()
180 put_user(ca.subclass, &uca->subclass) || in hidp_sock_compat_ioctl()
181 put_user(ca.vendor, &uca->vendor) || in hidp_sock_compat_ioctl()
182 put_user(ca.product, &uca->product) || in hidp_sock_compat_ioctl()
183 put_user(ca.version, &uca->version) || in hidp_sock_compat_ioctl()
184 put_user(ca.flags, &uca->flags) || in hidp_sock_compat_ioctl()
185 put_user(ca.idle_to, &uca->idle_to) || in hidp_sock_compat_ioctl()
186 copy_to_user(&uca->name[0], &ca.name[0], 128)) in hidp_sock_compat_ioctl()