Home
last modified time | relevance | path

Searched refs:bacpy (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/net/bluetooth/
Dsco.c289 bacpy(&sco_pi(sk)->src, &hcon->src); in sco_connect()
559 bacpy(&sco_pi(sk)->src, &sa->sco_bdaddr); in sco_sock_bind()
588 bacpy(&sco_pi(sk)->dst, &sa->sco_bdaddr); in sco_sock_connect()
710 bacpy(&sa->sco_bdaddr, &sco_pi(sk)->dst); in sco_sock_getname()
712 bacpy(&sa->sco_bdaddr, &sco_pi(sk)->src); in sco_sock_getname()
762 bacpy(&cp.bdaddr, &conn->dst); in sco_conn_defer_accept()
769 bacpy(&cp.bdaddr, &conn->dst); in sco_conn_defer_accept()
1299 bacpy(&sco_pi(sk)->src, &conn->hcon->src); in sco_conn_ready()
1300 bacpy(&sco_pi(sk)->dst, &conn->hcon->dst); in sco_conn_ready()
Dhci_event.c977 bacpy(&hdev->bdaddr, &rp->bdaddr); in hci_cc_read_bd_addr()
980 bacpy(&hdev->setup_addr, &rp->bdaddr); in hci_cc_read_bd_addr()
1414 bacpy(&hdev->random_addr, sent); in hci_cc_le_set_random_addr()
1476 bacpy(&adv->random_addr, &cp->bdaddr); in hci_cc_le_set_adv_set_random_addr()
1758 bacpy(&d->last_adv_addr, BDADDR_ANY); in clear_pending_adv_report()
1771 bacpy(&d->last_adv_addr, bdaddr); in store_pending_adv_report()
2484 bacpy(&cp.bdaddr, &e->data.bdaddr); in hci_resolve_name()
2895 bacpy(&conn->init_addr, &hdev->random_addr); in cs_le_create_conn()
2897 bacpy(&conn->init_addr, &hdev->bdaddr); in cs_le_create_conn()
2900 bacpy(&conn->resp_addr, peer_addr); in cs_le_create_conn()
[all …]
Dhci_request.c366 bacpy(&cp.bdaddr, bdaddr); in del_from_accept_list()
380 bacpy(&cp.bdaddr, bdaddr); in del_from_accept_list()
419 bacpy(&cp.bdaddr, &params->addr); in add_to_accept_list()
434 bacpy(&cp.bdaddr, &params->addr); in add_to_accept_list()
Diso.c371 bacpy(&iso_pi(sk)->src, &hcon->src); in iso_connect_bis()
461 bacpy(&iso_pi(sk)->src, &hcon->src); in iso_connect_cis()
831 bacpy(&iso_pi(sk)->dst, &sa->iso_bc->bc_bdaddr); in iso_sock_bind_bc()
880 bacpy(&iso_pi(sk)->src, &sa->iso_bdaddr); in iso_sock_bind()
922 bacpy(&iso_pi(sk)->dst, &sa->iso_bdaddr); in iso_sock_connect()
1104 bacpy(&sa->iso_bdaddr, &iso_pi(sk)->dst); in iso_sock_getname()
1107 bacpy(&sa->iso_bdaddr, &iso_pi(sk)->src); in iso_sock_getname()
1675 bacpy(&iso_pi(sk)->src, &hcon->src); in iso_conn_ready()
1689 bacpy(&hcon->dst, &iso_pi(parent)->dst); in iso_conn_ready()
1703 bacpy(&iso_pi(sk)->dst, &hcon->dst); in iso_conn_ready()
Dhci_sync.c1041 bacpy(&cp.bdaddr, random_addr); in hci_set_adv_set_random_addr_sync()
2123 bacpy(&cp.bdaddr, bdaddr); in hci_le_del_resolve_list_sync()
2140 bacpy(&cp.bdaddr, bdaddr); in hci_le_del_accept_list_sync()
2205 bacpy(&cp.bdaddr, &params->addr); in hci_le_add_resolve_list_sync()
2255 bacpy(&cp.bdaddr, &irk->bdaddr); in hci_le_set_privacy_mode_sync()
2316 bacpy(&cp.bdaddr, &params->addr); in hci_le_add_accept_list_sync()
2503 bacpy(&p[i].addr, &params->addr); in conn_params_copy()
3286 bacpy(&hdev->public_addr, &ba); in hci_dev_get_bd_addr_from_property()
3564 bacpy(&cp.addr_conn_flt.bdaddr, bdaddr); in hci_set_event_filter_sync()
3907 bacpy(&cp.bdaddr, BDADDR_ANY); in hci_read_stored_link_key_sync()
[all …]
Dmgmt.c1163 bacpy(&rp.bdaddr, &hdev->bdaddr); in read_controller_info()
1219 bacpy(&rp->bdaddr, &hdev->bdaddr); in read_ext_controller_info()
2953 bacpy(&ev.addr.bdaddr, bdaddr); in device_unpaired()
3003 bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); in unpair_device()
3132 bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); in disconnect()
3239 bacpy(&rp->addr[i].bdaddr, &c->dst); in get_connections()
3329 bacpy(&reply.bdaddr, &cp->addr.bdaddr); in pin_code_reply()
3389 bacpy(&rp.addr.bdaddr, &conn->dst); in pairing_complete()
3472 bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); in pair_device()
3703 bacpy(&cp.bdaddr, &addr->bdaddr); in user_pairing_resp()
[all …]
Dhci_core.c337 bacpy(&info->bdaddr, &data->bdaddr); in inquiry_cache_dump()
1251 bacpy(&irk->rpa, rpa); in hci_find_irk_by_rpa()
1334 bacpy(&key->bdaddr, bdaddr); in hci_add_link_key()
1367 bacpy(&key->bdaddr, bdaddr); in hci_add_ltk()
1390 bacpy(&irk->bdaddr, bdaddr); in hci_add_irk()
1397 bacpy(&irk->rpa, rpa); in hci_add_irk()
1583 bacpy(&data->bdaddr, bdaddr); in hci_add_remote_oob_data()
2119 bacpy(&entry->bdaddr, bdaddr); in hci_bdaddr_list_add()
2142 bacpy(&entry->bdaddr, bdaddr); in hci_bdaddr_list_add_with_irk()
2171 bacpy(&entry->bdaddr, bdaddr); in hci_bdaddr_list_add_with_flags()
[all …]
Dhci_conn.c216 bacpy(&cp.bdaddr, &conn->dst); in hci_acl_create_connection()
949 bacpy(&conn->dst, dst); in hci_conn_add()
950 bacpy(&conn->src, &hdev->bdaddr); in hci_conn_add()
1189 bacpy(&id_addr, &d->bdaddr); in hci_get_route()
1388 bacpy(&conn->dst, dst); in hci_connect_le()
2129 bacpy(&cp->addr, dst); in hci_pa_create_sync()
2521 bacpy(&cp.bdaddr, &conn->dst); in hci_conn_switch_role()
2644 bacpy(&(ci + n)->bdaddr, &c->dst); in hci_get_conn_list()
2680 bacpy(&ci.bdaddr, &conn->dst); in hci_get_conn_info()
Dsmp.c1071 bacpy(&hcon->dst, &smp->remote_irk->bdaddr); in smp_notify_keys()
1085 bacpy(&smp->csrk->bdaddr, &hcon->dst); in smp_notify_keys()
1092 bacpy(&smp->responder_csrk->bdaddr, &hcon->dst); in smp_notify_keys()
1099 bacpy(&smp->ltk->bdaddr, &hcon->dst); in smp_notify_keys()
1106 bacpy(&smp->responder_ltk->bdaddr, &hcon->dst); in smp_notify_keys()
1337 bacpy(&addrinfo.bdaddr, &hcon->src); in smp_distribute_keys()
2647 bacpy(&smp->id_addr, &info->bdaddr); in smp_cmd_ident_addr_info()
2651 bacpy(&rpa, &hcon->dst); in smp_cmd_ident_addr_info()
2653 bacpy(&rpa, BDADDR_ANY); in smp_cmd_ident_addr_info()
3354 bacpy(&chan->src, &hdev->bdaddr); in smp_add_cid()
Dl2cap_sock.c132 bacpy(&chan->src, &la.l2_bdaddr); in l2cap_sock_bind()
404 bacpy(&la->l2_bdaddr, &chan->dst); in l2cap_sock_getname()
408 bacpy(&la->l2_bdaddr, &chan->src); in l2cap_sock_getname()
1759 bacpy(&la->l2_bdaddr, &bt_cb(skb)->l2cap.bdaddr); in l2cap_skb_msg_name()
Dmsft.c807 bacpy(&dev->bdaddr, bdaddr); in msft_device_found()
952 bacpy(&address_filter->bdaddr, bdaddr); in msft_add_address_filter()
Dl2cap_core.c756 bacpy(&chan->dst, &hcon->dst); in l2cap_conn_update_id_addr()
4187 bacpy(&chan->src, &conn->hcon->src); in l2cap_connect()
4188 bacpy(&chan->dst, &conn->hcon->dst); in l2cap_connect()
5891 bacpy(&chan->src, &conn->hcon->src); in l2cap_le_connect_req()
5892 bacpy(&chan->dst, &conn->hcon->dst); in l2cap_le_connect_req()
6101 bacpy(&chan->src, &conn->hcon->src); in l2cap_ecred_conn_req()
6102 bacpy(&chan->dst, &conn->hcon->dst); in l2cap_ecred_conn_req()
7768 bacpy(&bt_cb(skb)->l2cap.bdaddr, &hcon->dst); in l2cap_conless_channel()
8033 bacpy(&chan->dst, dst); in l2cap_chan_connect()
8103 bacpy(&chan->src, &hcon->src); in l2cap_chan_connect()
[all …]
Dhci_sock.c490 bacpy(&ni->bdaddr, &hdev->bdaddr); in create_monitor_event()
516 bacpy(&ii->bdaddr, &hdev->bdaddr); in create_monitor_event()
/linux-6.6.21/net/bluetooth/rfcomm/
Dsock.c362 bacpy(&rfcomm_pi(sk)->src, &sa.rc_bdaddr); in rfcomm_sock_bind()
401 bacpy(&rfcomm_pi(sk)->dst, &sa->rc_bdaddr); in rfcomm_sock_connect()
547 bacpy(&sa->rc_bdaddr, &rfcomm_pi(sk)->dst); in rfcomm_sock_getname()
549 bacpy(&sa->rc_bdaddr, &rfcomm_pi(sk)->src); in rfcomm_sock_getname()
967 bacpy(&rfcomm_pi(sk)->src, &src); in rfcomm_connect_ind()
968 bacpy(&rfcomm_pi(sk)->dst, &dst); in rfcomm_connect_ind()
Dtty.c265 bacpy(&dev->src, &req->src); in __rfcomm_dev_add()
266 bacpy(&dev->dst, &req->dst); in __rfcomm_dev_add()
535 bacpy(&(di + n)->src, &dev->src); in rfcomm_get_dev_list()
536 bacpy(&(di + n)->dst, &dev->dst); in rfcomm_get_dev_list()
571 bacpy(&di.src, &dev->src); in rfcomm_get_dev_info()
572 bacpy(&di.dst, &dev->dst); in rfcomm_get_dev_info()
Dcore.c779 bacpy(&addr.l2_bdaddr, src); in rfcomm_session_create()
806 bacpy(&addr.l2_bdaddr, dst); in rfcomm_session_create()
826 bacpy(src, &chan->src); in rfcomm_session_getaddr()
828 bacpy(dst, &chan->dst); in rfcomm_session_getaddr()
2065 bacpy(&addr.l2_bdaddr, ba); in rfcomm_add_listener()
/linux-6.6.21/net/bluetooth/cmtp/
Dcore.c80 bacpy(&ci->bdaddr, &session->bdaddr); in __cmtp_copy_session()
356 bacpy(&session->bdaddr, &l2cap_pi(sock->sk)->chan->dst); in cmtp_add_connection()
/linux-6.6.21/include/net/bluetooth/
Dbluetooth.h366 static inline void bacpy(bdaddr_t *dst, const bdaddr_t *src) in bacpy() function
/linux-6.6.21/net/bluetooth/hidp/
Dcore.c76 bacpy(&ci->bdaddr, &session->bdaddr); in hidp_copy_session()
934 bacpy(&session->bdaddr, bdaddr); in hidp_session_new()
/linux-6.6.21/drivers/bluetooth/
Dhci_ll.c733 bacpy(&lldev->bdaddr, BDADDR_NONE); in hci_ti_probe()