Lines Matching refs:btm_cb
84 p_dev_rec->timestamp = btm_cb.dev_rec_count++; in BTM_SecAddDevice()
157 list_remove(btm_cb.sec_dev_rec, p_dev_rec); in wipe_secrets_and_remove()
259 } else if (bd_addr == btm_cb.connecting_bda) in btm_sec_alloc_dev()
260 memcpy(p_dev_rec->dev_class, btm_cb.connecting_dc, DEV_CLASS_LEN); in btm_sec_alloc_dev()
340 list_node_t* n = list_foreach(btm_cb.sec_dev_rec, is_handle_equal, &handle); in btm_find_dev_by_handle()
370 list_foreach(btm_cb.sec_dev_rec, is_address_equal, (void*)&bd_addr); in btm_find_dev()
390 list_node_t* end = list_end(btm_cb.sec_dev_rec); in btm_consolidate_dev()
391 list_node_t* node = list_begin(btm_cb.sec_dev_rec); in btm_consolidate_dev()
472 list_node_t* end = list_end(btm_cb.sec_dev_rec); in btm_find_oldest_dev_rec()
473 for (list_node_t* node = list_begin(btm_cb.sec_dev_rec); node != end; in btm_find_oldest_dev_rec()
515 if (list_length(btm_cb.sec_dev_rec) > BTM_SEC_MAX_DEVICE_RECORDS) { in btm_sec_allocate_dev_rec()
522 list_append(btm_cb.sec_dev_rec, p_dev_rec); in btm_sec_allocate_dev_rec()
527 p_dev_rec->timestamp = btm_cb.dev_rec_count++; in btm_sec_allocate_dev_rec()