Home
last modified time | relevance | path

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

/Linux-v5.4/include/net/bluetooth/
Dbluetooth.h163 BT_CLOSED enumerator
186 case BT_CLOSED: in state_to_string()
/Linux-v5.4/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-v5.4/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()
713 s->state = BT_CLOSED; in rfcomm_session_close()
719 d->state = BT_CLOSED; in rfcomm_session_close()
1192 d->state = BT_CLOSED; in rfcomm_recv_ua()
1234 d->state = BT_CLOSED; in rfcomm_recv_dm()
1265 d->state = BT_CLOSED; in rfcomm_recv_disc()
1879 d->state = BT_CLOSED; in rfcomm_process_dlcs()
1916 if (s && (sk->sk_state == BT_CLOSED)) in rfcomm_process_rx()
1971 case BT_CLOSED: in rfcomm_check_connection()
Dsock.c84 if (d->state == BT_CLOSED) { in rfcomm_sk_state_change()
188 parent->sk_state = BT_CLOSED; in rfcomm_sock_cleanup_listen()
929 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in rfcomm_sock_shutdown()
Dtty.c432 sk->sk_state = BT_CLOSED; in __rfcomm_create_dev()
639 } else if (dlc->state == BT_CLOSED) in rfcomm_dev_state_change()
/Linux-v5.4/net/bluetooth/
Dl2cap_sock.c1174 err = bt_sock_wait_state(sk, BT_CLOSED, in l2cap_sock_shutdown()
1340 case BT_CLOSED: in l2cap_sock_teardown_cb()
1344 sk->sk_state = BT_CLOSED; in l2cap_sock_teardown_cb()
1345 chan->state = BT_CLOSED; in l2cap_sock_teardown_cb()
1349 sk->sk_state = BT_CLOSED; in l2cap_sock_teardown_cb()
1350 chan->state = BT_CLOSED; in l2cap_sock_teardown_cb()
Dsco.c151 sk->sk_state = BT_CLOSED; in sco_chan_del()
387 parent->sk_state = BT_CLOSED; in sco_sock_cleanup_listen()
988 err = bt_sock_wait_state(sk, BT_CLOSED, in sco_sock_shutdown()
1013 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in sco_sock_release()
Daf_bluetooth.c228 if (sk->sk_state == BT_CLOSED) { in bt_accept_dequeue()
476 if (sk->sk_state == BT_CLOSED) in bt_sock_poll()
Dhci_conn.c694 conn->state = BT_CLOSED; in hci_le_conn_failed()
1209 if (acl->state == BT_OPEN || acl->state == BT_CLOSED) { in hci_connect_acl()
1246 (sco->state == BT_OPEN || sco->state == BT_CLOSED)) { in hci_connect_sco()
1486 c->state = BT_CLOSED; in hci_conn_hash_flush()
Dhci_event.c1791 conn->state = BT_CLOSED; in hci_cs_create_conn()
1834 sco->state = BT_CLOSED; in hci_cs_add_sco()
2126 sco->state = BT_CLOSED; in hci_cs_setup_sync_conn()
2538 conn->state = BT_CLOSED; in hci_conn_complete_evt()
2702 conn->state = BT_CLOSED; in hci_disconn_complete_evt()
4230 conn->state = BT_CLOSED; in hci_sync_conn_complete_evt()
4894 hcon->state = BT_CLOSED; in hci_disconn_phylink_complete_evt()
Da2mp.c714 case BT_CLOSED: in a2mp_chan_state_change_cb()
Dhci_sock.c1426 if (sk->sk_state == BT_CLOSED) in hci_sock_recvmsg()
Dhci_request.c2258 conn->state = BT_CLOSED; in __hci_abort_conn()
Dl2cap_core.c4939 if (chan->state == BT_DISCONN || chan->state == BT_CLOSED) { in __l2cap_physical_cfm()
Dmgmt.c2543 if (!conn || conn->state == BT_OPEN || conn->state == BT_CLOSED) { in disconnect()