Home
last modified time | relevance | path

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

/linux-6.1.9/net/bluetooth/rfcomm/
Dsock.c117 if (sk->sk_state == BT_BOUND || sk->sk_state == BT_LISTEN) in __rfcomm_get_listen_sock_by_addr()
371 sk->sk_state = BT_BOUND; in rfcomm_sock_bind()
397 if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND) { in rfcomm_sock_connect()
438 if (sk->sk_state != BT_BOUND) { in rfcomm_sock_listen()
711 if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { in rfcomm_sock_setsockopt()
848 if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { in rfcomm_sock_getsockopt()
Dcore.c475 if (s->state != BT_BOUND) { in __rfcomm_dlc_close()
794 s = rfcomm_session_add(sock, BT_BOUND); in rfcomm_session_create()
2029 case BT_BOUND: in rfcomm_process_sessions()
/linux-6.1.9/net/bluetooth/
Dsco.c557 sk->sk_state = BT_BOUND; in sco_sock_bind()
578 if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND) { in sco_sock_connect()
622 if (sk->sk_state != BT_BOUND) { in sco_sock_listen()
848 if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { in sco_sock_setsockopt()
865 if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND && in sco_sock_setsockopt()
912 if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND && in sco_sock_setsockopt()
1060 if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { in sco_sock_getsockopt()
Dl2cap_sock.c172 chan->state = BT_BOUND; in l2cap_sock_bind()
173 sk->sk_state = BT_BOUND; in l2cap_sock_bind()
297 if (sk->sk_state != BT_BOUND) { in l2cap_sock_listen()
620 if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { in l2cap_sock_getsockopt()
975 if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { in l2cap_sock_setsockopt()
1112 if (sk->sk_state != BT_BOUND) { in l2cap_sock_setsockopt()
1570 case BT_BOUND: in l2cap_sock_teardown_cb()
Diso.c815 sk->sk_state = BT_BOUND; in iso_sock_bind()
835 if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND) in iso_sock_connect()
931 if (sk->sk_state != BT_BOUND) { in iso_sock_listen()
1192 if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { in iso_sock_setsockopt()
1209 if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND && in iso_sock_setsockopt()
1238 if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND && in iso_sock_setsockopt()
Dhci_conn.c1405 BT_BOUND, &data); in qos_set_big()
1434 BT_BOUND, &data); in qos_set_bis()
1477 hci_conn_hash_list_state(hdev, bis_list, ISO_LINK, BT_BOUND, &data); in hci_add_bis()
1705 BT_BOUND, &data); in hci_le_set_cig_params()
1736 hci_conn_hash_list_state(hdev, cis_list, ISO_LINK, BT_BOUND, in hci_le_set_cig_params()
1749 hci_conn_hash_list_state(hdev, cis_list, ISO_LINK, BT_BOUND, in hci_le_set_cig_params()
1792 if (cis->state == BT_BOUND && in hci_bind_cis()
1830 cis->state = BT_BOUND; in hci_bind_cis()
1993 conn->state = BT_BOUND; in hci_bind_bis()
Dhci_sock.c215 if (sk->sk_state != BT_BOUND || hci_pi(sk)->hdev != hdev) in hci_send_to_sock()
286 if (sk->sk_state != BT_BOUND) in __hci_send_to_channel()
1126 if (sk->sk_state == BT_BOUND) { in hci_sock_bind()
1384 sk->sk_state = BT_BOUND; in hci_sock_bind()
Dl2cap_core.c7724 if (chan->state != BT_BOUND && chan->state != BT_CONNECTED) in l2cap_conless_channel()
7986 case BT_BOUND: in l2cap_chan_connect()
/linux-6.1.9/include/net/bluetooth/
Dbluetooth.h272 BT_BOUND, enumerator
289 case BT_BOUND: in state_to_string()