Symbol: BT_CONNECTED
include/net/bluetooth/bluetooth.h
320
case BT_CONNECTED:
include/net/bluetooth/hci_core.h
1697
if (conn->state == BT_CONNECTED) {
include/net/bluetooth/hci_core.h
2190
conn->state = BT_CONNECTED;
net/bluetooth/af_bluetooth.c
332
if (sk->sk_state == BT_CONNECTED || !newsock ||
net/bluetooth/af_bluetooth.c
562
if (state == BT_CONNECTED ||
net/bluetooth/bnep/core.c
523
if (sk->sk_state != BT_CONNECTED)
net/bluetooth/bnep/core.c
611
if (ss && ss->state == BT_CONNECTED) {
net/bluetooth/bnep/core.c
627
s->state = BT_CONNECTED;
net/bluetooth/bnep/sock.c
74
if (nsock->sk->sk_state != BT_CONNECTED) {
net/bluetooth/hci_conn.c
1188
if ((conn->state != BT_CONNECTED &&
net/bluetooth/hci_conn.c
1528
if (conn->state != BT_CONNECTED)
net/bluetooth/hci_conn.c
185
(conn->state == BT_CONNECTED || conn->state == BT_CONFIG)) {
net/bluetooth/hci_conn.c
1856
if (acl->state == BT_CONNECTED &&
net/bluetooth/hci_conn.c
1987
BT_CONNECTED, &data);
net/bluetooth/hci_conn.c
2050
if (cis->state == BT_CONNECTED)
net/bluetooth/hci_conn.c
2134
if (!conn->parent || conn->parent->state != BT_CONNECTED ||
net/bluetooth/hci_conn.c
2312
conn->state = BT_CONNECTED;
net/bluetooth/hci_conn.c
2395
if (conn->state == BT_CONNECTED)
net/bluetooth/hci_conn.c
2881
chan->state = BT_CONNECTED;
net/bluetooth/hci_conn.c
905
BT_CONNECTED,
net/bluetooth/hci_conn.c
977
hci_conn_hash_list_state(hdev, find_cis, CIS_LINK, BT_CONNECTED,
net/bluetooth/hci_core.c
3405
if (c->state != BT_CONNECTED && c->state != BT_CONFIG)
net/bluetooth/hci_core.c
3467
if (conn->state != BT_CONNECTED && conn->state != BT_CONFIG)
net/bluetooth/hci_core.c
3527
if (conn->state != BT_CONNECTED && conn->state != BT_CONFIG)
net/bluetooth/hci_event.c
2452
if (conn && (conn->state == BT_CONFIG || conn->state == BT_CONNECTED))
net/bluetooth/hci_event.c
2948
if (conn->state != BT_CONNECTED)
net/bluetooth/hci_event.c
3201
conn->state = BT_CONNECTED;
net/bluetooth/hci_event.c
3511
conn->state = BT_CONNECTED;
net/bluetooth/hci_event.c
3629
if (ev->status && conn->state == BT_CONNECTED) {
net/bluetooth/hci_event.c
3747
conn->state = BT_CONNECTED;
net/bluetooth/hci_event.c
4598
if (conn->state == BT_CONNECTED) {
net/bluetooth/hci_event.c
4986
conn->state = BT_CONNECTED;
net/bluetooth/hci_event.c
5058
conn->state = BT_CONNECTED;
net/bluetooth/hci_event.c
5207
if (ev->status && conn->state == BT_CONNECTED) {
net/bluetooth/hci_event.c
5215
conn->state = BT_CONNECTED;
net/bluetooth/hci_event.c
5852
conn->state = BT_CONNECTED;
net/bluetooth/hci_event.c
6681
conn->state = BT_CONNECTED;
net/bluetooth/hci_event.c
6785
if (!hcon || hcon->state != BT_CONNECTED) {
net/bluetooth/hci_event.c
6988
conn->state = BT_CONNECTED;
net/bluetooth/hci_event.c
7133
conn->state = BT_CONNECTED;
net/bluetooth/hci_event.c
7214
bis->state = BT_CONNECTED;
net/bluetooth/hci_event.c
7254
BT_CONNECTED,
net/bluetooth/hci_event.c
7355
conn->state = BT_CONNECTED;
net/bluetooth/hci_sync.c
3571
if (conn->state != BT_CONNECTED && conn->state != BT_CONFIG)
net/bluetooth/hci_sync.c
5876
case BT_CONNECTED:
net/bluetooth/hci_sync.c
6911
link->state != BT_CONNECTED) {
net/bluetooth/hidp/core.c
1255
if (ctrl_sk->sk_state != BT_CONNECTED ||
net/bluetooth/hidp/core.c
1256
intr_sk->sk_state != BT_CONNECTED)
net/bluetooth/hidp/core.c
1380
if (ctrl->sk.sk_state != BT_CONNECTED ||
net/bluetooth/hidp/core.c
1381
intr->sk.sk_state != BT_CONNECTED)
net/bluetooth/hidp/core.c
76
ci->state = BT_CONNECTED;
net/bluetooth/iso.c
1205
if ((sk->sk_state == BT_CONNECT2 || sk->sk_state == BT_CONNECTED) &&
net/bluetooth/iso.c
1288
err = bt_sock_wait_state(sk, BT_CONNECTED,
net/bluetooth/iso.c
1519
sk->sk_state = BT_CONNECTED;
net/bluetooth/iso.c
1593
if (sk->sk_state != BT_CONNECTED) {
net/bluetooth/iso.c
1635
if (sk->sk_state == BT_CONNECTED)
net/bluetooth/iso.c
1746
case BT_CONNECTED:
net/bluetooth/iso.c
1924
sk->sk_state != BT_CONNECTED)) {
net/bluetooth/iso.c
1985
if (sk->sk_state == BT_CONNECTED) {
net/bluetooth/iso.c
2014
if (sk->sk_state == BT_CONNECTED &&
net/bluetooth/iso.c
2129
sk->sk_state = BT_CONNECTED;
net/bluetooth/iso.c
2326
sk->sk_state = BT_CONNECTED;
net/bluetooth/iso.c
2428
sk = iso_get_sock(hdev, &hdev->bdaddr, bdaddr, BT_CONNECTED,
net/bluetooth/iso.c
474
if (hcon->state == BT_CONNECTED) {
net/bluetooth/iso.c
476
sk->sk_state = BT_CONNECTED;
net/bluetooth/iso.c
579
if (hcon->state == BT_CONNECTED) {
net/bluetooth/iso.c
581
sk->sk_state = BT_CONNECTED;
net/bluetooth/iso.c
599
if (sk->sk_state == BT_CONNECTED || sk->sk_state == BT_CONNECT2)
net/bluetooth/iso.c
626
if (sk->sk_state == BT_CONNECTED) {
net/bluetooth/iso.c
649
if (sk->sk_state != BT_CONNECTED)
net/bluetooth/iso.c
786
if (sk->sk_state != BT_CONNECTED &&
net/bluetooth/iso.c
919
case BT_CONNECTED:
net/bluetooth/l2cap_core.c
1291
if (chan->state == BT_CONNECTED)
net/bluetooth/l2cap_core.c
1306
chan->state = BT_CONNECTED;
net/bluetooth/l2cap_core.c
1532
if (chan->mode == L2CAP_MODE_ERTM && chan->state == BT_CONNECTED) {
net/bluetooth/l2cap_core.c
2003
if (chan->state != BT_CONNECTED)
net/bluetooth/l2cap_core.c
2615
if (chan->state != BT_CONNECTED) {
net/bluetooth/l2cap_core.c
3870
case BT_CONNECTED:
net/bluetooth/l2cap_core.c
425
if (chan->state == BT_CONNECTED || chan->state == BT_CONFIG)
net/bluetooth/l2cap_core.c
4368
chan->state != BT_CONNECTED) {
net/bluetooth/l2cap_core.c
4416
if (chan->state != BT_CONNECTED) {
net/bluetooth/l2cap_core.c
5347
chan->state == BT_CONNECTED)
net/bluetooth/l2cap_core.c
6822
if (chan->state == BT_CONNECTED)
net/bluetooth/l2cap_core.c
6991
if (chan->state != BT_CONNECTED)
net/bluetooth/l2cap_core.c
7053
if (chan->state != BT_BOUND && chan->state != BT_CONNECTED)
net/bluetooth/l2cap_core.c
7083
if (hcon->state != BT_CONNECTED) {
net/bluetooth/l2cap_core.c
7305
case BT_CONNECTED:
net/bluetooth/l2cap_core.c
7407
if (hcon->state == BT_CONNECTED) {
net/bluetooth/l2cap_core.c
7411
l2cap_state_change(chan, BT_CONNECTED);
net/bluetooth/l2cap_core.c
7647
if (!status && (chan->state == BT_CONNECTED ||
net/bluetooth/l2cap_core.c
849
case BT_CONNECTED:
net/bluetooth/l2cap_sock.c
1049
if (sk->sk_state == BT_CONNECTED) {
net/bluetooth/l2cap_sock.c
1068
sk->sk_state == BT_CONNECTED) {
net/bluetooth/l2cap_sock.c
1078
sk->sk_state == BT_CONNECTED)
net/bluetooth/l2cap_sock.c
1086
if (sk->sk_state != BT_CONNECTED) {
net/bluetooth/l2cap_sock.c
1162
if (sk->sk_state != BT_CONNECTED)
net/bluetooth/l2cap_sock.c
1230
sk->sk_state = BT_CONNECTED;
net/bluetooth/l2cap_sock.c
1231
pi->chan->state = BT_CONNECTED;
net/bluetooth/l2cap_sock.c
1234
sk->sk_state = BT_CONNECTED;
net/bluetooth/l2cap_sock.c
1235
pi->chan->state = BT_CONNECTED;
net/bluetooth/l2cap_sock.c
1360
chan->state == BT_CONNECTED);
net/bluetooth/l2cap_sock.c
1405
chan->state == BT_CONNECTED) {
net/bluetooth/l2cap_sock.c
1757
if (chan->state != BT_CONNECTED) {
net/bluetooth/l2cap_sock.c
1783
sk->sk_state = BT_CONNECTED;
net/bluetooth/l2cap_sock.c
1813
sk->sk_state = BT_CONNECTED;
net/bluetooth/l2cap_sock.c
1814
chan->state = BT_CONNECTED;
net/bluetooth/l2cap_sock.c
263
err = bt_sock_wait_state(sk, BT_CONNECTED,
net/bluetooth/l2cap_sock.c
398
if (peer && sk->sk_state != BT_CONNECTED &&
net/bluetooth/l2cap_sock.c
533
if (sk->sk_state != BT_CONNECTED &&
net/bluetooth/l2cap_sock.c
596
if (sk->sk_state == BT_CONNECTED)
net/bluetooth/l2cap_sock.c
657
if (sk->sk_state != BT_CONNECTED) {
net/bluetooth/l2cap_sock.c
681
if (sk->sk_state != BT_CONNECTED) {
net/bluetooth/l2cap_sock.c
761
if (sk->sk_state == BT_CONNECTED) {
net/bluetooth/l2cap_sock.c
960
sk->sk_state == BT_CONNECTED) {
net/bluetooth/mgmt.c
3776
if ((conn->state == BT_CONNECTED || conn->state == BT_CONFIG) &&
net/bluetooth/mgmt.c
5206
if (conn->state != BT_CONNECTED)
net/bluetooth/mgmt.c
7477
if (!conn || conn->state != BT_CONNECTED) {
net/bluetooth/mgmt.c
7539
if (!conn || conn->state != BT_CONNECTED) {
net/bluetooth/mgmt.c
7643
if (!conn || conn->state != BT_CONNECTED) {
net/bluetooth/mgmt.c
7689
if (!conn || conn->state != BT_CONNECTED) {
net/bluetooth/rfcomm/core.c
1235
d->state = BT_CONNECTED;
net/bluetooth/rfcomm/core.c
1258
s->state = BT_CONNECTED;
net/bluetooth/rfcomm/core.c
1346
d->state = BT_CONNECTED;
net/bluetooth/rfcomm/core.c
1386
s->state = BT_CONNECTED;
net/bluetooth/rfcomm/core.c
1773
if (skb->len && d->state == BT_CONNECTED) {
net/bluetooth/rfcomm/core.c
1980
if ((d->state == BT_CONNECTED || d->state == BT_DISCONN) &&
net/bluetooth/rfcomm/core.c
2052
case BT_CONNECTED:
net/bluetooth/rfcomm/core.c
2211
if (d->state == BT_CONNECTED && !status && encrypt == 0x00) {
net/bluetooth/rfcomm/core.c
410
if (s->state == BT_CONNECTED) {
net/bluetooth/rfcomm/core.c
471
case BT_CONNECTED:
net/bluetooth/rfcomm/core.c
574
if (d->state != BT_CONNECTED)
net/bluetooth/rfcomm/core.c
618
if (d->state == BT_CONNECTED &&
net/bluetooth/rfcomm/sock.c
229
case BT_CONNECTED:
net/bluetooth/rfcomm/sock.c
424
err = bt_sock_wait_state(sk, BT_CONNECTED,
net/bluetooth/rfcomm/sock.c
555
if (peer && sk->sk_state != BT_CONNECTED &&
net/bluetooth/rfcomm/sock.c
790
if (sk->sk_state != BT_CONNECTED &&
net/bluetooth/rfcomm/sock.c
86
if (d->state == BT_CONNECTED)
net/bluetooth/rfcomm/tty.c
123
return (dev->dlc->state == BT_CONNECTED);
net/bluetooth/rfcomm/tty.c
404
if (sk->sk_state != BT_CONNECTED)
net/bluetooth/rfcomm/tty.c
623
if (dlc->state == BT_CONNECTED) {
net/bluetooth/sco.c
1123
if (sk->sk_state != BT_CONNECTED &&
net/bluetooth/sco.c
1141
if (sk->sk_state != BT_CONNECTED &&
net/bluetooth/sco.c
1215
if (sk->sk_state != BT_CONNECTED) {
net/bluetooth/sco.c
1236
if (sk->sk_state != BT_CONNECTED) {
net/bluetooth/sco.c
1424
sk->sk_state = BT_CONNECTED;
net/bluetooth/sco.c
1464
sk->sk_state = BT_CONNECTED;
net/bluetooth/sco.c
388
if (hcon->state == BT_CONNECTED) {
net/bluetooth/sco.c
390
sk->sk_state = BT_CONNECTED;
net/bluetooth/sco.c
435
if (sk->sk_state != BT_CONNECTED)
net/bluetooth/sco.c
559
case BT_CONNECTED:
net/bluetooth/sco.c
725
err = bt_sock_wait_state(sk, BT_CONNECTED,
net/bluetooth/sco.c
881
if (sk->sk_state == BT_CONNECTED)