/Linux-v5.4/net/bluetooth/ |
D | hci_conn.c | 205 bacpy(&cp.bdaddr, &conn->dst); in hci_acl_create_connection() 505 bacpy(&conn->dst, dst); in hci_conn_add() 506 bacpy(&conn->src, &hdev->bdaddr); in hci_conn_add() 646 bacpy(&id_addr, &d->bdaddr); in hci_get_route() 811 bacpy(&cp->peer_addr, &conn->dst); in hci_req_add_le_create_conn() 853 bacpy(&cp.peer_addr, &conn->dst); in hci_req_add_le_create_conn() 899 bacpy(&cp.peer_addr, &conn->dst); in hci_req_directed_advertising() 911 bacpy(&cp.bdaddr, &random_addr); in hci_req_directed_advertising() 940 bacpy(&cp.direct_addr, &conn->dst); in hci_req_directed_advertising() 1003 bacpy(&conn->dst, dst); in hci_connect_le() [all …]
|
D | sco.c | 255 bacpy(&sco_pi(sk)->src, &hcon->src); in sco_connect() 544 bacpy(&sco_pi(sk)->src, &sa->sco_bdaddr); in sco_sock_bind() 574 bacpy(&sco_pi(sk)->dst, &sa->sco_bdaddr); in sco_sock_connect() 694 bacpy(&sa->sco_bdaddr, &sco_pi(sk)->dst); in sco_sock_getname() 696 bacpy(&sa->sco_bdaddr, &sco_pi(sk)->src); in sco_sock_getname() 738 bacpy(&cp.bdaddr, &conn->dst); in sco_conn_defer_accept() 745 bacpy(&cp.bdaddr, &conn->dst); in sco_conn_defer_accept() 1061 bacpy(&sco_pi(sk)->src, &conn->hcon->src); in sco_conn_ready() 1062 bacpy(&sco_pi(sk)->dst, &conn->hcon->dst); in sco_conn_ready()
|
D | hci_event.c | 743 bacpy(&hdev->bdaddr, &rp->bdaddr); in hci_cc_read_bd_addr() 746 bacpy(&hdev->setup_addr, &rp->bdaddr); in hci_cc_read_bd_addr() 1085 bacpy(&hdev->random_addr, sent); in hci_cc_le_set_random_addr() 1130 bacpy(&hdev->random_addr, &cp->bdaddr); in hci_cc_le_set_adv_set_random_addr() 1135 bacpy(&adv_instance->random_addr, &cp->bdaddr); in hci_cc_le_set_adv_set_random_addr() 1267 bacpy(&d->last_adv_addr, BDADDR_ANY); in clear_pending_adv_report() 1277 bacpy(&d->last_adv_addr, bdaddr); in store_pending_adv_report() 1927 bacpy(&cp.bdaddr, &e->data.bdaddr); in hci_resolve_name() 2229 bacpy(&conn->init_addr, &hdev->random_addr); in cs_le_create_conn() 2231 bacpy(&conn->init_addr, &hdev->bdaddr); in cs_le_create_conn() [all …]
|
D | mgmt.c | 977 bacpy(&rp.bdaddr, &hdev->bdaddr); in read_controller_info() 1033 bacpy(&rp->bdaddr, &hdev->bdaddr); in read_ext_controller_info() 2366 bacpy(&ev.addr.bdaddr, bdaddr); in device_unpaired() 2385 bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); in unpair_device() 2513 bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); in disconnect() 2620 bacpy(&rp->addr[i].bdaddr, &c->dst); in get_connections() 2710 bacpy(&reply.bdaddr, &cp->addr.bdaddr); in pin_code_reply() 2771 bacpy(&rp.addr.bdaddr, &conn->dst); in pairing_complete() 2854 bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); in pair_device() 3071 bacpy(&cp.bdaddr, &addr->bdaddr); in user_pairing_resp() [all …]
|
D | hci_core.c | 595 bacpy(&cp.bdaddr, BDADDR_ANY); in hci_init3_req() 810 bacpy(&cp.bdaddr, BDADDR_ANY); in hci_init4_req() 1229 bacpy(&info->bdaddr, &data->bdaddr); in inquiry_cache_dump() 1382 bacpy(&hdev->public_addr, &ba); in hci_dev_get_bd_addr_from_property() 1758 bacpy(&hdev->random_addr, BDADDR_ANY); in hci_dev_do_close() 2390 bacpy(&irk->rpa, rpa); in hci_find_irk_by_rpa() 2453 bacpy(&key->bdaddr, bdaddr); in hci_add_link_key() 2486 bacpy(&key->bdaddr, bdaddr); in hci_add_ltk() 2509 bacpy(&irk->bdaddr, bdaddr); in hci_add_irk() 2516 bacpy(&irk->rpa, rpa); in hci_add_irk() [all …]
|
D | hci_request.c | 679 bacpy(&cp.bdaddr, ¶ms->addr); in add_to_white_list() 708 bacpy(&cp.bdaddr, &b->bdaddr); in update_white_list() 1469 bacpy(rand_addr, BDADDR_ANY); in hci_get_random_address() 1497 bacpy(rand_addr, &hdev->rpa); in hci_get_random_address() 1533 bacpy(rand_addr, &nrpa); in hci_get_random_address() 1651 bacpy(&cp.bdaddr, &random_addr); in __hci_req_setup_ext_adv_instance() 2235 bacpy(&rej.bdaddr, &conn->dst); in __hci_abort_conn() 2243 bacpy(&rej.bdaddr, &conn->dst); in __hci_abort_conn() 2656 bacpy(&cp.bdaddr, &e->data.bdaddr); in hci_req_stop_discovery()
|
D | smp.c | 1066 bacpy(&hcon->dst, &smp->remote_irk->bdaddr); in smp_notify_keys() 1074 bacpy(&smp->csrk->bdaddr, &hcon->dst); in smp_notify_keys() 1080 bacpy(&smp->slave_csrk->bdaddr, &hcon->dst); in smp_notify_keys() 1086 bacpy(&smp->ltk->bdaddr, &hcon->dst); in smp_notify_keys() 1092 bacpy(&smp->slave_ltk->bdaddr, &hcon->dst); in smp_notify_keys() 1320 bacpy(&addrinfo.bdaddr, &hcon->src); in smp_distribute_keys() 2578 bacpy(&smp->id_addr, &info->bdaddr); in smp_cmd_ident_addr_info() 2582 bacpy(&rpa, &hcon->dst); in smp_cmd_ident_addr_info() 2584 bacpy(&rpa, BDADDR_ANY); in smp_cmd_ident_addr_info() 3276 bacpy(&chan->src, &hdev->bdaddr); in smp_add_cid()
|
D | l2cap_sock.c | 130 bacpy(&chan->src, &la.l2_bdaddr); in l2cap_sock_bind() 380 bacpy(&la->l2_bdaddr, &chan->dst); in l2cap_sock_getname() 384 bacpy(&la->l2_bdaddr, &chan->src); in l2cap_sock_getname() 1510 bacpy(&la->l2_bdaddr, &bt_cb(skb)->l2cap.bdaddr); in l2cap_skb_msg_name()
|
D | l2cap_core.c | 676 bacpy(&chan->dst, &hcon->dst); in l2cap_conn_update_id_addr() 3894 bacpy(&chan->src, &conn->hcon->src); in l2cap_connect() 3895 bacpy(&chan->dst, &conn->hcon->dst); in l2cap_connect() 5564 bacpy(&chan->src, &conn->hcon->src); in l2cap_le_connect_req() 5565 bacpy(&chan->dst, &conn->hcon->dst); in l2cap_le_connect_req() 7003 bacpy(&bt_cb(skb)->l2cap.bdaddr, &hcon->dst); in l2cap_conless_channel() 7234 bacpy(&chan->dst, dst); in l2cap_chan_connect() 7285 bacpy(&chan->src, &hcon->src); in l2cap_chan_connect() 7434 bacpy(&chan->src, &hcon->src); in l2cap_connect_cfm() 7435 bacpy(&chan->dst, &hcon->dst); in l2cap_connect_cfm()
|
D | hci_sock.c | 421 bacpy(&ni->bdaddr, &hdev->bdaddr); in create_monitor_event() 447 bacpy(&ii->bdaddr, &hdev->bdaddr); in create_monitor_event()
|
/Linux-v5.4/net/bluetooth/rfcomm/ |
D | sock.c | 372 bacpy(&rfcomm_pi(sk)->src, &sa.rc_bdaddr); in rfcomm_sock_bind() 410 bacpy(&rfcomm_pi(sk)->dst, &sa->rc_bdaddr); in rfcomm_sock_connect() 552 bacpy(&sa->rc_bdaddr, &rfcomm_pi(sk)->dst); in rfcomm_sock_getname() 554 bacpy(&sa->rc_bdaddr, &rfcomm_pi(sk)->src); in rfcomm_sock_getname() 986 bacpy(&rfcomm_pi(sk)->src, &src); in rfcomm_connect_ind() 987 bacpy(&rfcomm_pi(sk)->dst, &dst); in rfcomm_connect_ind()
|
D | tty.c | 264 bacpy(&dev->src, &req->src); in __rfcomm_dev_add() 265 bacpy(&dev->dst, &req->dst); in __rfcomm_dev_add() 536 bacpy(&(di + n)->src, &dev->src); in rfcomm_get_dev_list() 537 bacpy(&(di + n)->dst, &dev->dst); in rfcomm_get_dev_list() 572 bacpy(&di.src, &dev->src); in rfcomm_get_dev_info() 573 bacpy(&di.dst, &dev->dst); in rfcomm_get_dev_info()
|
D | core.c | 743 bacpy(&addr.l2_bdaddr, src); in rfcomm_session_create() 769 bacpy(&addr.l2_bdaddr, dst); in rfcomm_session_create() 789 bacpy(src, &chan->src); in rfcomm_session_getaddr() 791 bacpy(dst, &chan->dst); in rfcomm_session_getaddr() 2028 bacpy(&addr.l2_bdaddr, ba); in rfcomm_add_listener()
|
/Linux-v5.4/net/bluetooth/cmtp/ |
D | core.c | 80 bacpy(&ci->bdaddr, &session->bdaddr); in __cmtp_copy_session() 356 bacpy(&session->bdaddr, &l2cap_pi(sock->sk)->chan->dst); in cmtp_add_connection()
|
/Linux-v5.4/include/net/bluetooth/ |
D | bluetooth.h | 234 static inline void bacpy(bdaddr_t *dst, const bdaddr_t *src) in bacpy() function
|
/Linux-v5.4/net/bluetooth/hidp/ |
D | core.c | 76 bacpy(&ci->bdaddr, &session->bdaddr); in hidp_copy_session() 935 bacpy(&session->bdaddr, bdaddr); in hidp_session_new()
|
/Linux-v5.4/drivers/bluetooth/ |
D | hci_ll.c | 735 bacpy(&lldev->bdaddr, BDADDR_NONE); in hci_ti_probe()
|