Home
last modified time | relevance | path

Searched refs:random_addr (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/arch/x86/boot/compressed/
Dkaslr.c824 unsigned long slots, random_addr; in find_random_virt_addr() local
833 random_addr = kaslr_get_random_long("Virtual") % slots; in find_random_virt_addr()
835 return random_addr * CONFIG_PHYSICAL_ALIGN + minimum; in find_random_virt_addr()
848 unsigned long random_addr, min_addr; in choose_random_location() local
875 random_addr = find_random_phys_addr(min_addr, output_size); in choose_random_location()
876 if (!random_addr) { in choose_random_location()
880 if (*output != random_addr) in choose_random_location()
881 *output = random_addr; in choose_random_location()
887 random_addr = find_random_virt_addr(LOAD_PHYSICAL_ADDR, output_size); in choose_random_location()
888 *virt_addr = random_addr; in choose_random_location()
/linux-6.6.21/net/bluetooth/
Dhci_sync.c970 if (bacmp(&hdev->static_addr, &hdev->random_addr)) in hci_update_random_address_sync()
1022 bdaddr_t *random_addr) in hci_set_adv_set_random_addr_sync() argument
1033 err = hci_set_random_addr_sync(hdev, random_addr); in hci_set_adv_set_random_addr_sync()
1041 bacpy(&cp.bdaddr, random_addr); in hci_set_adv_set_random_addr_sync()
1052 bdaddr_t random_addr; in hci_setup_ext_adv_instance_sync() local
1093 &own_addr_type, &random_addr); in hci_setup_ext_adv_instance_sync()
1163 bacmp(&random_addr, BDADDR_ANY)) { in hci_setup_ext_adv_instance_sync()
1166 if (!bacmp(&random_addr, &adv->random_addr)) in hci_setup_ext_adv_instance_sync()
1169 if (!bacmp(&random_addr, &hdev->random_addr)) in hci_setup_ext_adv_instance_sync()
1174 &random_addr); in hci_setup_ext_adv_instance_sync()
[all …]
Dhci_request.c708 if (bacmp(&hdev->static_addr, &hdev->random_addr)) in hci_update_random_address()
Dhci_event.c1414 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()
2895 bacpy(&conn->init_addr, &hdev->random_addr); in cs_le_create_conn()
5857 &conn->hdev->random_addr); in le_conn_update_addr()
6133 bacpy(&conn->resp_addr, &hdev->random_addr); in hci_le_ext_adv_term_evt()
6138 bacpy(&conn->resp_addr, &adv->random_addr); in hci_le_ext_adv_term_evt()
Dhci_debugfs.c719 seq_printf(f, "%pMR\n", &hdev->random_addr); in random_address_show()
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dp2p.c466 bool random_addr = false; in brcmf_p2p_generate_bss_mac() local
474 random_addr = true; in brcmf_p2p_generate_bss_mac()
484 if (random_addr) in brcmf_p2p_generate_bss_mac()
/linux-6.6.21/include/net/bluetooth/
Dhci_core.h265 bdaddr_t random_addr; member
368 bdaddr_t random_addr; member
1840 #define adv_rpa_valid(adv) (bacmp(&adv->random_addr, BDADDR_ANY) && \