Home
last modified time | relevance | path

Searched refs:aging_counter (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.5.0/subsys/bluetooth/host/
Dkeys_br.c72 if (current->aging_counter < key->aging_counter) { in bt_keys_get_link_key()
86 key->aging_counter = ++aging_counter_val; in bt_keys_get_link_key()
194 if (aging_counter_val < link_key->aging_counter) { in link_key_set()
195 aging_counter_val = link_key->aging_counter; in link_key_set()
218 link_key->aging_counter = ++aging_counter_val; in bt_keys_link_key_update_usage()
221 LOG_DBG("Aging counter for %s is set to %u", bt_addr_str(addr), link_key->aging_counter); in bt_keys_link_key_update_usage()
Dkeys.c118 if ((oldest == NULL) || (current->aging_counter < oldest->aging_counter)) { in bt_keys_get_addr()
142 keys->aging_counter = ++aging_counter_val; in bt_keys_get_addr()
422 if (aging_counter_val < keys->aging_counter) { in keys_set()
423 aging_counter_val = keys->aging_counter; in keys_set()
470 keys->aging_counter = ++aging_counter_val; in bt_keys_update_usage()
473 LOG_DBG("Aging counter for %s is set to %u", bt_addr_le_str(addr), keys->aging_counter); in bt_keys_update_usage()
Dkeys.h78 uint32_t aging_counter; member
207 uint32_t aging_counter; member
/Zephyr-Core-3.5.0/tests/bluetooth/host/keys/bt_keys_update_usage/src/
Dtest_suite_save_aging_counter.c65 old_aging_counter = expected_updated_keys->aging_counter; in ZTEST()
72 zassert_true(expected_updated_keys->aging_counter > (old_aging_counter), in ZTEST()
Dmain.c126 old_aging_counter = expected_updated_keys->aging_counter; in ZTEST()
130 zassert_true(expected_updated_keys->aging_counter > (old_aging_counter), in ZTEST()
/Zephyr-Core-3.5.0/tests/bluetooth/host/keys/bt_keys_get_addr/src/
Dtest_suite_full_list_overwrite_oldest.c238 returned_keys_refs[1]->aging_counter = bt_keys_get_aging_counter_val(); in ZTEST()