Searched refs:bt_sk (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/net/bluetooth/ |
D | af_bluetooth.c | 168 list_add_tail(&bt_sk(sk)->accept_q, &bt_sk(parent)->accept_q); in bt_accept_enqueue() 169 bt_sk(sk)->parent = parent; in bt_accept_enqueue() 187 list_del_init(&bt_sk(sk)->accept_q); in bt_accept_unlink() 188 sk_acceptq_removed(bt_sk(sk)->parent); in bt_accept_unlink() 189 bt_sk(sk)->parent = NULL; in bt_accept_unlink() 202 list_for_each_entry_safe(s, n, &bt_sk(parent)->accept_q, accept_q) { in bt_accept_dequeue() 212 if (!bt_sk(sk)->parent) { in bt_accept_dequeue() 235 test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags)) { in bt_accept_dequeue() 289 if (msg->msg_name && bt_sk(sk)->skb_msg_name) in bt_sock_recvmsg() 290 bt_sk(sk)->skb_msg_name(skb, msg->msg_name, in bt_sock_recvmsg() [all …]
|
D | sco.c | 463 bt_sk(sk)->flags = bt_sk(parent)->flags; in sco_sock_init() 466 bt_sk(sk)->skb_put_cmsg = sco_skb_put_cmsg; in sco_sock_init() 486 INIT_LIST_HEAD(&bt_sk(sk)->accept_q); in sco_sock_alloc() 811 test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags)) { in sco_sock_recvmsg() 850 set_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in sco_sock_setsockopt() 852 clear_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in sco_sock_setsockopt() 920 test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags))) { in sco_sock_getsockopt_old() 938 test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags))) { in sco_sock_getsockopt_old() 989 if (put_user(test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags), in sco_sock_getsockopt() 1142 if (test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags)) in sco_conn_ready() [all …]
|
D | l2cap_sock.c | 546 test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags))) { in l2cap_sock_getsockopt_old() 624 if (put_user(test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags), in l2cap_sock_getsockopt() 962 test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags)) || in l2cap_sock_setsockopt() 965 set_bit(BT_SK_SUSPEND, &bt_sk(sk)->flags); in l2cap_sock_setsockopt() 985 set_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in l2cap_sock_setsockopt() 988 clear_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in l2cap_sock_setsockopt() 1187 &bt_sk(sk)->flags)) { in l2cap_sock_recvmsg() 1565 parent = bt_sk(sk)->parent; in l2cap_sock_teardown_cb() 1640 parent = bt_sk(sk)->parent; in l2cap_sock_ready_cb() 1659 parent = bt_sk(sk)->parent; in l2cap_sock_defer_cb() [all …]
|
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/ |
D | sock.c | 80 parent = bt_sk(sk)->parent; in rfcomm_sk_state_change() 248 &bt_sk(parent)->flags); in rfcomm_sock_init() 281 INIT_LIST_HEAD(&bt_sk(sk)->accept_q); in rfcomm_sock_alloc() 717 set_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in rfcomm_sock_setsockopt() 719 clear_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in rfcomm_sock_setsockopt() 848 if (put_user(test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags), in rfcomm_sock_getsockopt() 980 if (test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags)) in rfcomm_connect_ind()
|
D | core.c | 1962 if (list_empty(&bt_sk(sock->sk)->accept_q)) in rfcomm_accept_connection()
|
/kernel/linux/linux-5.10/net/bluetooth/hidp/ |
D | core.c | 921 ctrl = bt_sk(ctrl_sock->sk); in hidp_session_new() 922 intr = bt_sk(intr_sock->sk); in hidp_session_new() 1329 ctrl = bt_sk(ctrl_sock->sk); in hidp_verify_sockets() 1330 intr = bt_sk(intr_sock->sk); in hidp_verify_sockets()
|
/kernel/linux/linux-5.10/include/net/bluetooth/ |
D | bluetooth.h | 289 #define bt_sk(__sk) ((struct bt_sock *) __sk) macro
|