Home
last modified time | relevance | path

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

/system/nfc/src/gki/common/
Dgki_buffer.cc61 p_cb->pool_start[id] = (uint8_t*)p_mem; in gki_init_free_queue()
135 p_cb->pool_start[tt] = nullptr; in gki_buffer_init()
957 if ((p_ua > p_cb->pool_start[xx]) && (p_ua < p_cb->pool_end[xx])) { in GKI_find_buf_start()
958 yy = (uint32_t)(p_ua - p_cb->pool_start[xx]); in GKI_find_buf_start()
964 return ((void*)(p_cb->pool_start[xx] + yy + sizeof(BUFFER_HDR_T))); in GKI_find_buf_start()
1222 if (!p_cb->pool_start[xx]) break; in GKI_create_pool()
1264 if ((pool_id >= GKI_NUM_TOTAL_BUF_POOLS) || (!p_cb->pool_start[pool_id])) in GKI_delete_pool()
1278 GKI_os_free(p_cb->pool_start[pool_id]); in GKI_delete_pool()
1280 p_cb->pool_start[pool_id] = nullptr; in GKI_delete_pool()
Dgki_common.h246 uint8_t* pool_start[GKI_NUM_TOTAL_BUF_POOLS]; /* array of pointers to the member