Lines Matching refs:pool_idx
216 const std::size_t pool_idx = priv_pool_index(bytes); in do_allocate() local
217 pool_data_t & pool = m_pool_data[pool_idx]; in do_allocate()
220 pool.replenish(m_upstream, priv_pool_block(pool_idx), m_options.max_blocks_per_chunk); in do_allocate()
235 const std::size_t pool_idx = priv_pool_index(bytes); in do_deallocate() local
236 return m_pool_data[pool_idx].deallocate_block(p); in do_deallocate()
264 std::size_t pool_resource::pool_next_blocks_per_chunk(std::size_t pool_idx) const in pool_next_blocks_per_chunk()
266 if(BOOST_LIKELY((m_pool_data && pool_idx < m_pool_count))){ in pool_next_blocks_per_chunk()
267 return m_pool_data[pool_idx].next_blocks_per_chunk; in pool_next_blocks_per_chunk()
274 std::size_t pool_resource::pool_block(std::size_t pool_idx) const in pool_block()
275 { return priv_pool_block(pool_idx); } in pool_block()
277 std::size_t pool_resource::pool_cached_blocks(std::size_t pool_idx) const in pool_cached_blocks()
279 if(BOOST_LIKELY((m_pool_data && pool_idx < m_pool_count))){ in pool_cached_blocks()
280 return m_pool_data[pool_idx].cache_count(); in pool_cached_blocks()