Home
last modified time | relevance | path

Searched refs:BT_CLOSED (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/net/bluetooth/cmtp/
Dcapi.c220 application->state = BT_CLOSED; in cmtp_recv_interopmsg()
424 if (application->state == BT_CLOSED) { in cmtp_register_appl()
467 (application->state == BT_CLOSED), CMTP_INTEROP_TIMEOUT); in cmtp_release_appl()
/linux-6.6.21/net/bluetooth/rfcomm/
Dcore.c383 if (d->state != BT_OPEN && d->state != BT_CLOSED) in __rfcomm_dlc_open()
492 d->state = BT_CLOSED; in __rfcomm_dlc_close()
749 s->state = BT_CLOSED; in rfcomm_session_close()
755 d->state = BT_CLOSED; in rfcomm_session_close()
1229 d->state = BT_CLOSED; in rfcomm_recv_ua()
1271 d->state = BT_CLOSED; in rfcomm_recv_dm()
1302 d->state = BT_CLOSED; in rfcomm_recv_disc()
1916 d->state = BT_CLOSED; in rfcomm_process_dlcs()
1953 if (s && (sk->sk_state == BT_CLOSED)) in rfcomm_process_rx()
2008 case BT_CLOSED: in rfcomm_check_connection()
Dsock.c82 if (d->state == BT_CLOSED) { in rfcomm_sk_state_change()
185 parent->sk_state = BT_CLOSED; in rfcomm_sock_cleanup_listen()
910 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in rfcomm_sock_shutdown()
Dtty.c431 sk->sk_state = BT_CLOSED; in __rfcomm_create_dev()
638 } else if (dlc->state == BT_CLOSED) in rfcomm_dev_state_change()
/linux-6.6.21/include/net/bluetooth/
Dbluetooth.h295 BT_CLOSED enumerator
318 case BT_CLOSED: in state_to_string()
/linux-6.6.21/net/bluetooth/
Dl2cap_sock.c1371 err = bt_sock_wait_state(sk, BT_CLOSED, in l2cap_sock_shutdown()
1554 case BT_CLOSED: in l2cap_sock_teardown_cb()
1558 sk->sk_state = BT_CLOSED; in l2cap_sock_teardown_cb()
1559 chan->state = BT_CLOSED; in l2cap_sock_teardown_cb()
1563 sk->sk_state = BT_CLOSED; in l2cap_sock_teardown_cb()
1564 chan->state = BT_CLOSED; in l2cap_sock_teardown_cb()
Dsco.c174 sk->sk_state = BT_CLOSED; in sco_chan_del()
409 parent->sk_state = BT_CLOSED; in sco_sock_cleanup_listen()
1226 err = bt_sock_wait_state(sk, BT_CLOSED, in sco_sock_shutdown()
1251 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in sco_sock_release()
Daf_bluetooth.c275 if (sk->sk_state == BT_CLOSED) { in bt_accept_dequeue()
532 if (sk->sk_state == BT_CLOSED) in bt_sock_poll()
Diso.c183 sk->sk_state = BT_CLOSED; in iso_chan_del()
651 parent->sk_state = BT_CLOSED; in iso_sock_cleanup_listen()
1546 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in iso_sock_shutdown()
1570 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in iso_sock_release()
Dhci_conn.c1253 conn->state = BT_CLOSED; in hci_conn_failed()
1655 if (acl->state == BT_OPEN || acl->state == BT_CLOSED) { in hci_connect_acl()
1725 (sco->state == BT_OPEN || sco->state == BT_CLOSED)) { in hci_connect_sco()
2570 conn->state = BT_CLOSED; in hci_conn_hash_flush()
Dhci_event.c2346 conn->state = BT_CLOSED; in hci_cs_create_conn()
2391 link->conn->state = BT_CLOSED; in hci_cs_add_sco()
2676 link->conn->state = BT_CLOSED; in hci_setup_sync_conn_status()
3425 conn->state = BT_CLOSED; in hci_disconn_complete_evt()
4310 conn->state = BT_CLOSED; in hci_cs_le_create_cis()
5084 conn->state = BT_CLOSED; in hci_sync_conn_complete_evt()
5112 conn->state = BT_CLOSED; in hci_sync_conn_complete_evt()
5813 hcon->state = BT_CLOSED; in hci_disconn_phylink_complete_evt()
6968 conn->state = BT_CLOSED; in hci_le_cis_estabilished_evt()
Da2mp.c729 case BT_CLOSED: in a2mp_chan_state_change_cb()
Dhci_sock.c1569 if (sk->sk_state == BT_CLOSED) in hci_sock_recvmsg()
Dhci_sync.c5400 conn->state = BT_CLOSED; in hci_abort_conn_sync()
5429 conn->state = BT_CLOSED; in hci_abort_conn_sync()
Dl2cap_core.c5245 if (chan->state == BT_DISCONN || chan->state == BT_CLOSED) in __l2cap_physical_cfm()
Dmgmt.c3162 if (!conn || conn->state == BT_OPEN || conn->state == BT_CLOSED) { in disconnect()