Home
last modified time | relevance | path

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

/linux-6.1.9/net/bluetooth/
Dsco.c267 bacpy(&sco_pi(sk)->src, &hcon->src); in sco_connect()
555 bacpy(&sco_pi(sk)->src, &sa->sco_bdaddr); in sco_sock_bind()
596 bacpy(&sco_pi(sk)->dst, &sa->sco_bdaddr); in sco_sock_connect()
718 bacpy(&sa->sco_bdaddr, &sco_pi(sk)->dst); in sco_sock_getname()
720 bacpy(&sa->sco_bdaddr, &sco_pi(sk)->src); in sco_sock_getname()
770 bacpy(&cp.bdaddr, &conn->dst); in sco_conn_defer_accept()
777 bacpy(&cp.bdaddr, &conn->dst); in sco_conn_defer_accept()
1307 bacpy(&sco_pi(sk)->src, &conn->hcon->src); in sco_conn_ready()
1308 bacpy(&sco_pi(sk)->dst, &conn->hcon->dst); in sco_conn_ready()
Dhci_event.c948 bacpy(&hdev->bdaddr, &rp->bdaddr); in hci_cc_read_bd_addr()
951 bacpy(&hdev->setup_addr, &rp->bdaddr); in hci_cc_read_bd_addr()
1385 bacpy(&hdev->random_addr, sent); in hci_cc_le_set_random_addr()
1447 bacpy(&adv->random_addr, &cp->bdaddr); in hci_cc_le_set_adv_set_random_addr()
1729 bacpy(&d->last_adv_addr, BDADDR_ANY); in clear_pending_adv_report()
1742 bacpy(&d->last_adv_addr, bdaddr); in store_pending_adv_report()
2452 bacpy(&cp.bdaddr, &e->data.bdaddr); in hci_resolve_name()
2873 bacpy(&conn->init_addr, &hdev->random_addr); in cs_le_create_conn()
2875 bacpy(&conn->init_addr, &hdev->bdaddr); in cs_le_create_conn()
2878 bacpy(&conn->resp_addr, peer_addr); in cs_le_create_conn()
[all …]
Diso.c298 bacpy(&iso_pi(sk)->src, &hcon->src); in iso_connect_bis()
380 bacpy(&iso_pi(sk)->src, &hcon->src); in iso_connect_cis()
756 bacpy(&iso_pi(sk)->dst, &sa->iso_bc->bc_bdaddr); in iso_sock_bind_bc()
805 bacpy(&iso_pi(sk)->src, &sa->iso_bdaddr); in iso_sock_bind()
847 bacpy(&iso_pi(sk)->dst, &sa->iso_bdaddr); in iso_sock_connect()
1025 bacpy(&sa->iso_bdaddr, &iso_pi(sk)->dst); in iso_sock_getname()
1028 bacpy(&sa->iso_bdaddr, &iso_pi(sk)->src); in iso_sock_getname()
1466 bacpy(&iso_pi(sk)->src, &hcon->src); in iso_conn_ready()
1474 bacpy(&hcon->dst, &iso_pi(parent)->dst); in iso_conn_ready()
1479 bacpy(&iso_pi(sk)->dst, &hcon->dst); in iso_conn_ready()
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()
Dhci_sync.c1013 bacpy(&cp.bdaddr, random_addr); in hci_set_adv_set_random_addr_sync()
2094 bacpy(&cp.bdaddr, bdaddr); in hci_le_del_resolve_list_sync()
2111 bacpy(&cp.bdaddr, bdaddr); in hci_le_del_accept_list_sync()
2168 bacpy(&cp.bdaddr, &params->addr); in hci_le_add_resolve_list_sync()
2208 bacpy(&cp.bdaddr, &irk->bdaddr); in hci_le_set_privacy_mode_sync()
2264 bacpy(&cp.bdaddr, &params->addr); in hci_le_add_accept_list_sync()
3123 bacpy(&hdev->public_addr, &ba); in hci_dev_get_bd_addr_from_property()
3399 bacpy(&cp.addr_conn_flt.bdaddr, bdaddr); in hci_set_event_filter_sync()
3740 bacpy(&cp.bdaddr, BDADDR_ANY); in hci_read_stored_link_key_sync()
4183 bacpy(&cp.bdaddr, BDADDR_ANY); in hci_delete_stored_link_key_sync()
[all …]
Dmgmt.c1145 bacpy(&rp.bdaddr, &hdev->bdaddr); in read_controller_info()
1201 bacpy(&rp->bdaddr, &hdev->bdaddr); in read_ext_controller_info()
2926 bacpy(&ev.addr.bdaddr, bdaddr); in device_unpaired()
2976 bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); in unpair_device()
3105 bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); in disconnect()
3212 bacpy(&rp->addr[i].bdaddr, &c->dst); in get_connections()
3302 bacpy(&reply.bdaddr, &cp->addr.bdaddr); in pin_code_reply()
3362 bacpy(&rp.addr.bdaddr, &conn->dst); in pairing_complete()
3445 bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); in pair_device()
3689 bacpy(&cp.bdaddr, &addr->bdaddr); in user_pairing_resp()
[all …]
Dhci_conn.c246 bacpy(&cp.bdaddr, &conn->dst); in hci_acl_create_connection()
968 bacpy(&conn->dst, dst); in hci_conn_add()
969 bacpy(&conn->src, &hdev->bdaddr); in hci_conn_add()
1139 bacpy(&id_addr, &d->bdaddr); in hci_get_route()
1316 bacpy(&conn->dst, dst); in hci_connect_le()
2074 bacpy(&cp->addr, dst); in hci_pa_create_sync()
2401 bacpy(&cp.bdaddr, &conn->dst); in hci_conn_switch_role()
2519 bacpy(&(ci + n)->bdaddr, &c->dst); in hci_get_conn_list()
2555 bacpy(&ci.bdaddr, &conn->dst); in hci_get_conn_info()
2824 bacpy(&rej.bdaddr, &conn->dst); in hci_abort_conn()
[all …]
Dhci_core.c337 bacpy(&info->bdaddr, &data->bdaddr); in inquiry_cache_dump()
1250 bacpy(&irk->rpa, rpa); in hci_find_irk_by_rpa()
1333 bacpy(&key->bdaddr, bdaddr); in hci_add_link_key()
1366 bacpy(&key->bdaddr, bdaddr); in hci_add_ltk()
1389 bacpy(&irk->bdaddr, bdaddr); in hci_add_irk()
1396 bacpy(&irk->rpa, rpa); in hci_add_irk()
1582 bacpy(&data->bdaddr, bdaddr); in hci_add_remote_oob_data()
2116 bacpy(&entry->bdaddr, bdaddr); in hci_bdaddr_list_add()
2139 bacpy(&entry->bdaddr, bdaddr); in hci_bdaddr_list_add_with_irk()
2168 bacpy(&entry->bdaddr, bdaddr); in hci_bdaddr_list_add_with_flags()
[all …]
Dsmp.c1068 bacpy(&hcon->dst, &smp->remote_irk->bdaddr); in smp_notify_keys()
1076 bacpy(&smp->csrk->bdaddr, &hcon->dst); in smp_notify_keys()
1082 bacpy(&smp->responder_csrk->bdaddr, &hcon->dst); in smp_notify_keys()
1088 bacpy(&smp->ltk->bdaddr, &hcon->dst); in smp_notify_keys()
1094 bacpy(&smp->responder_ltk->bdaddr, &hcon->dst); in smp_notify_keys()
1323 bacpy(&addrinfo.bdaddr, &hcon->src); in smp_distribute_keys()
2633 bacpy(&smp->id_addr, &info->bdaddr); in smp_cmd_ident_addr_info()
2637 bacpy(&rpa, &hcon->dst); in smp_cmd_ident_addr_info()
2639 bacpy(&rpa, BDADDR_ANY); in smp_cmd_ident_addr_info()
3340 bacpy(&chan->src, &hdev->bdaddr); in smp_add_cid()
Dl2cap_sock.c131 bacpy(&chan->src, &la.l2_bdaddr); in l2cap_sock_bind()
422 bacpy(&la->l2_bdaddr, &chan->dst); in l2cap_sock_getname()
426 bacpy(&la->l2_bdaddr, &chan->src); in l2cap_sock_getname()
1768 bacpy(&la->l2_bdaddr, &bt_cb(skb)->l2cap.bdaddr); in l2cap_skb_msg_name()
Dl2cap_core.c745 bacpy(&chan->dst, &hcon->dst); in l2cap_conn_update_id_addr()
4172 bacpy(&chan->src, &conn->hcon->src); in l2cap_connect()
4173 bacpy(&chan->dst, &conn->hcon->dst); in l2cap_connect()
5870 bacpy(&chan->src, &conn->hcon->src); in l2cap_le_connect_req()
5871 bacpy(&chan->dst, &conn->hcon->dst); in l2cap_le_connect_req()
6080 bacpy(&chan->src, &conn->hcon->src); in l2cap_ecred_conn_req()
6081 bacpy(&chan->dst, &conn->hcon->dst); in l2cap_ecred_conn_req()
7731 bacpy(&bt_cb(skb)->l2cap.bdaddr, &hcon->dst); in l2cap_conless_channel()
7996 bacpy(&chan->dst, dst); in l2cap_chan_connect()
8066 bacpy(&chan->src, &hcon->src); in l2cap_chan_connect()
[all …]
Dmsft.c615 bacpy(&dev->bdaddr, bdaddr); in msft_device_found()
Dhci_sock.c441 bacpy(&ni->bdaddr, &hdev->bdaddr); in create_monitor_event()
466 bacpy(&ii->bdaddr, &hdev->bdaddr); in create_monitor_event()
/linux-6.1.9/net/bluetooth/rfcomm/
Dsock.c369 bacpy(&rfcomm_pi(sk)->src, &sa.rc_bdaddr); in rfcomm_sock_bind()
408 bacpy(&rfcomm_pi(sk)->dst, &sa->rc_bdaddr); in rfcomm_sock_connect()
554 bacpy(&sa->rc_bdaddr, &rfcomm_pi(sk)->dst); in rfcomm_sock_getname()
556 bacpy(&sa->rc_bdaddr, &rfcomm_pi(sk)->src); in rfcomm_sock_getname()
974 bacpy(&rfcomm_pi(sk)->src, &src); in rfcomm_connect_ind()
975 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.c775 bacpy(&addr.l2_bdaddr, src); in rfcomm_session_create()
802 bacpy(&addr.l2_bdaddr, dst); in rfcomm_session_create()
822 bacpy(src, &chan->src); in rfcomm_session_getaddr()
824 bacpy(dst, &chan->dst); in rfcomm_session_getaddr()
2061 bacpy(&addr.l2_bdaddr, ba); in rfcomm_add_listener()
/linux-6.1.9/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.1.9/include/net/bluetooth/
Dbluetooth.h349 static inline void bacpy(bdaddr_t *dst, const bdaddr_t *src) in bacpy() function
/linux-6.1.9/net/bluetooth/hidp/
Dcore.c76 bacpy(&ci->bdaddr, &session->bdaddr); in hidp_copy_session()
935 bacpy(&session->bdaddr, bdaddr); in hidp_session_new()
/linux-6.1.9/drivers/bluetooth/
Dhci_ll.c733 bacpy(&lldev->bdaddr, BDADDR_NONE); in hci_ti_probe()