Home
last modified time | relevance | path

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

/system/nfc/src/gki/common/
Dgki_buffer.cc27 static void gki_add_to_pool_list(uint8_t pool_id);
28 static void gki_remove_from_pool_list(uint8_t pool_id);
395 void* GKI_getpoolbuf(uint8_t pool_id) { in GKI_getpoolbuf() argument
398 switch (pool_id) { in GKI_getpoolbuf()
411 LOG(ERROR) << StringPrintf("Unknown pool ID: %d", pool_id); in GKI_getpoolbuf()
426 if (pool_id >= GKI_NUM_TOTAL_BUF_POOLS) return (nullptr); in GKI_getpoolbuf()
431 Q = &p_cb->freeq[pool_id]; in GKI_getpoolbuf()
433 if (Q->p_first == nullptr && gki_alloc_free_queue(pool_id) != true) return nullptr; in GKI_getpoolbuf()
463 return (GKI_getbuf(p_cb->freeq[pool_id].size)); in GKI_getpoolbuf()
997 uint8_t GKI_set_pool_permission(uint8_t pool_id, uint8_t permission) { in GKI_set_pool_permission() argument
[all …]