Lines Matching defs:sock
69 void bt_sock_reclassify_lock(struct sock *sk, int proto)
111 static int bt_sock_create(struct net *net, struct socket *sock, int proto,
130 err = bt_proto[proto]->create(net, sock, proto, kern);
132 bt_sock_reclassify_lock(sock->sk, proto);
141 void bt_sock_link(struct bt_sock_list *l, struct sock *sk)
149 void bt_sock_unlink(struct bt_sock_list *l, struct sock *sk)
157 void bt_accept_enqueue(struct sock *parent, struct sock *sk, bool bh)
183 void bt_accept_unlink(struct sock *sk)
194 struct sock *bt_accept_dequeue(struct sock *parent, struct socket *newsock)
197 struct sock *sk;
203 sk = (struct sock *)s;
251 int bt_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len,
255 struct sock *sk = sock->sk;
261 BT_DBG("sock %p sk %p len %zu", sock, sk, len);
308 static long bt_sock_data_wait(struct sock *sk, long timeo)
337 int bt_sock_stream_recvmsg(struct socket *sock, struct msghdr *msg,
340 struct sock *sk = sock->sk;
442 static inline __poll_t bt_accept_poll(struct sock *parent)
445 struct sock *sk;
448 sk = (struct sock *)s;
458 __poll_t bt_sock_poll(struct file *file, struct socket *sock,
461 struct sock *sk = sock->sk;
499 int bt_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
501 struct sock *sk = sock->sk;
541 int bt_sock_wait_state(struct sock *sk, int state, unsigned long timeo)
577 int bt_sock_wait_ready(struct sock *sk, unsigned long flags)
655 struct sock *sk = sk_entry(v);