Lines Matching refs:sock
32 static int hidp_sock_release(struct socket *sock)
34 struct sock *sk = sock->sk;
36 BT_DBG("sock %p sk %p", sock, sk);
49 static int do_hidp_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp)
125 static int hidp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
127 return do_hidp_sock_ioctl(sock, cmd, (void __user *)arg);
147 static int hidp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
218 return hidp_sock_ioctl(sock, cmd, arg);
248 static int hidp_sock_create(struct net *net, struct socket *sock, int protocol,
251 struct sock *sk;
253 BT_DBG("sock %p", sock);
255 if (sock->type != SOCK_RAW)
262 sock_init_data(sock, sk);
264 sock->ops = &hidp_sock_ops;
266 sock->state = SS_UNCONNECTED;