Home | History | Annotate | Download | only in common

Lines Matching refs:total

48 static void gki_init_free_queue (UINT8 id, UINT16 size, UINT16 total, void *p_mem)
66 p_cb->pool_end[id] = (UINT8 *)p_mem + (act_size * total);
72 p_cb->freeq[id].total = total;
81 for (i = 0; i < total; i++)
158 p_cb->freeq[i].total = 0;
484 ** Description Called by an application to get the total number of buffers
489 ** Returns the total number of buffers in the pool
497 return (gki_cb.com.freeq[pool_id].total);
521 return ((UINT16)(Q->total - Q->cur_cnt));
564 if (Q->total == 0)
567 return ((Q->cur_cnt * 100) / Q->total);