Home
last modified time | relevance | path

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

/system/nfc/src/gki/common/
Dgki_buffer.cc95 Q = &p_cb->freeq[p_cb->pool_list[id]]; in gki_alloc_free_queue()
214 p_cb->pool_list[i] = i; in gki_buffer_init()
267 if (size <= p_cb->freeq[p_cb->pool_list[i]].size) break; in GKI_getbuf()
282 if (((uint16_t)1 << p_cb->pool_list[i]) & p_cb->pool_access_mask) continue; in GKI_getbuf()
284 Q = &p_cb->freeq[p_cb->pool_list[i]]; in GKI_getbuf()
937 if (p_cb->freeq[pool_id].size <= p_cb->freeq[p_cb->pool_list[i]].size) in gki_add_to_pool_list()
943 p_cb->pool_list[j] = p_cb->pool_list[j - 1]; in gki_add_to_pool_list()
946 p_cb->pool_list[i] = pool_id; in gki_add_to_pool_list()
966 if (pool_id == p_cb->pool_list[i]) break; in gki_remove_from_pool_list()
970 p_cb->pool_list[i] = p_cb->pool_list[i + 1]; in gki_remove_from_pool_list()
Dgki_common.h256 uint8_t pool_list[GKI_NUM_TOTAL_BUF_POOLS]; /* buffer pools arranged in the member