Lines Matching refs:argp
49 static int do_hidp_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) in do_hidp_sock_ioctl() argument
59 BT_DBG("cmd %x arg %p", cmd, argp); in do_hidp_sock_ioctl()
66 if (copy_from_user(&ca, argp, sizeof(ca))) in do_hidp_sock_ioctl()
81 if (!err && copy_to_user(argp, &ca, sizeof(ca))) in do_hidp_sock_ioctl()
93 if (copy_from_user(&cd, argp, sizeof(cd))) in do_hidp_sock_ioctl()
99 if (copy_from_user(&cl, argp, sizeof(cl))) in do_hidp_sock_ioctl()
106 if (!err && copy_to_user(argp, &cl, sizeof(cl))) in do_hidp_sock_ioctl()
112 if (copy_from_user(&ci, argp, sizeof(ci))) in do_hidp_sock_ioctl()
116 if (!err && copy_to_user(argp, &ci, sizeof(ci))) in do_hidp_sock_ioctl()
149 void __user *argp = compat_ptr(arg); in hidp_sock_compat_ioctl() local
154 u32 __user *p = argp; in hidp_sock_compat_ioctl()
209 if (!err && copy_to_user(argp, &ca32, sizeof(ca32))) in hidp_sock_compat_ioctl()