Searched refs:list_length (Results 1 – 17 of 17) sorted by relevance
46 size_t list_length(const list_t *list);
40 assert(list_length(connect_queue) < MAX_REASONABLE_REQUESTS); in queue_int_add()
118 length = list_length(queue->list); in fixed_queue_length()
86 size_t list_length(const list_t *list) in list_length() function
297 if (list_length(sec->entries) == 0) { in config_remove_key()
75 if (list_length(btm_cb.p_sec_dev_rec_list) < BTM_SEC_MAX_DEVICE_RECORDS) { in BTM_SecAddDevice()356 if (list_length(btm_cb.p_sec_dev_rec_list) < BTM_SEC_MAX_DEVICE_RECORDS){ in btm_sec_alloc_dev()
391 if (list_length(btm_cb.p_pm_mode_db_list) >= MAX_L2CAP_LINKS) { in btm_pm_sm_alloc()
265 if (list_length(btm_cb.p_acl_db_list) >= MAX_L2CAP_LINKS) { in btm_acl_created()1385 num_acl = list_length(btm_cb.p_acl_db_list); in BTM_GetNumAclLinks()
88 if (list_length(btm_cb.p_sec_dev_rec_list) < BTM_SEC_MAX_DEVICE_RECORDS) { in BTM_SecAddBleDevice()92 … BTM_TRACE_DEBUG ("allocate a new dev rec idx=0x%x\n", list_length(btm_cb.p_sec_dev_rec_list)); in BTM_SecAddBleDevice()
179 rcv_cid, cmd_code, list_length(l2cb.rcv_pending_q)); in l2c_rcv_acl_data()183 if (list_length(l2cb.rcv_pending_q) == 1) { in l2c_rcv_acl_data()191 cmd_code, list_length(l2cb.rcv_pending_q)); in l2c_rcv_acl_data()
76 if(p_lcb == NULL && list_length(l2cb.p_lcb_pool) < MAX_L2CAP_LINKS) { in l2cu_allocate_lcb()1489 if (list_length(l2cb.p_ccb_pool) < MAX_L2CAP_CHANNELS) { in l2cu_allocate_ccb()3692 …if (q_count > p_ccb->buff_quota || (p_lcb && (p_lcb->link_xmit_data_q) && (list_length(p_lcb->link…
1265 size_t db_size = list_length(svc); in bta_gattc_get_service_with_uuid()1505 UINT16 svc_length = list_length(services) - 1; in bta_gattc_get_db_size_with_type()1623 UINT16 svc_length = list_length(services) - 1; in bta_gattc_get_db_size()1735 *count = char_db ? list_length(char_db->descriptors) : 0; in bta_gattc_get_db_size_with_type_handle()
505 if (list_length(p_clcb->p_cmd_list) >= GATTC_COMMAND_QUEUE_SIZE_MAX) { in bta_gattc_enqueue()
1177 if (list_length(p_scbi->a2d_list) > p_bta_av_cfg->audio_mqs) { in bta_av_dup_audio_buf()
2259 if (list_length(p_scb->a2d_list) < 3) { in bta_av_data_path()
1028 if (p_tcb && list_length(gatt_cb.p_tcb_list) < GATT_MAX_PHY_CHANNEL) { in gatt_tcb_alloc()1783 if (list_length(gatt_cb.p_clcb_list) < GATT_CL_MAX_LCB) { in gatt_clcb_alloc()
2485 size_t length = list_length(adv_filter_list); in btc_get_adv_list_length()