Searched refs:key_pool (Results 1 – 2 of 2) sorted by relevance
35 static struct bt_keys key_pool[CONFIG_BT_MAX_PAIRED]; variable58 if (bt_addr_cmp(&key->addr.a, &key_pool[kdata->id].addr.a) == 0) { in find_key_in_use()80 size_t first_free_slot = ARRAY_SIZE(key_pool); in bt_keys_get_addr()84 for (i = 0; i < ARRAY_SIZE(key_pool); i++) { in bt_keys_get_addr()85 keys = &key_pool[i]; in bt_keys_get_addr()90 if (first_free_slot == ARRAY_SIZE(key_pool) && in bt_keys_get_addr()97 if (first_free_slot == ARRAY_SIZE(key_pool)) { in bt_keys_get_addr()101 for (i = 0; i < ARRAY_SIZE(key_pool); i++) { in bt_keys_get_addr()102 struct bt_keys *current = &key_pool[i]; in bt_keys_get_addr()123 first_free_slot = oldest - &key_pool[0]; in bt_keys_get_addr()[all …]
27 static struct bt_keys_link_key key_pool[CONFIG_BT_MAX_PAIRED]; variable41 for (i = 0; i < ARRAY_SIZE(key_pool); i++) { in bt_keys_find_link_key()42 key = &key_pool[i]; in bt_keys_find_link_key()66 key = &key_pool[0]; in bt_keys_get_link_key()67 for (i = 1; i < ARRAY_SIZE(key_pool); i++) { in bt_keys_get_link_key()68 struct bt_keys_link_key *current = &key_pool[i]; in bt_keys_get_link_key()119 for (i = 0; i < ARRAY_SIZE(key_pool); i++) { in bt_keys_link_key_clear_addr()120 key = &key_pool[i]; in bt_keys_link_key_clear_addr()