Lines Matching refs:bt_sk
168 list_add_tail(&bt_sk(sk)->accept_q, &bt_sk(parent)->accept_q);
169 bt_sk(sk)->parent = parent;
181 * bt_sk(sk)->parent must be non-NULL meaning sk is in the parent list.
187 list_del_init(&bt_sk(sk)->accept_q);
188 sk_acceptq_removed(bt_sk(sk)->parent);
189 bt_sk(sk)->parent = NULL;
202 list_for_each_entry_safe(s, n, &bt_sk(parent)->accept_q, accept_q) {
212 if (!bt_sk(sk)->parent) {
235 test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags)) {
289 if (msg->msg_name && bt_sk(sk)->skb_msg_name)
290 bt_sk(sk)->skb_msg_name(skb, msg->msg_name,
293 if (bt_sk(sk)->skb_put_cmsg)
294 bt_sk(sk)->skb_put_cmsg(skb, msg, sk);
447 list_for_each_entry_safe(s, n, &bt_sk(parent)->accept_q, accept_q) {
450 (test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags) &&
490 if (!test_bit(BT_SK_SUSPEND, &bt_sk(sk)->flags) && sock_writeable(sk))
589 while (test_bit(BT_SK_SUSPEND, &bt_sk(sk)->flags)) {
656 struct bt_sock *bt = bt_sk(sk);