Home | History | Annotate | Download | only in common

Lines Matching refs:total

38 static void gki_init_free_queue (UINT8 id, UINT16 size, UINT16 total, void *p_mem)
57 p_cb->pool_end[id] = (UINT8 *)p_mem + (act_size * total);
64 p_cb->freeq[id].total = total;
74 for (i = 0; i < total; i++)
104 void* p_mem = GKI_os_malloc((Q->size + BUFFER_PADDING_SIZE) * Q->total);
108 GKI_TRACE("\ngki_alloc_free_queue calling gki_init_free_queue, id:%d size:%d, totol:%d\n", id, Q->size, Q->total);
109 gki_init_free_queue(id, Q->size, Q->total, p_mem);
110 GKI_TRACE("\ngki_alloc_free_queue ret OK, id:%d size:%d, totol:%d\n", id, Q->size, Q->total);
179 p_cb->freeq[tt].total = 0;
406 if(Q->cur_cnt < Q->total)
473 if(Q->cur_cnt < Q->total)
1177 if(Q->cur_cnt < Q->total)
1204 ** Description Called by an application to get the total number of buffers
1209 ** Returns the total number of buffers in the pool
1217 return (gki_cb.com.freeq[pool_id].total);
1241 return ((UINT16)(Q->total - Q->cur_cnt));
1416 Q->total = 0;
1480 if (Q->total == 0)
1483 return ((Q->cur_cnt * 100) / Q->total);