Home
last modified time | relevance | path

Searched refs:bt_sk (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/net/bluetooth/
Daf_bluetooth.c153 INIT_LIST_HEAD(&bt_sk(sk)->accept_q); in bt_sock_alloc()
202 list_add_tail(&bt_sk(sk)->accept_q, &bt_sk(parent)->accept_q); in bt_accept_enqueue()
203 bt_sk(sk)->parent = parent; in bt_accept_enqueue()
234 list_del_init(&bt_sk(sk)->accept_q); in bt_accept_unlink()
235 sk_acceptq_removed(bt_sk(sk)->parent); in bt_accept_unlink()
236 bt_sk(sk)->parent = NULL; in bt_accept_unlink()
249 list_for_each_entry_safe(s, n, &bt_sk(parent)->accept_q, accept_q) { in bt_accept_dequeue()
259 if (!bt_sk(sk)->parent) { in bt_accept_dequeue()
282 test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags)) { in bt_accept_dequeue()
335 if (msg->msg_name && bt_sk(sk)->skb_msg_name) in bt_sock_recvmsg()
[all …]
Dsco.c479 bt_sk(sk)->flags = bt_sk(parent)->flags; in sco_sock_init()
809 test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags)) { in sco_sock_recvmsg()
851 set_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in sco_sock_setsockopt()
853 clear_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in sco_sock_setsockopt()
898 set_bit(BT_SK_PKT_STATUS, &bt_sk(sk)->flags); in sco_sock_setsockopt()
900 clear_bit(BT_SK_PKT_STATUS, &bt_sk(sk)->flags); in sco_sock_setsockopt()
982 test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags))) { in sco_sock_getsockopt_old()
1000 test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags))) { in sco_sock_getsockopt_old()
1056 if (put_user(test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags), in sco_sock_getsockopt()
1084 if (put_user(test_bit(BT_SK_PKT_STATUS, &bt_sk(sk)->flags), in sco_sock_getsockopt()
[all …]
Diso.c186 parent = bt_sk(sk)->parent; in iso_chan_del()
336 if (test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags)) { in iso_connect_bis()
376 } else if (test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags)) { in iso_connect_bis()
427 if (test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags)) { in iso_connect_cis()
466 } else if (test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags)) { in iso_connect_cis()
734 bt_sk(sk)->flags = bt_sk(parent)->flags; in iso_sock_init()
937 if (!test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags)) { in iso_sock_connect()
1232 if (test_and_clear_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags)) { in iso_sock_recvmsg()
1368 set_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in iso_sock_setsockopt()
1370 clear_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in iso_sock_setsockopt()
[all …]
Dl2cap_sock.c529 test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags))) { in l2cap_sock_getsockopt_old()
607 if (put_user(test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags), in l2cap_sock_getsockopt()
945 test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags)) || in l2cap_sock_setsockopt()
948 set_bit(BT_SK_SUSPEND, &bt_sk(sk)->flags); in l2cap_sock_setsockopt()
968 set_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in l2cap_sock_setsockopt()
971 clear_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in l2cap_sock_setsockopt()
1170 &bt_sk(sk)->flags)) { in l2cap_sock_recvmsg()
1549 parent = bt_sk(sk)->parent; in l2cap_sock_teardown_cb()
1632 parent = bt_sk(sk)->parent; in l2cap_sock_ready_cb()
1651 parent = bt_sk(sk)->parent; in l2cap_sock_defer_cb()
[all …]
Dhci_sock.c279 if (bt_sk(sk)->parent && bt_sk(sk)->parent->sk_peer_pid) in hci_sock_copy_creds()
280 sk = bt_sk(sk)->parent; in hci_sock_copy_creds()
/linux-6.6.21/net/bluetooth/rfcomm/
Dsock.c80 parent = bt_sk(sk)->parent; in rfcomm_sk_state_change()
248 &bt_sk(parent)->flags); in rfcomm_sock_init()
715 set_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in rfcomm_sock_setsockopt()
717 clear_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags); in rfcomm_sock_setsockopt()
846 if (put_user(test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags), in rfcomm_sock_getsockopt()
981 if (test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags)) in rfcomm_connect_ind()
Dcore.c1966 if (list_empty(&bt_sk(sock->sk)->accept_q)) in rfcomm_accept_connection()
/linux-6.6.21/net/bluetooth/hidp/
Dcore.c920 ctrl = bt_sk(ctrl_sock->sk); in hidp_session_new()
921 intr = bt_sk(intr_sock->sk); in hidp_session_new()
1328 ctrl = bt_sk(ctrl_sock->sk); in hidp_verify_sockets()
1329 intr = bt_sk(intr_sock->sk); in hidp_verify_sockets()
/linux-6.6.21/include/net/bluetooth/
Dbluetooth.h375 #define bt_sk(__sk) ((struct bt_sock *) __sk) macro