Searched refs:p_last (Results 1 – 6 of 6) sorted by relevance
86 p_cb->freeq[id].p_last = hdr; in gki_init_free_queue()138 p_cb->freeq[tt].p_last = nullptr; in gki_buffer_init()232 p_q->p_first = p_q->p_last = nullptr; in GKI_init_q()302 if (!Q->p_first) Q->p_last = nullptr; in GKI_getbuf()363 if (!Q->p_first) Q->p_last = nullptr; in GKI_getpoolbuf()426 if (Q->p_last) in GKI_freebuf()427 Q->p_last->p_next = p_hdr; in GKI_freebuf()431 Q->p_last = p_hdr; in GKI_freebuf()621 (BUFFER_HDR_T*)((uint8_t*)p_q->p_last - BUFFER_HDR_SIZE); in GKI_enqueue()626 p_q->p_last = p_buf; in GKI_enqueue()[all …]
589 p_timer_listq->p_last = nullptr; in GKI_init_timer_list()769 if (p_timer_listq->p_last != nullptr) in GKI_add_to_timer_list()770 p_timer_listq->p_last->p_next = p_tle; in GKI_add_to_timer_list()772 p_tle->p_prev = p_timer_listq->p_last; in GKI_add_to_timer_list()776 p_timer_listq->p_last = p_tle; in GKI_add_to_timer_list()864 if (p_timer_listq->p_last == p_tle) p_timer_listq->p_last = nullptr; in GKI_remove_from_timer_list()866 if (p_timer_listq->p_last == p_tle) { in GKI_remove_from_timer_list()867 p_timer_listq->p_last = p_tle->p_prev; in GKI_remove_from_timer_list()869 if (p_timer_listq->p_last != nullptr) p_timer_listq->p_last->p_next = nullptr; in GKI_remove_from_timer_list()892 if (p_timer_listq->p_first == nullptr && p_timer_listq->p_last == nullptr) { in GKI_remove_from_timer_list()
316 TIMER_LIST_ENT* p_last; member325 void* p_last; member
61 BUFFER_HDR_T* p_last; /* last buffer in the queue */ member
1648 NFC_HDR* p_last; in nfc_ncif_proc_data() local1668 p_last = (NFC_HDR*)GKI_getlast(&p_cb->rx_q); in nfc_ncif_proc_data()1669 if (p_last && (p_last->layer_specific & NFC_RAS_FRAGMENTED)) { in nfc_ncif_proc_data()1672 size = GKI_get_buf_size(p_last); in nfc_ncif_proc_data()1673 if (size < (NFC_HDR_SIZE + p_last->len + p_last->offset + len)) { in nfc_ncif_proc_data()1681 memcpy(p_max, p_last, NFC_HDR_SIZE); in nfc_ncif_proc_data()1683 ps = (uint8_t*)(p_last + 1) + p_last->offset; in nfc_ncif_proc_data()1684 memcpy(pd, ps, p_last->len); in nfc_ncif_proc_data()1687 GKI_remove_from_queue(&p_cb->rx_q, p_last); in nfc_ncif_proc_data()1688 GKI_freebuf(p_last); in nfc_ncif_proc_data()[all …]
118 bool* p_last, uint8_t* p_num);278 bool* p_start, bool* p_last, in A2DP_ParseMplHeaderSbc() argument280 if (p_src && p_frag && p_start && p_last && p_num) { in A2DP_ParseMplHeaderSbc()283 *p_last = (*p_src & A2DP_SBC_HDR_L_MSK) ? true : false; in A2DP_ParseMplHeaderSbc()