Home
last modified time | relevance | path

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

/linux-4.1.27/include/net/bluetooth/
Dbluetooth.h141 BT_CLOSED enumerator
164 case BT_CLOSED: in state_to_string()
/linux-4.1.27/net/bluetooth/cmtp/
Dcapi.c222 application->state = BT_CLOSED; in cmtp_recv_interopmsg()
426 if (application->state == BT_CLOSED) { in cmtp_register_appl()
469 (application->state == BT_CLOSED), CMTP_INTEROP_TIMEOUT); in cmtp_release_appl()
/linux-4.1.27/net/bluetooth/rfcomm/
Dcore.c383 if (d->state != BT_OPEN && d->state != BT_CLOSED) in __rfcomm_dlc_open()
491 d->state = BT_CLOSED; in __rfcomm_dlc_close()
715 s->state = BT_CLOSED; in rfcomm_session_close()
722 d->state = BT_CLOSED; in rfcomm_session_close()
1195 d->state = BT_CLOSED; in rfcomm_recv_ua()
1237 d->state = BT_CLOSED; in rfcomm_recv_dm()
1268 d->state = BT_CLOSED; in rfcomm_recv_disc()
1887 d->state = BT_CLOSED; in rfcomm_process_dlcs()
1924 if (s && (sk->sk_state == BT_CLOSED)) in rfcomm_process_rx()
1979 case BT_CLOSED: in rfcomm_check_connection()
Dsock.c83 if (d->state == BT_CLOSED) { in rfcomm_sk_state_change()
187 parent->sk_state = BT_CLOSED; in rfcomm_sock_cleanup_listen()
922 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-4.1.27/net/bluetooth/
Dl2cap_sock.c1124 err = bt_sock_wait_state(sk, BT_CLOSED, in l2cap_sock_shutdown()
1278 case BT_CLOSED: in l2cap_sock_teardown_cb()
1282 sk->sk_state = BT_CLOSED; in l2cap_sock_teardown_cb()
1283 chan->state = BT_CLOSED; in l2cap_sock_teardown_cb()
1287 sk->sk_state = BT_CLOSED; in l2cap_sock_teardown_cb()
1288 chan->state = BT_CLOSED; in l2cap_sock_teardown_cb()
Dhci_conn.c359 conn->state = BT_CLOSED; in hci_conn_timeout()
616 conn->state = BT_CLOSED; in hci_le_conn_failed()
883 if (acl->state == BT_OPEN || acl->state == BT_CLOSED) { in hci_connect_acl()
920 (sco->state == BT_OPEN || sco->state == BT_CLOSED)) { in hci_connect_sco()
1152 c->state = BT_CLOSED; in hci_conn_hash_flush()
Dsco.c150 sk->sk_state = BT_CLOSED; in sco_chan_del()
384 parent->sk_state = BT_CLOSED; in sco_sock_cleanup_listen()
976 err = bt_sock_wait_state(sk, BT_CLOSED, in sco_sock_shutdown()
998 err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime); in sco_sock_release()
Daf_bluetooth.c190 if (sk->sk_state == BT_CLOSED) { in bt_accept_dequeue()
433 if (sk->sk_state == BT_CLOSED) in bt_sock_poll()
Dhci_event.c1526 conn->state = BT_CLOSED; in hci_cs_create_conn()
1569 sco->state = BT_CLOSED; in hci_cs_add_sco()
1861 sco->state = BT_CLOSED; in hci_cs_setup_sync_conn()
2280 conn->state = BT_CLOSED; in hci_conn_complete_evt()
2444 conn->state = BT_CLOSED; in hci_disconn_complete_evt()
3786 conn->state = BT_CLOSED; in hci_sync_conn_complete_evt()
4433 hcon->state = BT_CLOSED; in hci_disconn_phylink_complete_evt()
Da2mp.c706 case BT_CLOSED: in a2mp_chan_state_change_cb()
Dhci_sock.c934 if (sk->sk_state == BT_CLOSED) in hci_sock_recvmsg()
Dl2cap_core.c4846 if (chan->state == BT_DISCONN || chan->state == BT_CLOSED) { in __l2cap_physical_cfm()
Dmgmt.c3072 if (!conn || conn->state == BT_OPEN || conn->state == BT_CLOSED) { in disconnect()