/linux-6.6.21/net/bluetooth/ |
D | l2cap_sock.c | 263 err = bt_sock_wait_state(sk, BT_CONNECTED, in l2cap_sock_connect() 393 if (peer && sk->sk_state != BT_CONNECTED && in l2cap_sock_getname() 527 if (sk->sk_state != BT_CONNECTED && in l2cap_sock_getsockopt_old() 589 if (sk->sk_state == BT_CONNECTED) in l2cap_sock_getsockopt() 646 if (sk->sk_state != BT_CONNECTED) { in l2cap_sock_getsockopt() 666 if (sk->sk_state != BT_CONNECTED) { in l2cap_sock_getsockopt() 743 if (sk->sk_state == BT_CONNECTED) { in l2cap_sock_setsockopt_old() 946 sk->sk_state == BT_CONNECTED) { in l2cap_sock_setsockopt() 1043 if (sk->sk_state == BT_CONNECTED && in l2cap_sock_setsockopt() 1068 sk->sk_state == BT_CONNECTED) { in l2cap_sock_setsockopt() [all …]
|
D | sco.c | 291 if (hcon->state == BT_CONNECTED) { in sco_connect() 293 sk->sk_state = BT_CONNECTED; in sco_connect() 336 if (sk->sk_state != BT_CONNECTED) in sco_recv_frame() 438 case BT_CONNECTED: in __sco_sock_close() 597 err = bt_sock_wait_state(sk, BT_CONNECTED, in sco_sock_connect() 739 if (sk->sk_state == BT_CONNECTED) in sco_sock_sendmsg() 980 if (sk->sk_state != BT_CONNECTED && in sco_sock_getsockopt_old() 998 if (sk->sk_state != BT_CONNECTED && in sco_sock_getsockopt_old() 1072 if (sk->sk_state != BT_CONNECTED) { in sco_sock_getsockopt() 1091 if (sk->sk_state != BT_CONNECTED) { in sco_sock_getsockopt() [all …]
|
D | iso.c | 373 if (hcon->state == BT_CONNECTED) { in iso_connect_bis() 375 sk->sk_state = BT_CONNECTED; in iso_connect_bis() 463 if (hcon->state == BT_CONNECTED) { in iso_connect_cis() 465 sk->sk_state = BT_CONNECTED; in iso_connect_cis() 484 if (sk->sk_state == BT_CONNECTED || sk->sk_state == BT_CONNECT2) in iso_sock_get_qos() 510 if (sk->sk_state == BT_CONNECTED) in iso_send_frame() 531 if (sk->sk_state != BT_CONNECTED) in iso_recv_frame() 692 case BT_CONNECTED: in __iso_sock_close() 938 err = bt_sock_wait_state(sk, BT_CONNECTED, in iso_sock_connect() 1133 if (sk->sk_state != BT_CONNECTED) { in iso_sock_sendmsg() [all …]
|
D | hci_conn.c | 250 (conn->state == BT_CONNECTED || conn->state == BT_CONFIG)) { in hci_disconnect() 925 hci_conn_hash_list_state(hdev, find_cis, ISO_LINK, BT_CONNECTED, &d); in cis_cleanup() 1066 if (conn->state != BT_CONNECTED && in hci_conn_cleanup_child() 1420 if (conn->state != BT_CONNECTED) in is_connected() 1724 if (acl->state == BT_CONNECTED && in hci_connect_sco() 1850 BT_CONNECTED, &data); in hci_le_set_cig_params() 1908 if (cis->state == BT_CONNECTED) in hci_bind_cis() 1994 if (!conn->parent || conn->parent->state != BT_CONNECTED || in hci_conn_check_create_cis() 2733 chan->state = BT_CONNECTED; in hci_chan_create()
|
D | l2cap_core.c | 444 if (chan->state == BT_CONNECTED || chan->state == BT_CONFIG) in l2cap_chan_timeout() 826 case BT_CONNECTED: in l2cap_chan_close() 1365 if (chan->state == BT_CONNECTED) in l2cap_chan_ready() 1380 chan->state = BT_CONNECTED; in l2cap_chan_ready() 1608 if (chan->mode == L2CAP_MODE_ERTM && chan->state == BT_CONNECTED) { in l2cap_send_disconn_req() 2109 if (chan->state != BT_CONNECTED) in l2cap_ertm_send() 2697 if (chan->state != BT_CONNECTED) { in l2cap_chan_send() 3949 case BT_CONNECTED: in l2cap_ecred_list_defer() 4444 chan->state != BT_CONNECTED) { in l2cap_config_req() 5005 if (chan->state != BT_CONNECTED) { in l2cap_logical_fail() [all …]
|
D | af_bluetooth.c | 281 if (sk->sk_state == BT_CONNECTED || !newsock || in bt_accept_dequeue() 499 if (sk->sk_state == BT_CONNECTED || in bt_accept_poll()
|
D | hci_event.c | 2530 (conn->state == BT_CONFIG || conn->state == BT_CONNECTED) && in hci_check_pending_name() 3000 if (conn->state != BT_CONNECTED) in hci_cs_le_start_enc() 3215 conn->state = BT_CONNECTED; in hci_conn_complete_evt() 3522 conn->state = BT_CONNECTED; in hci_auth_complete_evt() 3642 if (ev->status && conn->state == BT_CONNECTED) { in hci_encrypt_change_evt() 3769 conn->state = BT_CONNECTED; in hci_remote_features_evt() 4630 if (conn->state == BT_CONNECTED) { in hci_pin_code_request_evt() 5017 conn->state = BT_CONNECTED; in hci_remote_ext_features_evt() 5088 conn->state = BT_CONNECTED; in hci_sync_conn_complete_evt() 5237 if (ev->status && conn->state == BT_CONNECTED) { in hci_key_refresh_complete_evt() [all …]
|
D | amp.c | 576 if (hcon->state != BT_CONNECTED) { in amp_disconnect_logical_link()
|
D | a2mp.c | 813 chan->state = BT_CONNECTED; in a2mp_chan_open()
|
D | hci_core.c | 3392 if (c->state != BT_CONNECTED && c->state != BT_CONFIG) in hci_low_sent() 3459 if (conn->state != BT_CONNECTED && conn->state != BT_CONFIG) in hci_chan_sent() 3519 if (conn->state != BT_CONNECTED && conn->state != BT_CONFIG) in hci_prio_recalculate()
|
D | mgmt.c | 3577 if ((conn->state == BT_CONNECTED || conn->state == BT_CONFIG) && in pair_device() 7326 if (!conn || conn->state != BT_CONNECTED) in get_conn_info_sync() 7384 if (!conn || conn->state != BT_CONNECTED) { in get_conn_info() 7483 if (!conn || conn->state != BT_CONNECTED) in get_clock_info_sync() 7525 if (!conn || conn->state != BT_CONNECTED) { in get_clock_info() 7568 if (conn->state != BT_CONNECTED) in is_connected()
|
D | hci_sync.c | 3134 if (conn->state != BT_CONNECTED && conn->state != BT_CONFIG) in disconnected_accept_list_entries() 5381 case BT_CONNECTED: in hci_abort_conn_sync() 6410 link->state != BT_CONNECTED) { in hci_le_create_cis_sync()
|
/linux-6.6.21/net/bluetooth/cmtp/ |
D | capi.c | 207 application->state = BT_CONNECTED; in cmtp_recv_interopmsg() 244 session->state = BT_CONNECTED; in cmtp_recv_interopmsg() 429 if (application->state == BT_CONNECTED) in cmtp_register_appl() 485 if ((!application) || (application->state != BT_CONNECTED)) { in cmtp_send_message()
|
D | core.c | 293 if (sk->sk_state != BT_CONNECTED) in cmtp_session() 351 if (s && s->state == BT_CONNECTED) { in cmtp_add_connection()
|
D | sock.c | 89 if (nsock->sk->sk_state != BT_CONNECTED) { in do_cmtp_sock_ioctl()
|
/linux-6.6.21/net/bluetooth/rfcomm/ |
D | core.c | 413 if (s->state == BT_CONNECTED) { in __rfcomm_dlc_open() 474 case BT_CONNECTED: in __rfcomm_dlc_close() 577 if (d->state != BT_CONNECTED) in rfcomm_dlc_send() 621 if (d->state == BT_CONNECTED && in rfcomm_dlc_send_noerror() 1221 d->state = BT_CONNECTED; in rfcomm_recv_ua() 1244 s->state = BT_CONNECTED; in rfcomm_recv_ua() 1332 d->state = BT_CONNECTED; in rfcomm_dlc_accept() 1372 s->state = BT_CONNECTED; in rfcomm_recv_sabm() 1725 if (skb->len && d->state == BT_CONNECTED) { in rfcomm_recv_data() 1927 if ((d->state == BT_CONNECTED || d->state == BT_DISCONN) && in rfcomm_process_dlcs() [all …]
|
D | sock.c | 88 if (d->state == BT_CONNECTED) in rfcomm_sk_state_change() 219 case BT_CONNECTED: in __rfcomm_sock_close() 413 err = bt_sock_wait_state(sk, BT_CONNECTED, in rfcomm_sock_connect() 539 if (peer && sk->sk_state != BT_CONNECTED && in rfcomm_sock_getname() 777 if (sk->sk_state != BT_CONNECTED && in rfcomm_sock_getsockopt_old()
|
D | tty.c | 126 return (dev->dlc->state == BT_CONNECTED); in rfcomm_dev_carrier_raised() 407 if (sk->sk_state != BT_CONNECTED) in __rfcomm_create_dev() 634 if (dlc->state == BT_CONNECTED) { in rfcomm_dev_state_change()
|
/linux-6.6.21/net/bluetooth/bnep/ |
D | core.c | 503 if (sk->sk_state != BT_CONNECTED) in bnep_session() 586 if (ss && ss->state == BT_CONNECTED) { in bnep_add_connection() 602 s->state = BT_CONNECTED; in bnep_add_connection()
|
D | sock.c | 77 if (nsock->sk->sk_state != BT_CONNECTED) { in do_bnep_sock_ioctl()
|
/linux-6.6.21/net/bluetooth/hidp/ |
D | core.c | 79 ci->state = BT_CONNECTED; in hidp_copy_session() 1207 if (ctrl_sk->sk_state != BT_CONNECTED || in hidp_session_run() 1208 intr_sk->sk_state != BT_CONNECTED) in hidp_session_run() 1331 if (ctrl->sk.sk_state != BT_CONNECTED || in hidp_verify_sockets() 1332 intr->sk.sk_state != BT_CONNECTED) in hidp_verify_sockets()
|
/linux-6.6.21/include/net/bluetooth/ |
D | bluetooth.h | 287 BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */ enumerator 302 case BT_CONNECTED: in state_to_string()
|
D | hci_core.h | 1561 if (conn->state == BT_CONNECTED) { in hci_conn_drop() 2017 conn->state = BT_CONNECTED; in hci_encrypt_cfm()
|