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.cc69 p_cb->freeq[id].cur_cnt = 0; in gki_init_free_queue()
143 p_cb->freeq[tt].cur_cnt = 0; in gki_buffer_init()
302 if (++Q->cur_cnt > Q->max_cnt) Q->max_cnt = Q->cur_cnt; in GKI_getbuf()
306 "%s %p %d:%d", __func__, ((uint8_t*)p_hdr + BUFFER_HDR_SIZE), Q->cur_cnt, in GKI_getbuf()
339 if (Q->cur_cnt < Q->total) { in GKI_getbuf()
358 if (++Q->cur_cnt > Q->max_cnt) Q->max_cnt = Q->cur_cnt; in GKI_getbuf()
432 if (Q->cur_cnt < Q->total) { in GKI_getpoolbuf()
446 if (++Q->cur_cnt > Q->max_cnt) Q->max_cnt = Q->cur_cnt; in GKI_getpoolbuf()
505 if (Q->cur_cnt > 0) Q->cur_cnt--; in GKI_freebuf()
525 if (Q->cur_cnt > 0) Q->cur_cnt--; in GKI_freebuf()
[all …]
Dgki_common.h67 uint16_t cur_cnt; /* number of buffers currently allocated */ member