Home
last modified time | relevance | path

Searched refs:cur_cnt (Results 1 – 2 of 2) sorted by relevance

/system/nfc/src/gki/common/
Dgki_buffer.cc67 p_cb->freeq[id].cur_cnt = 0; in gki_init_free_queue()
141 p_cb->freeq[tt].cur_cnt = 0; in gki_buffer_init()
285 if (Q->cur_cnt < Q->total) { in GKI_getbuf()
304 if (++Q->cur_cnt > Q->max_cnt) Q->max_cnt = Q->cur_cnt; in GKI_getbuf()
351 if (Q->cur_cnt < Q->total) { in GKI_getpoolbuf()
365 if (++Q->cur_cnt > Q->max_cnt) Q->max_cnt = Q->cur_cnt; in GKI_getpoolbuf()
435 if (Q->cur_cnt > 0) Q->cur_cnt--; in GKI_freebuf()
1014 return ((uint16_t)(Q->total - Q->cur_cnt)); in GKI_poolfreecount()
1176 if (!Q->cur_cnt) { in GKI_delete_pool()
1179 Q->cur_cnt = 0; in GKI_delete_pool()
[all …]
Dgki_common.h64 uint16_t cur_cnt; /* number of buffers currently allocated */ member