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);
340 void* GKI_getpoolbuf(uint8_t pool_id) { in GKI_getpoolbuf() argument
345 if (pool_id >= GKI_NUM_TOTAL_BUF_POOLS) return (nullptr); in GKI_getpoolbuf()
350 Q = &p_cb->freeq[pool_id]; in GKI_getpoolbuf()
352 if (Q->p_first == nullptr && gki_alloc_free_queue(pool_id) != true) return nullptr; in GKI_getpoolbuf()
382 return (GKI_getbuf(p_cb->freeq[pool_id].size)); in GKI_getpoolbuf()
903 uint8_t GKI_set_pool_permission(uint8_t pool_id, uint8_t permission) { in GKI_set_pool_permission() argument
906 if (pool_id < GKI_NUM_TOTAL_BUF_POOLS) { in GKI_set_pool_permission()
909 (uint16_t)(p_cb->pool_access_mask | (1 << pool_id)); in GKI_set_pool_permission()
[all …]