Lines Matching refs:argp
52 static int do_bnep_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) in do_bnep_sock_ioctl() argument
62 BT_DBG("cmd %x arg %p", cmd, argp); in do_bnep_sock_ioctl()
69 if (copy_from_user(&ca, argp, sizeof(ca))) in do_bnep_sock_ioctl()
84 if (copy_to_user(argp, &ca, sizeof(ca))) in do_bnep_sock_ioctl()
95 if (copy_from_user(&cd, argp, sizeof(cd))) in do_bnep_sock_ioctl()
101 if (copy_from_user(&cl, argp, sizeof(cl))) in do_bnep_sock_ioctl()
108 if (!err && copy_to_user(argp, &cl, sizeof(cl))) in do_bnep_sock_ioctl()
114 if (copy_from_user(&ci, argp, sizeof(ci))) in do_bnep_sock_ioctl()
118 if (!err && copy_to_user(argp, &ci, sizeof(ci))) in do_bnep_sock_ioctl()
124 if (copy_to_user(argp, &supp_feat, sizeof(supp_feat))) in do_bnep_sock_ioctl()
144 void __user *argp = compat_ptr(arg); in bnep_sock_compat_ioctl() local
147 unsigned __user *p = argp; in bnep_sock_compat_ioctl()
167 return do_bnep_sock_ioctl(sock, cmd, argp); in bnep_sock_compat_ioctl()