Lines Matching refs:small_
268 small_ (pd, RDMA_POOL_SMALL_CHUNK_SIZE, 1024, RDMA_POOL_MAX_SMALL_CHUNKS), in rdma_memory_pool()
275 small_.allocate_pool(RDMA_POOL_MAX_SMALL_CHUNKS); in rdma_memory_pool()
293 ok = ok && small_.DeallocatePool(); in deallocate_pools()
315 else if (length<=small_.chunk_size_) { in can_allocate_unsafe()
316 return !small_.free_list_.empty(); in can_allocate_unsafe()
336 else if (length<=small_.chunk_size_) { in allocate_region()
337 region = small_.pop(); in allocate_region()
354 << " chunksize " << hexlength(small_.chunk_size_) << " " in allocate_region()
357 << " used " << decnumber(this->small_.used_) in allocate_region()
358 << " free (s) " << (RDMA_POOL_MAX_SMALL_CHUNKS-small_.used_) in allocate_region()
359 << " used " << decnumber(this->small_.used_) in allocate_region()
392 else if (region->get_size()<=small_.chunk_size_) { in deallocate()
393 small_.push(region); in deallocate()
406 << " used " << decnumber(this->small_.used_) in deallocate()
407 << " free (s) " << (RDMA_POOL_MAX_SMALL_CHUNKS-small_.used_) in deallocate()
408 << " used " << decnumber(this->small_.used_) in deallocate()
469 pool_container<rdma_chunk_pool<memory_region_allocator>, pool_small> small_; member