Searched refs:pool_idx (Results 1 – 6 of 6) sorted by relevance
216 const std::size_t pool_idx = priv_pool_index(bytes); in do_allocate() local217 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() local236 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()[all …]
66 std::size_t unsynchronized_pool_resource::pool_next_blocks_per_chunk(std::size_t pool_idx) const in pool_next_blocks_per_chunk()67 { return m_resource.pool_next_blocks_per_chunk(pool_idx); } in pool_next_blocks_per_chunk()69 std::size_t unsynchronized_pool_resource::pool_block(std::size_t pool_idx) const in pool_block()70 { return m_resource.pool_block(pool_idx); } in pool_block()72 std::size_t unsynchronized_pool_resource::pool_cached_blocks(std::size_t pool_idx) const in pool_cached_blocks()73 { return m_resource.pool_cached_blocks(pool_idx); } in pool_cached_blocks()
98 std::size_t synchronized_pool_resource::pool_next_blocks_per_chunk(std::size_t pool_idx) const in pool_next_blocks_per_chunk()99 { return m_pool_resource.pool_next_blocks_per_chunk(pool_idx); } in pool_next_blocks_per_chunk()101 std::size_t synchronized_pool_resource::pool_block(std::size_t pool_idx) const in pool_block()102 { return m_pool_resource.pool_block(pool_idx); } in pool_block()104 std::size_t synchronized_pool_resource::pool_cached_blocks(std::size_t pool_idx) const in pool_cached_blocks()105 { return m_pool_resource.pool_cached_blocks(pool_idx); } in pool_cached_blocks()
170 std::size_t pool_next_blocks_per_chunk(std::size_t pool_idx) const;177 std::size_t pool_block(std::size_t pool_idx) const;185 std::size_t pool_cached_blocks(std::size_t pool_idx) const;
124 std::size_t pool_next_blocks_per_chunk(std::size_t pool_idx) const;127 std::size_t pool_block(std::size_t pool_idx) const;130 std::size_t pool_cached_blocks(std::size_t pool_idx) const;
167 std::size_t pool_next_blocks_per_chunk(std::size_t pool_idx) const;174 std::size_t pool_block(std::size_t pool_idx) const;182 std::size_t pool_cached_blocks(std::size_t pool_idx) const;