Searched refs:bt_sk (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/net/bluetooth/ |
D | af_bluetooth.c | 170 list_add_tail(&bt_sk(sk)->accept_q, &bt_sk(parent)->accept_q); in bt_accept_enqueue() 171 bt_sk(sk)->parent = parent; in bt_accept_enqueue() 189 list_del_init(&bt_sk(sk)->accept_q); in bt_accept_unlink() 190 sk_acceptq_removed(bt_sk(sk)->parent); in bt_accept_unlink() 191 bt_sk(sk)->parent = NULL; in bt_accept_unlink() 204 list_for_each_entry_safe(s, n, &bt_sk(parent)->accept_q, accept_q) { in bt_accept_dequeue() 214 if (!bt_sk(sk)->parent) { in bt_accept_dequeue() 237 test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags)) { in bt_accept_dequeue() 287 if (msg->msg_name && bt_sk(sk)->skb_msg_name) in bt_sock_recvmsg() 288 bt_sk(sk)->skb_msg_name(skb, msg->msg_name, in bt_sock_recvmsg() [all …]
|
D | sco.c | 465 bt_sk(sk)->flags = bt_sk(parent)->flags; in sco_sock_init() 468 bt_sk(sk)->skb_put_cmsg = sco_skb_put_cmsg; in sco_sock_init() 488 INIT_LIST_HEAD(&bt_sk(sk)->accept_q); in sco_sock_alloc() 817 test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags)) { in sco_sock_recvmsg() 859 set_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in sco_sock_setsockopt() 861 clear_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in sco_sock_setsockopt() 990 test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags))) { in sco_sock_getsockopt_old() 1008 test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags))) { in sco_sock_getsockopt_old() 1065 if (put_user(test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags), in sco_sock_getsockopt() 1313 if (test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags)) in sco_conn_ready() [all …]
|
D | l2cap_sock.c | 547 test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags))) { in l2cap_sock_getsockopt_old() 625 if (put_user(test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags), in l2cap_sock_getsockopt() 963 test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags)) || in l2cap_sock_setsockopt() 966 set_bit(BT_SK_SUSPEND, &bt_sk(sk)->flags); in l2cap_sock_setsockopt() 986 set_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in l2cap_sock_setsockopt() 989 clear_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in l2cap_sock_setsockopt() 1188 &bt_sk(sk)->flags)) { in l2cap_sock_recvmsg() 1566 parent = bt_sk(sk)->parent; in l2cap_sock_teardown_cb() 1641 parent = bt_sk(sk)->parent; in l2cap_sock_ready_cb() 1660 parent = bt_sk(sk)->parent; in l2cap_sock_defer_cb() [all …]
|
D | iso.c | 161 parent = bt_sk(sk)->parent; in iso_chan_del() 345 if (test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags)) { in iso_connect_cis() 385 } else if (test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags)) { in iso_connect_cis() 627 if (test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags) && in __iso_sock_close() 661 bt_sk(sk)->flags = bt_sk(parent)->flags; in iso_sock_init() 701 INIT_LIST_HEAD(&bt_sk(sk)->accept_q); in iso_sock_alloc() 862 if (!test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags)) { in iso_sock_connect() 1124 if (test_and_clear_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags)) { in iso_sock_recvmsg() 1203 set_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in iso_sock_setsockopt() 1205 clear_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in iso_sock_setsockopt() [all …]
|
/linux-6.1.9/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() 722 set_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in rfcomm_sock_setsockopt() 724 clear_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in rfcomm_sock_setsockopt() 853 if (put_user(test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags), in rfcomm_sock_getsockopt() 988 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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/include/net/bluetooth/ |
D | bluetooth.h | 358 #define bt_sk(__sk) ((struct bt_sock *) __sk) macro
|