Lines Matching refs:bt_sk
153 INIT_LIST_HEAD(&bt_sk(sk)->accept_q);
202 list_add_tail(&bt_sk(sk)->accept_q, &bt_sk(parent)->accept_q);
203 bt_sk(sk)->parent = parent;
228 * bt_sk(sk)->parent must be non-NULL meaning sk is in the parent list.
234 list_del_init(&bt_sk(sk)->accept_q);
235 sk_acceptq_removed(bt_sk(sk)->parent);
236 bt_sk(sk)->parent = NULL;
249 list_for_each_entry_safe(s, n, &bt_sk(parent)->accept_q, accept_q) {
259 if (!bt_sk(sk)->parent) {
282 test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags)) {
332 if (msg->msg_name && bt_sk(sk)->skb_msg_name)
333 bt_sk(sk)->skb_msg_name(skb, msg->msg_name,
336 if (test_bit(BT_SK_PKT_STATUS, &bt_sk(sk)->flags)) {
492 list_for_each_entry_safe(s, n, &bt_sk(parent)->accept_q, accept_q) {
495 (test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags) &&
535 if (!test_bit(BT_SK_SUSPEND, &bt_sk(sk)->flags) && sock_writeable(sk))
634 while (test_bit(BT_SK_SUSPEND, &bt_sk(sk)->flags)) {
701 struct bt_sock *bt = bt_sk(sk);