Lines Matching refs:btm_cb
82 p_dev_rec->timestamp = btm_cb.dev_rec_count++; in BTM_SecAddDevice()
155 list_remove(btm_cb.sec_dev_rec, p_dev_rec); in wipe_secrets_and_remove()
253 } else if (bd_addr == btm_cb.connecting_bda) in btm_sec_alloc_dev()
254 memcpy(p_dev_rec->dev_class, btm_cb.connecting_dc, DEV_CLASS_LEN); in btm_sec_alloc_dev()
334 list_node_t* n = list_foreach(btm_cb.sec_dev_rec, is_handle_equal, &handle); in btm_find_dev_by_handle()
364 list_foreach(btm_cb.sec_dev_rec, is_address_equal, (void*)&bd_addr); in btm_find_dev()
384 list_node_t* end = list_end(btm_cb.sec_dev_rec); in btm_consolidate_dev()
385 list_node_t* node = list_begin(btm_cb.sec_dev_rec); in btm_consolidate_dev()
466 list_node_t* end = list_end(btm_cb.sec_dev_rec); in btm_find_oldest_dev_rec()
467 for (list_node_t* node = list_begin(btm_cb.sec_dev_rec); node != end; in btm_find_oldest_dev_rec()
509 if (list_length(btm_cb.sec_dev_rec) > BTM_SEC_MAX_DEVICE_RECORDS) { in btm_sec_allocate_dev_rec()
516 list_append(btm_cb.sec_dev_rec, p_dev_rec); in btm_sec_allocate_dev_rec()
521 p_dev_rec->timestamp = btm_cb.dev_rec_count++; in btm_sec_allocate_dev_rec()