/kernel/linux/linux-5.10/net/bluetooth/ |
D | l2cap_sock.c | 278 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 …]
|
D | sco.c | 272 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 …]
|
D | l2cap_core.c | 428 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 …]
|
D | hci_event.c | 2034 (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 …]
|
D | af_bluetooth.c | 234 if (sk->sk_state == BT_CONNECTED || !newsock || in bt_accept_dequeue() 444 if (sk->sk_state == BT_CONNECTED || in bt_accept_poll()
|
D | hci_conn.c | 249 (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()
|
D | amp.c | 577 if (hcon->state != BT_CONNECTED) { in amp_disconnect_logical_link()
|
D | a2mp.c | 813 chan->state = BT_CONNECTED; in a2mp_chan_open()
|
D | hci_request.c | 2461 if (conn->state != BT_CONNECTED && conn->state != BT_CONFIG) in disconnected_whitelist_entries() 2674 case BT_CONNECTED: in __hci_abort_conn()
|
D | hci_core.c | 4279 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()
|
D | mgmt.c | 3020 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/ |
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()
|
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/ |
D | core.c | 409 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 …]
|
D | sock.c | 88 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()
|
D | tty.c | 127 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/ |
D | bluetooth.h | 199 BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */ enumerator 214 case BT_CONNECTED: in state_to_string()
|
D | hci_core.h | 1127 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/ |
D | net.patch | 118 if (sk->sk_state == BT_CONNECTED) 135 sk->sk_state = BT_CONNECTED;
|
/kernel/linux/linux-5.10/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 | 76 if (nsock->sk->sk_state != BT_CONNECTED) { in do_bnep_sock_ioctl()
|
/kernel/linux/linux-5.10/net/bluetooth/hidp/ |
D | core.c | 79 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()
|