bdaddr 72 drivers/bluetooth/btbcm.c if (!bacmp(&bda->bdaddr, BDADDR_BCM20702A0) || bdaddr 73 drivers/bluetooth/btbcm.c !bacmp(&bda->bdaddr, BDADDR_BCM20702A1) || bdaddr 74 drivers/bluetooth/btbcm.c !bacmp(&bda->bdaddr, BDADDR_BCM2076B1) || bdaddr 75 drivers/bluetooth/btbcm.c !bacmp(&bda->bdaddr, BDADDR_BCM4324B3) || bdaddr 76 drivers/bluetooth/btbcm.c !bacmp(&bda->bdaddr, BDADDR_BCM4330B1) || bdaddr 77 drivers/bluetooth/btbcm.c !bacmp(&bda->bdaddr, BDADDR_BCM4345C5) || bdaddr 78 drivers/bluetooth/btbcm.c !bacmp(&bda->bdaddr, BDADDR_BCM43430A0) || bdaddr 79 drivers/bluetooth/btbcm.c !bacmp(&bda->bdaddr, BDADDR_BCM43341B)) { bdaddr 81 drivers/bluetooth/btbcm.c &bda->bdaddr); bdaddr 91 drivers/bluetooth/btbcm.c int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) bdaddr 96 drivers/bluetooth/btbcm.c skb = __hci_cmd_sync(hdev, 0xfc01, 6, bdaddr, HCI_INIT_TIMEOUT); bdaddr 55 drivers/bluetooth/btbcm.h int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); bdaddr 72 drivers/bluetooth/btbcm.h static inline int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) bdaddr 50 drivers/bluetooth/btintel.c if (!bacmp(&bda->bdaddr, BDADDR_INTEL)) { bdaddr 52 drivers/bluetooth/btintel.c &bda->bdaddr); bdaddr 104 drivers/bluetooth/btintel.c int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) bdaddr 109 drivers/bluetooth/btintel.c skb = __hci_cmd_sync(hdev, 0xfc31, 6, bdaddr, HCI_INIT_TIMEOUT); bdaddr 70 drivers/bluetooth/btintel.h int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); bdaddr 107 drivers/bluetooth/btintel.h static inline int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) bdaddr 567 drivers/bluetooth/btmrvl_main.c static int btmrvl_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) bdaddr 575 drivers/bluetooth/btmrvl_main.c memcpy(buf + 2, bdaddr, sizeof(bdaddr_t)); bdaddr 357 drivers/bluetooth/btqca.c int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) bdaddr 366 drivers/bluetooth/btqca.c memcpy(cmd + 3, bdaddr, sizeof(bdaddr_t)); bdaddr 448 drivers/bluetooth/btqca.c int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) bdaddr 453 drivers/bluetooth/btqca.c skb = __hci_cmd_sync_ev(hdev, EDL_WRITE_BD_ADDR_OPCODE, 6, bdaddr, bdaddr 133 drivers/bluetooth/btqca.h int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr); bdaddr 138 drivers/bluetooth/btqca.h int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); bdaddr 146 drivers/bluetooth/btqca.h static inline int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) bdaddr 163 drivers/bluetooth/btqca.h static inline int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) bdaddr 3102 drivers/bluetooth/btusb.c const bdaddr_t *bdaddr) bdaddr 3110 drivers/bluetooth/btusb.c memcpy(buf + 2, bdaddr, sizeof(bdaddr_t)); bdaddr 3125 drivers/bluetooth/btusb.c const bdaddr_t *bdaddr) bdaddr 3135 drivers/bluetooth/btusb.c memcpy(buf + 4, bdaddr, sizeof(bdaddr_t)); bdaddr 169 drivers/bluetooth/hci_ath.c static int ath_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) bdaddr 171 drivers/bluetooth/hci_ath.c return ath_vendor_cmd(hdev, OP_WRITE_TAG, INDEX_BDADDR, bdaddr, bdaddr 172 drivers/bluetooth/hci_ath.c sizeof(*bdaddr)); bdaddr 70 drivers/bluetooth/hci_ll.c bdaddr_t bdaddr; bdaddr 590 drivers/bluetooth/hci_ll.c static int ll_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) bdaddr 599 drivers/bluetooth/hci_ll.c baswap(&bdaddr_swapped, bdaddr); bdaddr 647 drivers/bluetooth/hci_ll.c if (!bacmp(&lldev->bdaddr, BDADDR_NONE)) { bdaddr 652 drivers/bluetooth/hci_ll.c } else if (bacmp(&lldev->bdaddr, BDADDR_ANY)) { bdaddr 653 drivers/bluetooth/hci_ll.c err = ll_set_bdaddr(hu->hdev, &lldev->bdaddr); bdaddr 732 drivers/bluetooth/hci_ll.c bacpy(&lldev->bdaddr, BDADDR_NONE); bdaddr 735 drivers/bluetooth/hci_ll.c bdaddr_t *bdaddr; bdaddr 738 drivers/bluetooth/hci_ll.c bdaddr = nvmem_cell_read(bdaddr_cell, &len); bdaddr 740 drivers/bluetooth/hci_ll.c if (IS_ERR(bdaddr)) { bdaddr 742 drivers/bluetooth/hci_ll.c return PTR_ERR(bdaddr); bdaddr 746 drivers/bluetooth/hci_ll.c kfree(bdaddr); bdaddr 754 drivers/bluetooth/hci_ll.c baswap(&lldev->bdaddr, bdaddr); bdaddr 755 drivers/bluetooth/hci_ll.c kfree(bdaddr); bdaddr 136 drivers/bluetooth/hci_nokia.c bdaddr_t bdaddr; bdaddr 296 include/net/bluetooth/bluetooth.h bdaddr_t bdaddr; bdaddr 567 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 589 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 594 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 600 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 606 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 612 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 617 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 623 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 628 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 632 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 659 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 667 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 704 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 715 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 721 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 729 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 733 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 740 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 748 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 755 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 760 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 840 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 873 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 943 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 954 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1220 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1454 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1460 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1556 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1564 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1718 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1726 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1738 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1745 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1766 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1834 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1859 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1864 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1869 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1890 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1896 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1904 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1926 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1957 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1974 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1979 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1987 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1993 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 1998 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 2004 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 2009 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 2021 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 2027 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 2095 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 2133 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 2183 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 2193 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 2212 include/net/bluetooth/hci.h bdaddr_t bdaddr; bdaddr 39 include/net/bluetooth/hci_core.h bdaddr_t bdaddr; bdaddr 102 include/net/bluetooth/hci_core.h bdaddr_t bdaddr; bdaddr 108 include/net/bluetooth/hci_core.h bdaddr_t bdaddr; bdaddr 122 include/net/bluetooth/hci_core.h bdaddr_t bdaddr; bdaddr 131 include/net/bluetooth/hci_core.h bdaddr_t bdaddr; bdaddr 145 include/net/bluetooth/hci_core.h bdaddr_t bdaddr; bdaddr 153 include/net/bluetooth/hci_core.h bdaddr_t bdaddr; bdaddr 161 include/net/bluetooth/hci_core.h bdaddr_t bdaddr; bdaddr 224 include/net/bluetooth/hci_core.h bdaddr_t bdaddr; bdaddr 446 include/net/bluetooth/hci_core.h int (*set_bdaddr)(struct hci_dev *hdev, const bdaddr_t *bdaddr); bdaddr 591 include/net/bluetooth/hci_core.h int l2cap_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr); bdaddr 596 include/net/bluetooth/hci_core.h int sco_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 *flags); bdaddr 599 include/net/bluetooth/hci_core.h static inline int sco_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 657 include/net/bluetooth/hci_core.h bdaddr_t *bdaddr); bdaddr 659 include/net/bluetooth/hci_core.h bdaddr_t *bdaddr); bdaddr 661 include/net/bluetooth/hci_core.h bdaddr_t *bdaddr, bdaddr 1079 include/net/bluetooth/hci_core.h bdaddr_t *bdaddr, u8 type); bdaddr 1081 include/net/bluetooth/hci_core.h struct list_head *list, bdaddr_t *bdaddr, bdaddr 1083 include/net/bluetooth/hci_core.h int hci_bdaddr_list_add(struct list_head *list, bdaddr_t *bdaddr, u8 type); bdaddr 1084 include/net/bluetooth/hci_core.h int hci_bdaddr_list_add_with_irk(struct list_head *list, bdaddr_t *bdaddr, bdaddr 1086 include/net/bluetooth/hci_core.h int hci_bdaddr_list_del(struct list_head *list, bdaddr_t *bdaddr, u8 type); bdaddr 1087 include/net/bluetooth/hci_core.h int hci_bdaddr_list_del_with_irk(struct list_head *list, bdaddr_t *bdaddr, bdaddr 1105 include/net/bluetooth/hci_core.h struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr); bdaddr 1107 include/net/bluetooth/hci_core.h bdaddr_t *bdaddr, u8 *val, u8 type, bdaddr 1109 include/net/bluetooth/hci_core.h struct smp_ltk *hci_add_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1112 include/net/bluetooth/hci_core.h struct smp_ltk *hci_find_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1114 include/net/bluetooth/hci_core.h int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type); bdaddr 1116 include/net/bluetooth/hci_core.h int hci_remove_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr); bdaddr 1119 include/net/bluetooth/hci_core.h struct smp_irk *hci_find_irk_by_addr(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1121 include/net/bluetooth/hci_core.h struct smp_irk *hci_add_irk(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1123 include/net/bluetooth/hci_core.h void hci_remove_irk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type); bdaddr 1126 include/net/bluetooth/hci_core.h bool hci_bdaddr_is_paired(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type); bdaddr 1130 include/net/bluetooth/hci_core.h bdaddr_t *bdaddr, u8 bdaddr_type); bdaddr 1131 include/net/bluetooth/hci_core.h int hci_add_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1134 include/net/bluetooth/hci_core.h int hci_remove_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1221 include/net/bluetooth/hci_core.h static inline int hci_proto_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1226 include/net/bluetooth/hci_core.h return l2cap_connect_ind(hdev, bdaddr); bdaddr 1230 include/net/bluetooth/hci_core.h return sco_connect_ind(hdev, bdaddr, flags); bdaddr 1395 include/net/bluetooth/hci_core.h static inline bool hci_bdaddr_is_rpa(bdaddr_t *bdaddr, u8 addr_type) bdaddr 1400 include/net/bluetooth/hci_core.h if ((bdaddr->b[5] & 0xc0) == 0x40) bdaddr 1419 include/net/bluetooth/hci_core.h bdaddr_t *bdaddr, u8 addr_type) bdaddr 1421 include/net/bluetooth/hci_core.h if (!hci_bdaddr_is_rpa(bdaddr, addr_type)) bdaddr 1424 include/net/bluetooth/hci_core.h return hci_find_irk_by_rpa(hdev, bdaddr); bdaddr 1534 include/net/bluetooth/hci_core.h void mgmt_device_disconnected(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1537 include/net/bluetooth/hci_core.h void mgmt_disconnect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1539 include/net/bluetooth/hci_core.h void mgmt_connect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, bdaddr 1541 include/net/bluetooth/hci_core.h void mgmt_pin_code_request(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 secure); bdaddr 1542 include/net/bluetooth/hci_core.h void mgmt_pin_code_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1544 include/net/bluetooth/hci_core.h void mgmt_pin_code_neg_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1546 include/net/bluetooth/hci_core.h int mgmt_user_confirm_request(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1549 include/net/bluetooth/hci_core.h int mgmt_user_confirm_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1551 include/net/bluetooth/hci_core.h int mgmt_user_confirm_neg_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1553 include/net/bluetooth/hci_core.h int mgmt_user_passkey_request(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1555 include/net/bluetooth/hci_core.h int mgmt_user_passkey_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1557 include/net/bluetooth/hci_core.h int mgmt_user_passkey_neg_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1559 include/net/bluetooth/hci_core.h int mgmt_user_passkey_notify(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1570 include/net/bluetooth/hci_core.h void mgmt_device_found(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, bdaddr 1573 include/net/bluetooth/hci_core.h void mgmt_remote_name(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, bdaddr 1581 include/net/bluetooth/hci_core.h void mgmt_new_conn_param(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1600 include/net/bluetooth/hci_core.h void hci_copy_identity_address(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 56 include/net/bluetooth/hci_mon.h bdaddr_t bdaddr; bdaddr 62 include/net/bluetooth/hci_mon.h bdaddr_t bdaddr; bdaddr 112 include/net/bluetooth/hci_sock.h bdaddr_t bdaddr; bdaddr 133 include/net/bluetooth/hci_sock.h bdaddr_t bdaddr; bdaddr 157 include/net/bluetooth/hci_sock.h bdaddr_t bdaddr; bdaddr 163 include/net/bluetooth/hci_sock.h bdaddr_t bdaddr; bdaddr 56 include/net/bluetooth/mgmt.h bdaddr_t bdaddr; bdaddr 109 include/net/bluetooth/mgmt.h bdaddr_t bdaddr; bdaddr 385 include/net/bluetooth/mgmt.h bdaddr_t bdaddr; bdaddr 497 include/net/bluetooth/mgmt.h bdaddr_t bdaddr; bdaddr 599 include/net/bluetooth/mgmt.h bdaddr_t bdaddr; bdaddr 45 net/bluetooth/cmtp/cmtp.h bdaddr_t bdaddr; bdaddr 50 net/bluetooth/cmtp/cmtp.h bdaddr_t bdaddr; bdaddr 75 net/bluetooth/cmtp/cmtp.h bdaddr_t bdaddr; bdaddr 53 net/bluetooth/cmtp/core.c static struct cmtp_session *__cmtp_get_session(bdaddr_t *bdaddr) bdaddr 60 net/bluetooth/cmtp/core.c if (!bacmp(bdaddr, &session->bdaddr)) bdaddr 80 net/bluetooth/cmtp/core.c bacpy(&ci->bdaddr, &session->bdaddr); bdaddr 356 net/bluetooth/cmtp/core.c bacpy(&session->bdaddr, &l2cap_pi(sock->sk)->chan->dst); bdaddr 363 net/bluetooth/cmtp/core.c sprintf(session->name, "%pMR", &session->bdaddr); bdaddr 427 net/bluetooth/cmtp/core.c session = __cmtp_get_session(&req->bdaddr); bdaddr 484 net/bluetooth/cmtp/core.c session = __cmtp_get_session(&ci->bdaddr); bdaddr 68 net/bluetooth/hci_conn.c bdaddr_t *bdaddr; bdaddr 71 net/bluetooth/hci_conn.c bdaddr = &conn->dst; bdaddr 75 net/bluetooth/hci_conn.c irk = hci_get_irk(hdev, bdaddr, bdaddr_type); bdaddr 77 net/bluetooth/hci_conn.c bdaddr = &irk->bdaddr; bdaddr 81 net/bluetooth/hci_conn.c params = hci_pend_le_action_lookup(&hdev->pend_le_conns, bdaddr, bdaddr 97 net/bluetooth/hci_conn.c hci_conn_params_del(hdev, bdaddr, bdaddr_type); bdaddr 205 net/bluetooth/hci_conn.c bacpy(&cp.bdaddr, &conn->dst); bdaddr 506 net/bluetooth/hci_conn.c bacpy(&conn->src, &hdev->bdaddr); bdaddr 646 net/bluetooth/hci_conn.c bacpy(&id_addr, &d->bdaddr); bdaddr 666 net/bluetooth/hci_conn.c if (bacmp(&d->bdaddr, dst)) { bdaddr 911 net/bluetooth/hci_conn.c bacpy(&cp.bdaddr, &random_addr); bdaddr 1453 net/bluetooth/hci_conn.c bacpy(&cp.bdaddr, &conn->dst); bdaddr 1571 net/bluetooth/hci_conn.c bacpy(&(ci + n)->bdaddr, &c->dst); bdaddr 1605 net/bluetooth/hci_conn.c conn = hci_conn_hash_lookup_ba(hdev, req.type, &req.bdaddr); bdaddr 1607 net/bluetooth/hci_conn.c bacpy(&ci.bdaddr, &conn->dst); bdaddr 1631 net/bluetooth/hci_conn.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &req.bdaddr); bdaddr 595 net/bluetooth/hci_core.c bacpy(&cp.bdaddr, BDADDR_ANY); bdaddr 810 net/bluetooth/hci_core.c bacpy(&cp.bdaddr, BDADDR_ANY); bdaddr 1085 net/bluetooth/hci_core.c bdaddr_t *bdaddr) bdaddr 1090 net/bluetooth/hci_core.c BT_DBG("cache %p, %pMR", cache, bdaddr); bdaddr 1093 net/bluetooth/hci_core.c if (!bacmp(&e->data.bdaddr, bdaddr)) bdaddr 1101 net/bluetooth/hci_core.c bdaddr_t *bdaddr) bdaddr 1106 net/bluetooth/hci_core.c BT_DBG("cache %p, %pMR", cache, bdaddr); bdaddr 1109 net/bluetooth/hci_core.c if (!bacmp(&e->data.bdaddr, bdaddr)) bdaddr 1117 net/bluetooth/hci_core.c bdaddr_t *bdaddr, bdaddr 1123 net/bluetooth/hci_core.c BT_DBG("cache %p bdaddr %pMR state %d", cache, bdaddr, state); bdaddr 1126 net/bluetooth/hci_core.c if (!bacmp(bdaddr, BDADDR_ANY) && e->name_state == state) bdaddr 1128 net/bluetooth/hci_core.c if (!bacmp(&e->data.bdaddr, bdaddr)) bdaddr 1161 net/bluetooth/hci_core.c BT_DBG("cache %p, %pMR", cache, &data->bdaddr); bdaddr 1163 net/bluetooth/hci_core.c hci_remove_remote_oob_data(hdev, &data->bdaddr, BDADDR_BREDR); bdaddr 1168 net/bluetooth/hci_core.c ie = hci_inquiry_cache_lookup(hdev, &data->bdaddr); bdaddr 1229 net/bluetooth/hci_core.c bacpy(&info->bdaddr, &data->bdaddr); bdaddr 1422 net/bluetooth/hci_core.c !bacmp(&hdev->bdaddr, BDADDR_ANY) && bdaddr 2119 net/bluetooth/hci_core.c di.bdaddr = hdev->bdaddr; bdaddr 2208 net/bluetooth/hci_core.c !bacmp(&hdev->bdaddr, BDADDR_ANY) && bdaddr 2314 net/bluetooth/hci_core.c struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) bdaddr 2320 net/bluetooth/hci_core.c if (bacmp(bdaddr, &k->bdaddr) == 0) { bdaddr 2378 net/bluetooth/hci_core.c struct smp_ltk *hci_find_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 2385 net/bluetooth/hci_core.c if (addr_type != k->bdaddr_type || bacmp(bdaddr, &k->bdaddr)) bdaddr 2422 net/bluetooth/hci_core.c struct smp_irk *hci_find_irk_by_addr(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 2428 net/bluetooth/hci_core.c if (addr_type == ADDR_LE_DEV_RANDOM && (bdaddr->b[5] & 0xc0) != 0xc0) bdaddr 2434 net/bluetooth/hci_core.c bacmp(bdaddr, &irk->bdaddr) == 0) { bdaddr 2445 net/bluetooth/hci_core.c bdaddr_t *bdaddr, u8 *val, u8 type, bdaddr 2451 net/bluetooth/hci_core.c old_key = hci_find_link_key(hdev, bdaddr); bdaddr 2463 net/bluetooth/hci_core.c BT_DBG("%s key for %pMR type %u", hdev->name, bdaddr, type); bdaddr 2475 net/bluetooth/hci_core.c bacpy(&key->bdaddr, bdaddr); bdaddr 2491 net/bluetooth/hci_core.c struct smp_ltk *hci_add_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 2498 net/bluetooth/hci_core.c old_key = hci_find_ltk(hdev, bdaddr, addr_type, role); bdaddr 2508 net/bluetooth/hci_core.c bacpy(&key->bdaddr, bdaddr); bdaddr 2520 net/bluetooth/hci_core.c struct smp_irk *hci_add_irk(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 2525 net/bluetooth/hci_core.c irk = hci_find_irk_by_addr(hdev, bdaddr, addr_type); bdaddr 2531 net/bluetooth/hci_core.c bacpy(&irk->bdaddr, bdaddr); bdaddr 2543 net/bluetooth/hci_core.c int hci_remove_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) bdaddr 2547 net/bluetooth/hci_core.c key = hci_find_link_key(hdev, bdaddr); bdaddr 2551 net/bluetooth/hci_core.c BT_DBG("%s removing %pMR", hdev->name, bdaddr); bdaddr 2559 net/bluetooth/hci_core.c int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type) bdaddr 2565 net/bluetooth/hci_core.c if (bacmp(bdaddr, &k->bdaddr) || k->bdaddr_type != bdaddr_type) bdaddr 2568 net/bluetooth/hci_core.c BT_DBG("%s removing %pMR", hdev->name, bdaddr); bdaddr 2578 net/bluetooth/hci_core.c void hci_remove_irk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type) bdaddr 2583 net/bluetooth/hci_core.c if (bacmp(bdaddr, &k->bdaddr) || k->addr_type != addr_type) bdaddr 2586 net/bluetooth/hci_core.c BT_DBG("%s removing %pMR", hdev->name, bdaddr); bdaddr 2593 net/bluetooth/hci_core.c bool hci_bdaddr_is_paired(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type) bdaddr 2600 net/bluetooth/hci_core.c if (hci_find_link_key(hdev, bdaddr)) bdaddr 2611 net/bluetooth/hci_core.c irk = hci_get_irk(hdev, bdaddr, addr_type); bdaddr 2613 net/bluetooth/hci_core.c bdaddr = &irk->bdaddr; bdaddr 2619 net/bluetooth/hci_core.c if (k->bdaddr_type == addr_type && !bacmp(bdaddr, &k->bdaddr)) { bdaddr 2652 net/bluetooth/hci_core.c bdaddr_t *bdaddr, u8 bdaddr_type) bdaddr 2657 net/bluetooth/hci_core.c if (bacmp(bdaddr, &data->bdaddr) != 0) bdaddr 2667 net/bluetooth/hci_core.c int hci_remove_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 2672 net/bluetooth/hci_core.c data = hci_find_remote_oob_data(hdev, bdaddr, bdaddr_type); bdaddr 2676 net/bluetooth/hci_core.c BT_DBG("%s removing %pMR (%u)", hdev->name, bdaddr, bdaddr_type); bdaddr 2694 net/bluetooth/hci_core.c int hci_add_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 2700 net/bluetooth/hci_core.c data = hci_find_remote_oob_data(hdev, bdaddr, bdaddr_type); bdaddr 2706 net/bluetooth/hci_core.c bacpy(&data->bdaddr, bdaddr); bdaddr 2735 net/bluetooth/hci_core.c BT_DBG("%s for %pMR", hdev->name, bdaddr); bdaddr 2896 net/bluetooth/hci_core.c bdaddr_t *bdaddr, u8 type) bdaddr 2901 net/bluetooth/hci_core.c if (!bacmp(&b->bdaddr, bdaddr) && b->bdaddr_type == type) bdaddr 2909 net/bluetooth/hci_core.c struct list_head *bdaddr_list, bdaddr_t *bdaddr, bdaddr 2915 net/bluetooth/hci_core.c if (!bacmp(&b->bdaddr, bdaddr) && b->bdaddr_type == type) bdaddr 2932 net/bluetooth/hci_core.c int hci_bdaddr_list_add(struct list_head *list, bdaddr_t *bdaddr, u8 type) bdaddr 2936 net/bluetooth/hci_core.c if (!bacmp(bdaddr, BDADDR_ANY)) bdaddr 2939 net/bluetooth/hci_core.c if (hci_bdaddr_list_lookup(list, bdaddr, type)) bdaddr 2946 net/bluetooth/hci_core.c bacpy(&entry->bdaddr, bdaddr); bdaddr 2954 net/bluetooth/hci_core.c int hci_bdaddr_list_add_with_irk(struct list_head *list, bdaddr_t *bdaddr, bdaddr 2959 net/bluetooth/hci_core.c if (!bacmp(bdaddr, BDADDR_ANY)) bdaddr 2962 net/bluetooth/hci_core.c if (hci_bdaddr_list_lookup(list, bdaddr, type)) bdaddr 2969 net/bluetooth/hci_core.c bacpy(&entry->bdaddr, bdaddr); bdaddr 2983 net/bluetooth/hci_core.c int hci_bdaddr_list_del(struct list_head *list, bdaddr_t *bdaddr, u8 type) bdaddr 2987 net/bluetooth/hci_core.c if (!bacmp(bdaddr, BDADDR_ANY)) { bdaddr 2992 net/bluetooth/hci_core.c entry = hci_bdaddr_list_lookup(list, bdaddr, type); bdaddr 3002 net/bluetooth/hci_core.c int hci_bdaddr_list_del_with_irk(struct list_head *list, bdaddr_t *bdaddr, bdaddr 3007 net/bluetooth/hci_core.c if (!bacmp(bdaddr, BDADDR_ANY)) { bdaddr 3012 net/bluetooth/hci_core.c entry = hci_bdaddr_list_lookup_with_irk(list, bdaddr, type); bdaddr 3162 net/bluetooth/hci_core.c void hci_copy_identity_address(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 3166 net/bluetooth/hci_core.c !bacmp(&hdev->bdaddr, BDADDR_ANY) || bdaddr 3169 net/bluetooth/hci_core.c bacpy(bdaddr, &hdev->static_addr); bdaddr 3172 net/bluetooth/hci_core.c bacpy(bdaddr, &hdev->bdaddr); bdaddr 128 net/bluetooth/hci_debugfs.c seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); bdaddr 147 net/bluetooth/hci_debugfs.c seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); bdaddr 188 net/bluetooth/hci_debugfs.c &data->bdaddr, data->bdaddr_type, data->present, bdaddr 348 net/bluetooth/hci_debugfs.c &data->bdaddr, bdaddr 370 net/bluetooth/hci_debugfs.c seq_printf(f, "%pMR %u %*phN %u\n", &key->bdaddr, key->type, bdaddr 720 net/bluetooth/hci_debugfs.c seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); bdaddr 735 net/bluetooth/hci_debugfs.c seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); bdaddr 751 net/bluetooth/hci_debugfs.c &irk->bdaddr, irk->addr_type, bdaddr 769 net/bluetooth/hci_debugfs.c <k->bdaddr, ltk->bdaddr_type, ltk->authenticated, bdaddr 1024 net/bluetooth/hci_debugfs.c if (bacmp(&hdev->bdaddr, BDADDR_ANY)) bdaddr 743 net/bluetooth/hci_event.c bacpy(&hdev->bdaddr, &rp->bdaddr); bdaddr 746 net/bluetooth/hci_event.c bacpy(&hdev->setup_addr, &rp->bdaddr); bdaddr 915 net/bluetooth/hci_event.c mgmt_pin_code_reply_complete(hdev, &rp->bdaddr, rp->status); bdaddr 924 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &cp->bdaddr); bdaddr 941 net/bluetooth/hci_event.c mgmt_pin_code_neg_reply_complete(hdev, &rp->bdaddr, bdaddr 1000 net/bluetooth/hci_event.c mgmt_user_confirm_reply_complete(hdev, &rp->bdaddr, ACL_LINK, 0, bdaddr 1016 net/bluetooth/hci_event.c mgmt_user_confirm_neg_reply_complete(hdev, &rp->bdaddr, bdaddr 1031 net/bluetooth/hci_event.c mgmt_user_passkey_reply_complete(hdev, &rp->bdaddr, ACL_LINK, bdaddr 1047 net/bluetooth/hci_event.c mgmt_user_passkey_neg_reply_complete(hdev, &rp->bdaddr, bdaddr 1130 net/bluetooth/hci_event.c bacpy(&hdev->random_addr, &cp->bdaddr); bdaddr 1135 net/bluetooth/hci_event.c bacpy(&adv_instance->random_addr, &cp->bdaddr); bdaddr 1271 net/bluetooth/hci_event.c static void store_pending_adv_report(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 1277 net/bluetooth/hci_event.c bacpy(&d->last_adv_addr, bdaddr); bdaddr 1433 net/bluetooth/hci_event.c hci_bdaddr_list_add(&hdev->le_white_list, &sent->bdaddr, bdaddr 1452 net/bluetooth/hci_event.c hci_bdaddr_list_del(&hdev->le_white_list, &sent->bdaddr, bdaddr 1517 net/bluetooth/hci_event.c hci_bdaddr_list_add_with_irk(&hdev->le_resolv_list, &sent->bdaddr, bdaddr 1537 net/bluetooth/hci_event.c hci_bdaddr_list_del_with_irk(&hdev->le_resolv_list, &sent->bdaddr, bdaddr 1784 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &cp->bdaddr); bdaddr 1786 net/bluetooth/hci_event.c BT_DBG("%s bdaddr %pMR hcon %p", hdev->name, &cp->bdaddr, conn); bdaddr 1799 net/bluetooth/hci_event.c conn = hci_conn_add(hdev, ACL_LINK, &cp->bdaddr, bdaddr 1927 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &e->data.bdaddr); bdaddr 1956 net/bluetooth/hci_event.c bdaddr_t *bdaddr, u8 *name, u8 name_len) bdaddr 1980 net/bluetooth/hci_event.c e = hci_inquiry_cache_lookup_resolve(hdev, bdaddr, NAME_PENDING); bdaddr 1991 net/bluetooth/hci_event.c mgmt_remote_name(hdev, bdaddr, ACL_LINK, 0x00, bdaddr 2022 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &cp->bdaddr); bdaddr 2025 net/bluetooth/hci_event.c hci_check_pending_name(hdev, conn, &cp->bdaddr, NULL, 0); bdaddr 2231 net/bluetooth/hci_event.c bacpy(&conn->init_addr, &hdev->bdaddr); bdaddr 2370 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &cp->bdaddr); bdaddr 2455 net/bluetooth/hci_event.c bacpy(&data.bdaddr, &info->bdaddr); bdaddr 2466 net/bluetooth/hci_event.c mgmt_device_found(hdev, &info->bdaddr, ACL_LINK, 0x00, bdaddr 2483 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, &ev->bdaddr); bdaddr 2488 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ESCO_LINK, &ev->bdaddr); bdaddr 2503 net/bluetooth/hci_event.c !hci_find_link_key(hdev, &ev->bdaddr)) bdaddr 2559 net/bluetooth/hci_event.c static void hci_reject_conn(struct hci_dev *hdev, bdaddr_t *bdaddr) bdaddr 2563 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, bdaddr); bdaddr 2576 net/bluetooth/hci_event.c BT_DBG("%s bdaddr %pMR type 0x%x", hdev->name, &ev->bdaddr, bdaddr 2579 net/bluetooth/hci_event.c mask |= hci_proto_connect_ind(hdev, &ev->bdaddr, ev->link_type, bdaddr 2583 net/bluetooth/hci_event.c hci_reject_conn(hdev, &ev->bdaddr); bdaddr 2587 net/bluetooth/hci_event.c if (hci_bdaddr_list_lookup(&hdev->blacklist, &ev->bdaddr, bdaddr 2589 net/bluetooth/hci_event.c hci_reject_conn(hdev, &ev->bdaddr); bdaddr 2599 net/bluetooth/hci_event.c !hci_bdaddr_list_lookup(&hdev->whitelist, &ev->bdaddr, bdaddr 2601 net/bluetooth/hci_event.c hci_reject_conn(hdev, &ev->bdaddr); bdaddr 2609 net/bluetooth/hci_event.c ie = hci_inquiry_cache_lookup(hdev, &ev->bdaddr); bdaddr 2614 net/bluetooth/hci_event.c &ev->bdaddr); bdaddr 2616 net/bluetooth/hci_event.c conn = hci_conn_add(hdev, ev->link_type, &ev->bdaddr, bdaddr 2634 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &ev->bdaddr); bdaddr 2646 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &ev->bdaddr); bdaddr 2844 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); bdaddr 2850 net/bluetooth/hci_event.c hci_check_pending_name(hdev, conn, &ev->bdaddr, ev->name, bdaddr 2853 net/bluetooth/hci_event.c hci_check_pending_name(hdev, conn, &ev->bdaddr, NULL, 0); bdaddr 3112 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &conn->dst); bdaddr 3620 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); bdaddr 3809 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); bdaddr 3822 net/bluetooth/hci_event.c sizeof(ev->bdaddr), &ev->bdaddr); bdaddr 3831 net/bluetooth/hci_event.c mgmt_pin_code_request(hdev, &ev->bdaddr, secure); bdaddr 3884 net/bluetooth/hci_event.c key = hci_find_link_key(hdev, &ev->bdaddr); bdaddr 3887 net/bluetooth/hci_event.c &ev->bdaddr); bdaddr 3892 net/bluetooth/hci_event.c &ev->bdaddr); bdaddr 3894 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); bdaddr 3916 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &ev->bdaddr); bdaddr 3926 net/bluetooth/hci_event.c hci_send_cmd(hdev, HCI_OP_LINK_KEY_NEG_REPLY, 6, &ev->bdaddr); bdaddr 3942 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); bdaddr 3956 net/bluetooth/hci_event.c key = hci_add_link_key(hdev, conn, &ev->bdaddr, ev->link_key, bdaddr 4038 net/bluetooth/hci_event.c ie = hci_inquiry_cache_lookup(hdev, &ev->bdaddr); bdaddr 4070 net/bluetooth/hci_event.c bacpy(&data.bdaddr, &info->bdaddr); bdaddr 4081 net/bluetooth/hci_event.c mgmt_device_found(hdev, &info->bdaddr, ACL_LINK, 0x00, bdaddr 4091 net/bluetooth/hci_event.c bacpy(&data.bdaddr, &info->bdaddr); bdaddr 4102 net/bluetooth/hci_event.c mgmt_device_found(hdev, &info->bdaddr, ACL_LINK, 0x00, bdaddr 4159 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &conn->dst); bdaddr 4185 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, &ev->bdaddr); bdaddr 4199 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ESCO_LINK, &ev->bdaddr); bdaddr 4281 net/bluetooth/hci_event.c bacpy(&data.bdaddr, &info->bdaddr); bdaddr 4301 net/bluetooth/hci_event.c mgmt_device_found(hdev, &info->bdaddr, ACL_LINK, 0x00, bdaddr 4428 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); bdaddr 4445 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &ev->bdaddr); bdaddr 4477 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &ev->bdaddr); bdaddr 4497 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); bdaddr 4522 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); bdaddr 4538 net/bluetooth/hci_event.c sizeof(ev->bdaddr), &ev->bdaddr); bdaddr 4571 net/bluetooth/hci_event.c sizeof(ev->bdaddr), &ev->bdaddr); bdaddr 4576 net/bluetooth/hci_event.c mgmt_user_confirm_request(hdev, &ev->bdaddr, ACL_LINK, 0, bdaddr 4591 net/bluetooth/hci_event.c mgmt_user_passkey_request(hdev, &ev->bdaddr, ACL_LINK, 0); bdaddr 4602 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); bdaddr 4622 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); bdaddr 4663 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); bdaddr 4695 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); bdaddr 4699 net/bluetooth/hci_event.c ie = hci_inquiry_cache_lookup(hdev, &ev->bdaddr); bdaddr 4719 net/bluetooth/hci_event.c data = hci_find_remote_oob_data(hdev, &ev->bdaddr, BDADDR_BREDR); bdaddr 4723 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &ev->bdaddr); bdaddr 4732 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &ev->bdaddr); bdaddr 4748 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &ev->bdaddr); bdaddr 4903 net/bluetooth/hci_event.c bdaddr_t *bdaddr, u8 bdaddr_type, u8 role, u16 handle, bdaddr 4920 net/bluetooth/hci_event.c conn = hci_conn_add(hdev, LE_LINK, bdaddr, role); bdaddr 4938 net/bluetooth/hci_event.c bacpy(&conn->resp_addr, bdaddr); bdaddr 4964 net/bluetooth/hci_event.c bacpy(&conn->resp_addr, &hdev->bdaddr); bdaddr 4968 net/bluetooth/hci_event.c bacpy(&conn->init_addr, bdaddr); bdaddr 4990 net/bluetooth/hci_event.c bacpy(&conn->dst, &irk->bdaddr); bdaddr 5070 net/bluetooth/hci_event.c le_conn_complete_evt(hdev, ev->status, &ev->bdaddr, ev->bdaddr_type, bdaddr 5084 net/bluetooth/hci_event.c le_conn_complete_evt(hdev, ev->status, &ev->bdaddr, ev->bdaddr_type, bdaddr 5231 net/bluetooth/hci_event.c static void process_adv_report(struct hci_dev *hdev, u8 type, bdaddr_t *bdaddr, bdaddr 5301 net/bluetooth/hci_event.c irk = hci_get_irk(hdev, bdaddr, bdaddr_type); bdaddr 5303 net/bluetooth/hci_event.c bdaddr = &irk->bdaddr; bdaddr 5312 net/bluetooth/hci_event.c conn = check_pending_le_conn(hdev, bdaddr, bdaddr_type, type, bdaddr 5331 net/bluetooth/hci_event.c bdaddr, bdaddr_type)) bdaddr 5338 net/bluetooth/hci_event.c mgmt_device_found(hdev, bdaddr, LE_LINK, bdaddr_type, NULL, bdaddr 5373 net/bluetooth/hci_event.c store_pending_adv_report(hdev, bdaddr, bdaddr_type, bdaddr 5378 net/bluetooth/hci_event.c mgmt_device_found(hdev, bdaddr, LE_LINK, bdaddr_type, NULL, bdaddr 5384 net/bluetooth/hci_event.c match = (!bacmp(bdaddr, &d->last_adv_addr) && bdaddr 5404 net/bluetooth/hci_event.c store_pending_adv_report(hdev, bdaddr, bdaddr_type, bdaddr 5413 net/bluetooth/hci_event.c mgmt_device_found(hdev, bdaddr, LE_LINK, bdaddr_type, NULL, bdaddr 5441 net/bluetooth/hci_event.c process_adv_report(hdev, ev->evt_type, &ev->bdaddr, bdaddr 5515 net/bluetooth/hci_event.c process_adv_report(hdev, legacy_evt_type, &ev->bdaddr, bdaddr 5713 net/bluetooth/hci_event.c process_adv_report(hdev, ev->evt_type, &ev->bdaddr, bdaddr 679 net/bluetooth/hci_request.c bacpy(&cp.bdaddr, ¶ms->addr); bdaddr 702 net/bluetooth/hci_request.c &b->bdaddr, b->bdaddr_type) && bdaddr 704 net/bluetooth/hci_request.c &b->bdaddr, b->bdaddr_type)) { bdaddr 708 net/bluetooth/hci_request.c bacpy(&cp.bdaddr, &b->bdaddr); bdaddr 715 net/bluetooth/hci_request.c if (hci_find_irk_by_addr(hdev, &b->bdaddr, b->bdaddr_type)) { bdaddr 1537 net/bluetooth/hci_request.c if (bacmp(&hdev->bdaddr, &nrpa)) bdaddr 1660 net/bluetooth/hci_request.c bacpy(&cp.bdaddr, &random_addr); bdaddr 1949 net/bluetooth/hci_request.c if (bacmp(&hdev->bdaddr, &nrpa)) bdaddr 1968 net/bluetooth/hci_request.c !bacmp(&hdev->bdaddr, BDADDR_ANY) || bdaddr 1993 net/bluetooth/hci_request.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &b->bdaddr); bdaddr 2244 net/bluetooth/hci_request.c bacpy(&rej.bdaddr, &conn->dst); bdaddr 2252 net/bluetooth/hci_request.c bacpy(&rej.bdaddr, &conn->dst); bdaddr 2665 net/bluetooth/hci_request.c bacpy(&cp.bdaddr, &e->data.bdaddr); bdaddr 421 net/bluetooth/hci_sock.c bacpy(&ni->bdaddr, &hdev->bdaddr); bdaddr 447 net/bluetooth/hci_sock.c bacpy(&ii->bdaddr, &hdev->bdaddr); bdaddr 890 net/bluetooth/hci_sock.c bdaddr_t bdaddr; bdaddr 893 net/bluetooth/hci_sock.c if (copy_from_user(&bdaddr, arg, sizeof(bdaddr))) bdaddr 898 net/bluetooth/hci_sock.c err = hci_bdaddr_list_add(&hdev->blacklist, &bdaddr, BDADDR_BREDR); bdaddr 907 net/bluetooth/hci_sock.c bdaddr_t bdaddr; bdaddr 910 net/bluetooth/hci_sock.c if (copy_from_user(&bdaddr, arg, sizeof(bdaddr))) bdaddr 915 net/bluetooth/hci_sock.c err = hci_bdaddr_list_del(&hdev->blacklist, &bdaddr, BDADDR_BREDR); bdaddr 76 net/bluetooth/hidp/core.c bacpy(&ci->bdaddr, &session->bdaddr); bdaddr 911 net/bluetooth/hidp/core.c static int hidp_session_new(struct hidp_session **out, const bdaddr_t *bdaddr, bdaddr 935 net/bluetooth/hidp/core.c bacpy(&session->bdaddr, bdaddr); bdaddr 1006 net/bluetooth/hidp/core.c static struct hidp_session *__hidp_session_find(const bdaddr_t *bdaddr) bdaddr 1011 net/bluetooth/hidp/core.c if (!bacmp(bdaddr, &session->bdaddr)) bdaddr 1023 net/bluetooth/hidp/core.c static struct hidp_session *hidp_session_find(const bdaddr_t *bdaddr) bdaddr 1029 net/bluetooth/hidp/core.c session = __hidp_session_find(bdaddr); bdaddr 1110 net/bluetooth/hidp/core.c s = __hidp_session_find(&session->bdaddr); bdaddr 1400 net/bluetooth/hidp/core.c session = hidp_session_find(&req->bdaddr); bdaddr 1451 net/bluetooth/hidp/core.c session = hidp_session_find(&ci->bdaddr); bdaddr 106 net/bluetooth/hidp/hidp.h bdaddr_t bdaddr; bdaddr 111 net/bluetooth/hidp/hidp.h bdaddr_t bdaddr; bdaddr 149 net/bluetooth/hidp/hidp.h bdaddr_t bdaddr; bdaddr 7001 net/bluetooth/l2cap_core.c bacpy(&bt_cb(skb)->l2cap.bdaddr, &hcon->dst); bdaddr 7324 net/bluetooth/l2cap_core.c int l2cap_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr) bdaddr 7329 net/bluetooth/l2cap_core.c BT_DBG("hdev %s, bdaddr %pMR", hdev->name, bdaddr); bdaddr 7337 net/bluetooth/l2cap_core.c if (!bacmp(&c->src, &hdev->bdaddr)) { bdaddr 1510 net/bluetooth/l2cap_sock.c bacpy(&la->l2_bdaddr, &bt_cb(skb)->l2cap.bdaddr); bdaddr 843 net/bluetooth/mgmt.c !bacmp(&hdev->bdaddr, BDADDR_ANY)) { bdaddr 977 net/bluetooth/mgmt.c bacpy(&rp.bdaddr, &hdev->bdaddr); bdaddr 1033 net/bluetooth/mgmt.c bacpy(&rp->bdaddr, &hdev->bdaddr); bdaddr 2350 net/bluetooth/mgmt.c hci_add_link_key(hdev, NULL, &key->addr.bdaddr, key->val, bdaddr 2361 net/bluetooth/mgmt.c static int device_unpaired(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 2366 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); bdaddr 2385 net/bluetooth/mgmt.c bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); bdaddr 2417 net/bluetooth/mgmt.c &cp->addr.bdaddr); bdaddr 2421 net/bluetooth/mgmt.c err = hci_remove_link_key(hdev, &cp->addr.bdaddr); bdaddr 2437 net/bluetooth/mgmt.c err = smp_cancel_and_remove_pairing(hdev, &cp->addr.bdaddr, addr_type); bdaddr 2445 net/bluetooth/mgmt.c conn = hci_conn_hash_lookup_le(hdev, &cp->addr.bdaddr, addr_type); bdaddr 2447 net/bluetooth/mgmt.c hci_conn_params_del(hdev, &cp->addr.bdaddr, addr_type); bdaddr 2458 net/bluetooth/mgmt.c params = hci_conn_params_lookup(hdev, &cp->addr.bdaddr, addr_type); bdaddr 2479 net/bluetooth/mgmt.c device_unpaired(hdev, &cp->addr.bdaddr, cp->addr.type, sk); bdaddr 2513 net/bluetooth/mgmt.c bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); bdaddr 2538 net/bluetooth/mgmt.c &cp->addr.bdaddr); bdaddr 2540 net/bluetooth/mgmt.c conn = hci_conn_hash_lookup_le(hdev, &cp->addr.bdaddr, bdaddr 2620 net/bluetooth/mgmt.c bacpy(&rp->addr[i].bdaddr, &c->dst); bdaddr 2654 net/bluetooth/mgmt.c sizeof(cp->addr.bdaddr), &cp->addr.bdaddr); bdaddr 2680 net/bluetooth/mgmt.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &cp->addr.bdaddr); bdaddr 2710 net/bluetooth/mgmt.c bacpy(&reply.bdaddr, &cp->addr.bdaddr); bdaddr 2771 net/bluetooth/mgmt.c bacpy(&rp.addr.bdaddr, &conn->dst); bdaddr 2854 net/bluetooth/mgmt.c bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); bdaddr 2876 net/bluetooth/mgmt.c if (hci_bdaddr_is_paired(hdev, &cp->addr.bdaddr, cp->addr.type)) { bdaddr 2887 net/bluetooth/mgmt.c conn = hci_connect_acl(hdev, &cp->addr.bdaddr, sec_level, bdaddr 2902 net/bluetooth/mgmt.c p = hci_conn_params_add(hdev, &cp->addr.bdaddr, addr_type); bdaddr 2907 net/bluetooth/mgmt.c conn = hci_connect_le_scan(hdev, &cp->addr.bdaddr, bdaddr 2999 net/bluetooth/mgmt.c if (bacmp(&addr->bdaddr, &conn->dst) != 0) { bdaddr 3033 net/bluetooth/mgmt.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &addr->bdaddr); bdaddr 3035 net/bluetooth/mgmt.c conn = hci_conn_hash_lookup_le(hdev, &addr->bdaddr, bdaddr 3071 net/bluetooth/mgmt.c bacpy(&cp.bdaddr, &addr->bdaddr); bdaddr 3075 net/bluetooth/mgmt.c err = hci_send_cmd(hdev, hci_op, sizeof(addr->bdaddr), bdaddr 3076 net/bluetooth/mgmt.c &addr->bdaddr); bdaddr 3672 net/bluetooth/mgmt.c err = hci_add_remote_oob_data(hdev, &cp->addr.bdaddr, bdaddr 3729 net/bluetooth/mgmt.c err = hci_add_remote_oob_data(hdev, &cp->addr.bdaddr, bdaddr 3769 net/bluetooth/mgmt.c if (!bacmp(&cp->addr.bdaddr, BDADDR_ANY)) { bdaddr 3775 net/bluetooth/mgmt.c err = hci_remove_remote_oob_data(hdev, &cp->addr.bdaddr, cp->addr.type); bdaddr 4100 net/bluetooth/mgmt.c e = hci_inquiry_cache_lookup_unknown(hdev, &cp->addr.bdaddr); bdaddr 4140 net/bluetooth/mgmt.c err = hci_bdaddr_list_add(&hdev->blacklist, &cp->addr.bdaddr, bdaddr 4176 net/bluetooth/mgmt.c err = hci_bdaddr_list_del(&hdev->blacklist, &cp->addr.bdaddr, bdaddr 4424 net/bluetooth/mgmt.c if (bacmp(&cp->bdaddr, BDADDR_ANY)) { bdaddr 4425 net/bluetooth/mgmt.c if (!bacmp(&cp->bdaddr, BDADDR_NONE)) bdaddr 4431 net/bluetooth/mgmt.c if ((cp->bdaddr.b[5] & 0xc0) != 0xc0) bdaddr 4439 net/bluetooth/mgmt.c bacpy(&hdev->static_addr, &cp->bdaddr); bdaddr 4997 net/bluetooth/mgmt.c if ((irk->addr.bdaddr.b[5] & 0xc0) != 0xc0) bdaddr 5054 net/bluetooth/mgmt.c hci_add_irk(hdev, &irk->addr.bdaddr, bdaddr 5079 net/bluetooth/mgmt.c if ((key->addr.bdaddr.b[5] & 0xc0) != 0xc0) bdaddr 5162 net/bluetooth/mgmt.c hci_add_ltk(hdev, &key->addr.bdaddr, bdaddr 5268 net/bluetooth/mgmt.c bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); bdaddr 5287 net/bluetooth/mgmt.c &cp->addr.bdaddr); bdaddr 5289 net/bluetooth/mgmt.c conn = hci_conn_hash_lookup_ba(hdev, LE_LINK, &cp->addr.bdaddr); bdaddr 5459 net/bluetooth/mgmt.c bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); bdaddr 5476 net/bluetooth/mgmt.c if (bacmp(&cp->addr.bdaddr, BDADDR_ANY)) { bdaddr 5478 net/bluetooth/mgmt.c &cp->addr.bdaddr); bdaddr 5584 net/bluetooth/mgmt.c bdaddr_t *bdaddr, u8 type, u8 action) bdaddr 5588 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); bdaddr 5605 net/bluetooth/mgmt.c !bacmp(&cp->addr.bdaddr, BDADDR_ANY)) bdaddr 5627 net/bluetooth/mgmt.c err = hci_bdaddr_list_add(&hdev->whitelist, &cp->addr.bdaddr, bdaddr 5651 net/bluetooth/mgmt.c if (!hci_is_identity_address(&cp->addr.bdaddr, addr_type)) { bdaddr 5661 net/bluetooth/mgmt.c if (hci_conn_params_set(hdev, &cp->addr.bdaddr, addr_type, bdaddr 5672 net/bluetooth/mgmt.c device_added(sk, hdev, &cp->addr.bdaddr, cp->addr.type, cp->action); bdaddr 5684 net/bluetooth/mgmt.c bdaddr_t *bdaddr, u8 type) bdaddr 5688 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); bdaddr 5704 net/bluetooth/mgmt.c if (bacmp(&cp->addr.bdaddr, BDADDR_ANY)) { bdaddr 5718 net/bluetooth/mgmt.c &cp->addr.bdaddr, bdaddr 5731 net/bluetooth/mgmt.c device_removed(sk, hdev, &cp->addr.bdaddr, bdaddr 5743 net/bluetooth/mgmt.c if (!hci_is_identity_address(&cp->addr.bdaddr, addr_type)) { bdaddr 5751 net/bluetooth/mgmt.c params = hci_conn_params_lookup(hdev, &cp->addr.bdaddr, bdaddr 5775 net/bluetooth/mgmt.c device_removed(sk, hdev, &cp->addr.bdaddr, cp->addr.type); bdaddr 5789 net/bluetooth/mgmt.c device_removed(sk, hdev, &b->bdaddr, b->bdaddr_type); bdaddr 5864 net/bluetooth/mgmt.c BT_DBG("Adding %pMR (type %u)", ¶m->addr.bdaddr, bdaddr 5889 net/bluetooth/mgmt.c hci_param = hci_conn_params_add(hdev, ¶m->addr.bdaddr, bdaddr 5977 net/bluetooth/mgmt.c if (!bacmp(&cp->bdaddr, BDADDR_ANY)) bdaddr 5987 net/bluetooth/mgmt.c changed = !!bacmp(&hdev->public_addr, &cp->bdaddr); bdaddr 5988 net/bluetooth/mgmt.c bacpy(&hdev->public_addr, &cp->bdaddr); bdaddr 6245 net/bluetooth/mgmt.c !bacmp(&hdev->bdaddr, BDADDR_ANY) || bdaddr 6251 net/bluetooth/mgmt.c memcpy(addr, &hdev->bdaddr, 6); bdaddr 7095 net/bluetooth/mgmt.c bacpy(&ev.key.addr.bdaddr, &key->bdaddr); bdaddr 7141 net/bluetooth/mgmt.c (key->bdaddr.b[5] & 0xc0) != 0xc0) bdaddr 7146 net/bluetooth/mgmt.c bacpy(&ev.key.addr.bdaddr, &key->bdaddr); bdaddr 7175 net/bluetooth/mgmt.c bacpy(&ev.irk.addr.bdaddr, &irk->bdaddr); bdaddr 7199 net/bluetooth/mgmt.c (csrk->bdaddr.b[5] & 0xc0) != 0xc0) bdaddr 7204 net/bluetooth/mgmt.c bacpy(&ev.key.addr.bdaddr, &csrk->bdaddr); bdaddr 7212 net/bluetooth/mgmt.c void mgmt_new_conn_param(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 7218 net/bluetooth/mgmt.c if (!hci_is_identity_address(bdaddr, bdaddr_type)) bdaddr 7222 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); bdaddr 7240 net/bluetooth/mgmt.c bacpy(&ev->addr.bdaddr, &conn->dst); bdaddr 7287 net/bluetooth/mgmt.c device_unpaired(hdev, &cp->addr.bdaddr, cp->addr.type, cmd->sk); bdaddr 7309 net/bluetooth/mgmt.c void mgmt_device_disconnected(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 7332 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); bdaddr 7345 net/bluetooth/mgmt.c void mgmt_disconnect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 7361 net/bluetooth/mgmt.c if (bacmp(bdaddr, &cp->addr.bdaddr)) bdaddr 7371 net/bluetooth/mgmt.c void mgmt_connect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, bdaddr 7384 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); bdaddr 7391 net/bluetooth/mgmt.c void mgmt_pin_code_request(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 secure) bdaddr 7395 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); bdaddr 7402 net/bluetooth/mgmt.c void mgmt_pin_code_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 7415 net/bluetooth/mgmt.c void mgmt_pin_code_neg_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 7428 net/bluetooth/mgmt.c int mgmt_user_confirm_request(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 7436 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); bdaddr 7445 net/bluetooth/mgmt.c int mgmt_user_passkey_request(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 7452 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); bdaddr 7459 net/bluetooth/mgmt.c static int user_pairing_resp_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 7475 net/bluetooth/mgmt.c int mgmt_user_confirm_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 7478 net/bluetooth/mgmt.c return user_pairing_resp_complete(hdev, bdaddr, link_type, addr_type, bdaddr 7482 net/bluetooth/mgmt.c int mgmt_user_confirm_neg_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 7485 net/bluetooth/mgmt.c return user_pairing_resp_complete(hdev, bdaddr, link_type, addr_type, bdaddr 7490 net/bluetooth/mgmt.c int mgmt_user_passkey_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 7493 net/bluetooth/mgmt.c return user_pairing_resp_complete(hdev, bdaddr, link_type, addr_type, bdaddr 7497 net/bluetooth/mgmt.c int mgmt_user_passkey_neg_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 7500 net/bluetooth/mgmt.c return user_pairing_resp_complete(hdev, bdaddr, link_type, addr_type, bdaddr 7505 net/bluetooth/mgmt.c int mgmt_user_passkey_notify(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 7513 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); bdaddr 7527 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, &conn->dst); bdaddr 7821 net/bluetooth/mgmt.c void mgmt_device_found(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, bdaddr 7879 net/bluetooth/mgmt.c bacpy(&ev->addr.bdaddr, bdaddr); bdaddr 7903 net/bluetooth/mgmt.c void mgmt_remote_name(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, bdaddr 7914 net/bluetooth/mgmt.c bacpy(&ev->addr.bdaddr, bdaddr); bdaddr 2106 net/bluetooth/rfcomm/core.c s = rfcomm_session_get(&conn->hdev->bdaddr, &conn->dst); bdaddr 738 net/bluetooth/sco.c bacpy(&cp.bdaddr, &conn->dst); bdaddr 745 net/bluetooth/sco.c bacpy(&cp.bdaddr, &conn->dst); bdaddr 1082 net/bluetooth/sco.c int sco_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 *flags) bdaddr 1087 net/bluetooth/sco.c BT_DBG("hdev %s, bdaddr %pMR", hdev->name, bdaddr); bdaddr 1095 net/bluetooth/sco.c if (!bacmp(&sco_pi(sk)->src, &hdev->bdaddr) || bdaddr 502 net/bluetooth/smp.c const bdaddr_t *bdaddr) bdaddr 514 net/bluetooth/smp.c BT_DBG("RPA %pMR IRK %*phN", bdaddr, 16, irk); bdaddr 516 net/bluetooth/smp.c err = smp_ah(irk, &bdaddr->b[3], hash); bdaddr 520 net/bluetooth/smp.c return !crypto_memneq(bdaddr->b, hash, 3); bdaddr 1066 net/bluetooth/smp.c bacpy(&hcon->dst, &smp->remote_irk->bdaddr); bdaddr 1074 net/bluetooth/smp.c bacpy(&smp->csrk->bdaddr, &hcon->dst); bdaddr 1080 net/bluetooth/smp.c bacpy(&smp->slave_csrk->bdaddr, &hcon->dst); bdaddr 1086 net/bluetooth/smp.c bacpy(&smp->ltk->bdaddr, &hcon->dst); bdaddr 1092 net/bluetooth/smp.c bacpy(&smp->slave_ltk->bdaddr, &hcon->dst); bdaddr 1320 net/bluetooth/smp.c bacpy(&addrinfo.bdaddr, &hcon->src); bdaddr 2404 net/bluetooth/smp.c int smp_cancel_and_remove_pairing(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 2413 net/bluetooth/smp.c err = hci_remove_ltk(hdev, bdaddr, addr_type); bdaddr 2414 net/bluetooth/smp.c hci_remove_irk(hdev, bdaddr, addr_type); bdaddr 2416 net/bluetooth/smp.c hcon = hci_conn_hash_lookup_le(hdev, bdaddr, addr_type); bdaddr 2559 net/bluetooth/smp.c if (!bacmp(&info->bdaddr, BDADDR_ANY) || bdaddr 2560 net/bluetooth/smp.c !hci_is_identity_address(&info->bdaddr, info->addr_type)) { bdaddr 2571 net/bluetooth/smp.c (bacmp(&info->bdaddr, &hcon->dst) || bdaddr 2578 net/bluetooth/smp.c bacpy(&smp->id_addr, &info->bdaddr); bdaddr 3276 net/bluetooth/smp.c bacpy(&chan->src, &hdev->bdaddr); bdaddr 96 net/bluetooth/smp.h bdaddr_t bdaddr; bdaddr 184 net/bluetooth/smp.h int smp_cancel_and_remove_pairing(struct hci_dev *hdev, bdaddr_t *bdaddr, bdaddr 192 net/bluetooth/smp.h const bdaddr_t *bdaddr);