Lines Matching refs:sock
30 #include <net/sock.h>
378 struct sock sk;
380 struct sock *parent;
383 void (*skb_put_cmsg)(struct sk_buff *, struct msghdr *, struct sock *);
402 void bt_sock_link(struct bt_sock_list *l, struct sock *s);
403 void bt_sock_unlink(struct bt_sock_list *l, struct sock *s);
404 struct sock *bt_sock_alloc(struct net *net, struct socket *sock,
406 int bt_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len,
408 int bt_sock_stream_recvmsg(struct socket *sock, struct msghdr *msg,
410 __poll_t bt_sock_poll(struct file *file, struct socket *sock, poll_table *wait);
411 int bt_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
412 int bt_sock_wait_state(struct sock *sk, int state, unsigned long timeo);
413 int bt_sock_wait_ready(struct sock *sk, unsigned int msg_flags);
415 void bt_accept_enqueue(struct sock *parent, struct sock *sk, bool bh);
416 void bt_accept_unlink(struct sock *sk);
417 struct sock *bt_accept_dequeue(struct sock *parent, struct socket *newsock);
446 struct sock *sk;
493 static inline struct sk_buff *bt_skb_send_alloc(struct sock *sk,
522 static inline struct sk_buff *bt_skb_sendmsg(struct sock *sk,
552 static inline struct sk_buff *bt_skb_sendmmsg(struct sock *sk,
589 void hci_sock_set_flag(struct sock *sk, int nr);
590 void hci_sock_clear_flag(struct sock *sk, int nr);
591 int hci_sock_test_flag(struct sock *sk, int nr);
592 unsigned short hci_sock_get_channel(struct sock *sk);
593 u32 hci_sock_get_cookie(struct sock *sk);
648 void mgmt_cleanup(struct sock *sk);
650 void bt_sock_reclassify_lock(struct sock *sk, int proto);