Lines Matching refs:p_first

82         p_cb->freeq[id].p_first = hdr;  in gki_init_free_queue()
111 if(Q->p_first == 0) in gki_alloc_free_queue()
166 p_cb->freeq[tt].p_first = 0; in gki_buffer_init()
333 p_q->p_first = p_q->p_last = NULL; in GKI_init_q()
407 if(Q->p_first == 0 && gki_alloc_free_queue(i) != TRUE) in GKI_getbuf_debug()
415 if(Q->p_first == 0) in GKI_getbuf_debug()
423 p_hdr = Q->p_first; in GKI_getbuf_debug()
424 Q->p_first = p_hdr->p_next; in GKI_getbuf_debug()
426 if (!Q->p_first) in GKI_getbuf_debug()
524 if(Q->p_first == 0 && gki_alloc_free_queue(pool_id) != TRUE) in GKI_getpoolbuf_debug()
528 if(Q->p_first == 0) in GKI_getpoolbuf_debug()
535 p_hdr = Q->p_first; in GKI_getpoolbuf_debug()
536 Q->p_first = p_hdr->p_next; in GKI_getpoolbuf_debug()
538 if (!Q->p_first) in GKI_getpoolbuf_debug()
626 Q->p_first = p_hdr; in GKI_freebuf()
835 if (p_q->p_first) in GKI_enqueue()
841 p_q->p_first = p_buf; in GKI_enqueue()
889 if (p_q->p_first) in GKI_enqueue_head()
891 p_hdr->p_next = (BUFFER_HDR_T *)((UINT8 *)p_q->p_first - BUFFER_HDR_SIZE); in GKI_enqueue_head()
892 p_q->p_first = p_buf; in GKI_enqueue_head()
896 p_q->p_first = p_buf; in GKI_enqueue_head()
933 p_hdr = (BUFFER_HDR_T *)((UINT8 *)p_q->p_first - BUFFER_HDR_SIZE); in GKI_dequeue()
938 p_q->p_first = ((UINT8 *)p_hdr->p_next + BUFFER_HDR_SIZE); in GKI_dequeue()
941 p_q->p_first = NULL; in GKI_dequeue()
975 if (p_buf == p_q->p_first) in GKI_remove_from_queue()
982 p_prev = (BUFFER_HDR_T *)((UINT8 *)p_q->p_first - BUFFER_HDR_SIZE); in GKI_remove_from_queue()
1024 return (p_q->p_first); in GKI_getfirst()
1252 p_hdr = Q->p_first; in GKI_igetpoolbuf()
1253 Q->p_first = p_hdr->p_next; in GKI_igetpoolbuf()
1255 if (!Q->p_first) in GKI_igetpoolbuf()
1492 Q->p_first = NULL; in GKI_delete_pool()