Searched refs:bm_pool (Results 1 – 1 of 1) sorted by relevance
25 int frag_size = bm_pool->frag_size; in hwbm_pool_refill()36 if (bm_pool->construct) in hwbm_pool_refill()37 if (bm_pool->construct(bm_pool, buf)) { in hwbm_pool_refill()38 hwbm_buf_free(bm_pool, buf); in hwbm_pool_refill()50 mutex_lock(&bm_pool->buf_lock); in hwbm_pool_add()51 if (bm_pool->buf_num == bm_pool->size) { in hwbm_pool_add()54 return bm_pool->buf_num; in hwbm_pool_add()57 if (buf_num + bm_pool->buf_num > bm_pool->size) { in hwbm_pool_add()64 if ((buf_num + bm_pool->buf_num) < bm_pool->buf_num) { in hwbm_pool_add()66 buf_num, bm_pool->buf_num); in hwbm_pool_add()[all …]
Completed in 2 milliseconds