Searched refs:p_q (Results 1 – 3 of 3) sorted by relevance
231 void GKI_init_q(BUFFER_Q* p_q) { in GKI_init_q() argument232 p_q->p_first = p_q->p_last = nullptr; in GKI_init_q()233 p_q->count = 0; in GKI_init_q()598 void GKI_enqueue(BUFFER_Q* p_q, void* p_buf) { in GKI_enqueue() argument619 if (p_q->p_first) { in GKI_enqueue()621 (BUFFER_HDR_T*)((uint8_t*)p_q->p_last - BUFFER_HDR_SIZE); in GKI_enqueue()624 p_q->p_first = p_buf; in GKI_enqueue()626 p_q->p_last = p_buf; in GKI_enqueue()627 p_q->count++; in GKI_enqueue()649 void GKI_enqueue_head(BUFFER_Q* p_q, void* p_buf) { in GKI_enqueue_head() argument[all …]
68 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_enq_resolving_list_pending() local70 p_q->resolve_q_random_pseudo[p_q->q_next] = pseudo_bda; in btm_ble_enq_resolving_list_pending()71 p_q->resolve_q_action[p_q->q_next] = op_code; in btm_ble_enq_resolving_list_pending()72 p_q->q_next++; in btm_ble_enq_resolving_list_pending()73 p_q->q_next %= controller_get_interface()->get_ble_resolving_list_max_size(); in btm_ble_enq_resolving_list_pending()90 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_brcm_find_resolving_pending_entry() local92 for (uint8_t i = p_q->q_pending; i != p_q->q_next;) { in btm_ble_brcm_find_resolving_pending_entry()93 if (p_q->resolve_q_random_pseudo[i] == pseudo_addr && in btm_ble_brcm_find_resolving_pending_entry()94 action == p_q->resolve_q_action[i]) in btm_ble_brcm_find_resolving_pending_entry()116 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_deq_resolving_pending() local[all …]
1177 tL2C_CCB_Q* p_q = NULL; in l2cu_enqueue_ccb() local1181 if (p_ccb->p_lcb != NULL) p_q = &p_ccb->p_lcb->ccb_queue; in l2cu_enqueue_ccb()1183 if ((!p_ccb->in_use) || (p_q == NULL)) { in l2cu_enqueue_ccb()1193 if (!p_q->p_first_ccb) { in l2cu_enqueue_ccb()1194 p_q->p_first_ccb = p_q->p_last_ccb = p_ccb; in l2cu_enqueue_ccb()1197 p_ccb1 = p_q->p_first_ccb; in l2cu_enqueue_ccb()1204 if (p_ccb1 == p_q->p_first_ccb) in l2cu_enqueue_ccb()1205 p_q->p_first_ccb = p_ccb; in l2cu_enqueue_ccb()1221 p_q->p_last_ccb->p_next_ccb = p_ccb; in l2cu_enqueue_ccb()1224 p_ccb->p_prev_ccb = p_q->p_last_ccb; in l2cu_enqueue_ccb()[all …]