Searched refs:p_cmd_list (Results 1 – 3 of 3) sorted by relevance
234 if (p_clcb->p_cmd_list == NULL) { in bta_gattc_clcb_alloc()235 p_clcb->p_cmd_list = list_new(osi_free_func); in bta_gattc_clcb_alloc()310 if ( p_clcb->p_q_cmd != NULL && !list_contains(p_clcb->p_cmd_list, p_clcb->p_q_cmd)){ in bta_gattc_clcb_dealloc()315 list_clear(p_clcb->p_cmd_list); in bta_gattc_clcb_dealloc()316 osi_free((void *)p_clcb->p_cmd_list); in bta_gattc_clcb_dealloc()317 p_clcb->p_cmd_list = NULL; in bta_gattc_clcb_dealloc()456 for(list_node_t *sn = list_begin(p_clcb->p_cmd_list); in bta_gattc_has_prepare_command_in_queue()457 sn != list_end(p_clcb->p_cmd_list); sn = list_next(sn)) { in bta_gattc_has_prepare_command_in_queue()501 else if (p_clcb->p_cmd_list) { in bta_gattc_enqueue()505 if (list_length(p_clcb->p_cmd_list) >= GATTC_COMMAND_QUEUE_SIZE_MAX) { in bta_gattc_enqueue()[all …]
1626 if (!list_is_empty(p_clcb->p_cmd_list)) { in bta_gattc_pop_command_to_send()1627 list_node_t *node = list_begin(p_clcb->p_cmd_list); in bta_gattc_pop_command_to_send()1634 list_remove(p_clcb->p_cmd_list, (void *)p_data); in bta_gattc_pop_command_to_send()1662 assert(p_clcb->p_cmd_list); in bta_gattc_free_command_data()1664 if (!list_is_empty(p_clcb->p_cmd_list)) { in bta_gattc_free_command_data()1667 … for (list_node_t *node = list_begin(p_clcb->p_cmd_list); node != list_end(p_clcb->p_cmd_list); in bta_gattc_free_command_data()1671 list_remove(p_clcb->p_cmd_list, (void *)p_data); in bta_gattc_free_command_data()
369 list_t *p_cmd_list; /* The list to store the command to be sent */ member