Lines Matching refs:p_next
82 hdr1->p_next = hdr; in gki_init_free_queue()
85 hdr->p_next = NULL; in gki_init_free_queue()
300 Q->p_first = p_hdr->p_next; in GKI_getbuf()
311 p_hdr->p_next = NULL; in GKI_getbuf()
361 Q->p_first = p_hdr->p_next; in GKI_getpoolbuf()
372 p_hdr->p_next = NULL; in GKI_getpoolbuf()
427 Q->p_last->p_next = p_hdr; in GKI_freebuf()
432 p_hdr->p_next = NULL; in GKI_freebuf()
533 p_cb->OSTaskQLast[task_id][mbox]->p_next = p_hdr; in GKI_send_msg()
539 p_hdr->p_next = NULL; in GKI_send_msg()
573 gki_cb.com.OSTaskQFirst[task_id][mbox] = p_hdr->p_next; in GKI_read_mbox()
575 p_hdr->p_next = NULL; in GKI_read_mbox()
622 p_last_hdr->p_next = p_hdr; in GKI_enqueue()
629 p_hdr->p_next = NULL; in GKI_enqueue()
670 p_hdr->p_next = (BUFFER_HDR_T*)((uint8_t*)p_q->p_first - BUFFER_HDR_SIZE); in GKI_enqueue_head()
675 p_hdr->p_next = NULL; in GKI_enqueue_head()
711 if (p_hdr->p_next) in GKI_dequeue()
712 p_q->p_first = ((uint8_t*)p_hdr->p_next + BUFFER_HDR_SIZE); in GKI_dequeue()
720 p_hdr->p_next = NULL; in GKI_dequeue()
754 for (; p_prev; p_prev = p_prev->p_next) { in GKI_remove_from_queue()
756 if (p_prev->p_next == p_buf_hdr) { in GKI_remove_from_queue()
757 p_prev->p_next = p_buf_hdr->p_next; in GKI_remove_from_queue()
766 p_buf_hdr->p_next = NULL; in GKI_remove_from_queue()
822 if (p_hdr->p_next) in GKI_getnext()
823 return ((uint8_t*)p_hdr->p_next + BUFFER_HDR_SIZE); in GKI_getnext()
1081 p_cb->OSTaskQLast[task_id][mbox]->p_next = p_hdr; in GKI_isend_msg()
1087 p_hdr->p_next = NULL; in GKI_isend_msg()