Lines Matching refs:p_mem
46 static void gki_init_free_queue (UINT8 id, UINT16 size, UINT16 total, void *p_mem)
61 if(p_mem)
63 p_cb->pool_start[id] = (UINT8 *)p_mem;
64 p_cb->pool_end[id] = (UINT8 *)p_mem + (act_size * total);
75 LOGD("gki_init_free_queue() init pool=%d, size=%d (aligned=%d) total=%d start=%p", id, size, tempsize, total, p_mem);
79 if(p_mem)
81 hdr = (BUFFER_HDR_T *)p_mem;
113 void* p_mem = GKI_os_malloc((Q->size + BUFFER_PADDING_SIZE) * Q->total);
114 if(p_mem)
120 gki_init_free_queue(id, Q->size, Q->total, p_mem);