Lines Matching refs:sock
224 struct sock sk;
226 struct sock *parent;
246 void bt_sock_link(struct bt_sock_list *l, struct sock *s);
247 void bt_sock_unlink(struct bt_sock_list *l, struct sock *s);
248 int bt_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len,
250 int bt_sock_stream_recvmsg(struct socket *sock, struct msghdr *msg,
252 uint bt_sock_poll(struct file *file, struct socket *sock, poll_table *wait);
253 int bt_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
254 int bt_sock_wait_state(struct sock *sk, int state, unsigned long timeo);
255 int bt_sock_wait_ready(struct sock *sk, unsigned long flags);
257 void bt_accept_enqueue(struct sock *parent, struct sock *sk);
258 void bt_accept_unlink(struct sock *sk);
259 struct sock *bt_accept_dequeue(struct sock *parent, struct socket *newsock);
315 static inline struct sk_buff *bt_skb_send_alloc(struct sock *sk, in bt_skb_send_alloc()
347 void hci_sock_set_flag(struct sock *sk, int nr);
348 void hci_sock_clear_flag(struct sock *sk, int nr);
349 int hci_sock_test_flag(struct sock *sk, int nr);
350 unsigned short hci_sock_get_channel(struct sock *sk);
374 void bt_sock_reclassify_lock(struct sock *sk, int proto);