Home
last modified time | relevance | path

Searched refs:BT_BOUND (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/net/bluetooth/rfcomm/
Dsock.c117 if (sk->sk_state == BT_BOUND || sk->sk_state == BT_LISTEN) in __rfcomm_get_listen_sock_by_addr()
364 sk->sk_state = BT_BOUND; in rfcomm_sock_bind()
390 if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND) { in rfcomm_sock_connect()
431 if (sk->sk_state != BT_BOUND) { in rfcomm_sock_listen()
704 if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { in rfcomm_sock_setsockopt()
841 if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { in rfcomm_sock_getsockopt()
Dcore.c479 if (s->state != BT_BOUND) { in __rfcomm_dlc_close()
798 s = rfcomm_session_add(sock, BT_BOUND); in rfcomm_session_create()
2033 case BT_BOUND: in rfcomm_process_sessions()
/linux-6.6.21/net/bluetooth/
Dsco.c561 sk->sk_state = BT_BOUND; in sco_sock_bind()
580 if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND) in sco_sock_connect()
614 if (sk->sk_state != BT_BOUND) { in sco_sock_listen()
840 if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { in sco_sock_setsockopt()
857 if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND && in sco_sock_setsockopt()
904 if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND && in sco_sock_setsockopt()
1051 if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { in sco_sock_getsockopt()
Dl2cap_sock.c173 chan->state = BT_BOUND; in l2cap_sock_bind()
174 sk->sk_state = BT_BOUND; in l2cap_sock_bind()
281 if (sk->sk_state != BT_BOUND) { in l2cap_sock_listen()
602 if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { in l2cap_sock_getsockopt()
957 if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { in l2cap_sock_setsockopt()
1094 if (sk->sk_state != BT_BOUND) { in l2cap_sock_setsockopt()
1553 case BT_BOUND: in l2cap_sock_teardown_cb()
Diso.c890 sk->sk_state = BT_BOUND; in iso_sock_bind()
910 if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND) in iso_sock_connect()
1010 if (sk->sk_state != BT_BOUND) { in iso_sock_listen()
1357 if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { in iso_sock_setsockopt()
1386 if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND && in iso_sock_setsockopt()
1410 if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND && in iso_sock_setsockopt()
Dhci_conn.c923 hci_conn_hash_list_state(hdev, find_cis, ISO_LINK, BT_BOUND, &d); in cis_cleanup()
1755 BT_BOUND, &data); in hci_le_create_big()
1912 if (cis->state == BT_BOUND && in hci_bind_cis()
1952 cis->state = BT_BOUND; in hci_bind_cis()
2216 conn->state = BT_BOUND; in hci_bind_bis()
2257 BT_BOUND, &data); in hci_connect_bis()
Dhci_sock.c215 if (sk->sk_state != BT_BOUND || hci_pi(sk)->hdev != hdev) in hci_send_to_sock()
333 if (sk->sk_state != BT_BOUND) in __hci_send_to_channel()
1219 if (sk->sk_state == BT_BOUND) { in hci_sock_bind()
1477 sk->sk_state = BT_BOUND; in hci_sock_bind()
Dl2cap_core.c7761 if (chan->state != BT_BOUND && chan->state != BT_CONNECTED) in l2cap_conless_channel()
8023 case BT_BOUND: in l2cap_chan_connect()
Dhci_sync.c5407 case BT_BOUND: in hci_abort_conn_sync()
Dhci_event.c3882 if (conn->state != BT_BOUND && conn->state != BT_CONNECT) in hci_cc_le_set_cig_params()
/linux-6.6.21/include/net/bluetooth/
Dbluetooth.h289 BT_BOUND, enumerator
306 case BT_BOUND: in state_to_string()