Home
last modified time | relevance | path

Searched refs:BT_CONNECTED (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/net/bluetooth/
Dl2cap_sock.c278 err = bt_sock_wait_state(sk, BT_CONNECTED, in l2cap_sock_connect()
410 if (peer && sk->sk_state != BT_CONNECTED && in l2cap_sock_getname()
544 if (sk->sk_state != BT_CONNECTED && in l2cap_sock_getsockopt_old()
606 if (sk->sk_state == BT_CONNECTED) in l2cap_sock_getsockopt()
663 if (sk->sk_state != BT_CONNECTED) { in l2cap_sock_getsockopt()
683 if (sk->sk_state != BT_CONNECTED) { in l2cap_sock_getsockopt()
760 if (sk->sk_state == BT_CONNECTED) { in l2cap_sock_setsockopt_old()
963 sk->sk_state == BT_CONNECTED) { in l2cap_sock_setsockopt()
1060 if (sk->sk_state == BT_CONNECTED && in l2cap_sock_setsockopt()
1085 sk->sk_state == BT_CONNECTED) { in l2cap_sock_setsockopt()
[all …]
Dsco.c272 if (hcon->state == BT_CONNECTED) { in sco_connect()
274 sk->sk_state = BT_CONNECTED; in sco_connect()
319 if (sk->sk_state != BT_CONNECTED) in sco_recv_frame()
421 case BT_CONNECTED: in __sco_sock_close()
600 err = bt_sock_wait_state(sk, BT_CONNECTED, in sco_sock_connect()
748 if (sk->sk_state == BT_CONNECTED) in sco_sock_sendmsg()
923 if (sk->sk_state != BT_CONNECTED && in sco_sock_getsockopt_old()
941 if (sk->sk_state != BT_CONNECTED && in sco_sock_getsockopt_old()
1010 if (sk->sk_state != BT_CONNECTED) { in sco_sock_getsockopt()
1030 if (sk->sk_state != BT_CONNECTED) { in sco_sock_getsockopt()
[all …]
Dl2cap_core.c428 if (chan->state == BT_CONNECTED || chan->state == BT_CONFIG) in l2cap_chan_timeout()
802 case BT_CONNECTED: in l2cap_chan_close()
1341 if (chan->state == BT_CONNECTED) in l2cap_chan_ready()
1356 chan->state = BT_CONNECTED; in l2cap_chan_ready()
1577 if (chan->mode == L2CAP_MODE_ERTM && chan->state == BT_CONNECTED) { in l2cap_send_disconn_req()
2077 if (chan->state != BT_CONNECTED) in l2cap_ertm_send()
2653 if (chan->state != BT_CONNECTED) { in l2cap_chan_send()
2673 if (chan->state != BT_CONNECTED) { in l2cap_chan_send()
2705 if (chan->state != BT_CONNECTED) { in l2cap_chan_send()
2733 if (chan->state != BT_CONNECTED) { in l2cap_chan_send()
[all …]
Dhci_event.c2034 (conn->state == BT_CONFIG || conn->state == BT_CONNECTED) && in hci_check_pending_name()
2439 if (conn->state != BT_CONNECTED) in hci_cs_le_start_enc()
2625 conn->state = BT_CONNECTED; in hci_conn_complete_evt()
2937 conn->state = BT_CONNECTED; in hci_auth_complete_evt()
3096 if (ev->status && conn->state == BT_CONNECTED) { in hci_encrypt_change_evt()
3226 conn->state = BT_CONNECTED; in hci_remote_features_evt()
3932 if (conn->state == BT_CONNECTED) { in hci_pin_code_request_evt()
4292 conn->state = BT_CONNECTED; in hci_remote_ext_features_evt()
4342 if (conn->state == BT_CONNECTED) { in hci_sync_conn_complete_evt()
4348 conn->state = BT_CONNECTED; in hci_sync_conn_complete_evt()
[all …]
Daf_bluetooth.c234 if (sk->sk_state == BT_CONNECTED || !newsock || in bt_accept_dequeue()
444 if (sk->sk_state == BT_CONNECTED || in bt_accept_poll()
Dhci_conn.c249 (conn->state == BT_CONNECTED || conn->state == BT_CONFIG)) { in hci_disconnect()
1135 if (conn->state != BT_CONNECTED) in is_connected()
1297 if (acl->state == BT_CONNECTED && in hci_connect_sco()
1719 chan->state = BT_CONNECTED; in hci_chan_create()
Damp.c577 if (hcon->state != BT_CONNECTED) { in amp_disconnect_logical_link()
Da2mp.c813 chan->state = BT_CONNECTED; in a2mp_chan_open()
Dhci_request.c2461 if (conn->state != BT_CONNECTED && conn->state != BT_CONFIG) in disconnected_whitelist_entries()
2674 case BT_CONNECTED: in __hci_abort_conn()
Dhci_core.c4279 if (c->state != BT_CONNECTED && c->state != BT_CONFIG) in hci_low_sent()
4363 if (conn->state != BT_CONNECTED && conn->state != BT_CONFIG) in hci_chan_sent()
4442 if (conn->state != BT_CONNECTED && conn->state != BT_CONFIG) in hci_prio_recalculate()
Dmgmt.c3020 if ((conn->state == BT_CONNECTED || conn->state == BT_CONFIG) && in pair_device()
6171 if (!conn || conn->state != BT_CONNECTED) { in get_conn_info()
6359 if (!conn || conn->state != BT_CONNECTED) { in get_clock_info()
6412 if (conn->state != BT_CONNECTED) in is_connected()
/kernel/linux/linux-5.10/net/bluetooth/cmtp/
Dcapi.c207 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()
Dcore.c293 if (sk->sk_state != BT_CONNECTED) in cmtp_session()
351 if (s && s->state == BT_CONNECTED) { in cmtp_add_connection()
Dsock.c89 if (nsock->sk->sk_state != BT_CONNECTED) { in do_cmtp_sock_ioctl()
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/
Dcore.c409 if (s->state == BT_CONNECTED) { in __rfcomm_dlc_open()
470 case BT_CONNECTED: in __rfcomm_dlc_close()
556 if (d->state != BT_CONNECTED) in rfcomm_dlc_send()
581 if (d->state == BT_CONNECTED && in rfcomm_dlc_send_noerror()
1181 d->state = BT_CONNECTED; in rfcomm_recv_ua()
1204 s->state = BT_CONNECTED; in rfcomm_recv_ua()
1292 d->state = BT_CONNECTED; in rfcomm_dlc_accept()
1332 s->state = BT_CONNECTED; in rfcomm_recv_sabm()
1685 if (skb->len && d->state == BT_CONNECTED) { in rfcomm_recv_data()
1887 if ((d->state == BT_CONNECTED || d->state == BT_DISCONN) && in rfcomm_process_dlcs()
[all …]
Dsock.c88 if (d->state == BT_CONNECTED) in rfcomm_sk_state_change()
219 case BT_CONNECTED: in __rfcomm_sock_close()
416 err = bt_sock_wait_state(sk, BT_CONNECTED, in rfcomm_sock_connect()
541 if (peer && sk->sk_state != BT_CONNECTED && in rfcomm_sock_getname()
805 if (sk->sk_state != BT_CONNECTED && in rfcomm_sock_getsockopt_old()
Dtty.c127 return (dev->dlc->state == BT_CONNECTED); in rfcomm_dev_carrier_raised()
406 if (sk->sk_state != BT_CONNECTED) in __rfcomm_create_dev()
633 if (dlc->state == BT_CONNECTED) { in rfcomm_dev_state_change()
/kernel/linux/linux-5.10/include/net/bluetooth/
Dbluetooth.h199 BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */ enumerator
214 case BT_CONNECTED: in state_to_string()
Dhci_core.h1127 if (conn->state == BT_CONNECTED) { in hci_conn_drop()
1479 conn->state = BT_CONNECTED; in hci_encrypt_cfm()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dnet.patch118 if (sk->sk_state == BT_CONNECTED)
135 sk->sk_state = BT_CONNECTED;
/kernel/linux/linux-5.10/net/bluetooth/bnep/
Dcore.c503 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()
Dsock.c76 if (nsock->sk->sk_state != BT_CONNECTED) { in do_bnep_sock_ioctl()
/kernel/linux/linux-5.10/net/bluetooth/hidp/
Dcore.c79 ci->state = BT_CONNECTED; in hidp_copy_session()
1208 if (ctrl_sk->sk_state != BT_CONNECTED || in hidp_session_run()
1209 intr_sk->sk_state != BT_CONNECTED) in hidp_session_run()
1332 if (ctrl->sk.sk_state != BT_CONNECTED || in hidp_verify_sockets()
1333 intr->sk.sk_state != BT_CONNECTED) in hidp_verify_sockets()