Public Member Functions | |
Slab (Bucket &) | |
~Slab () | |
void | setIterator (ListIter It) |
ListIter | getIterator () const |
size_t | getNumAllocated () const |
void * | getChunk () |
void * | getSlab () |
void * | getPtr () const |
void * | getEnd () const |
size_t | getChunkSize () const |
size_t | getNumChunks () const |
bool | hasAvail () |
Bucket & | getBucket () |
const Bucket & | getBucket () const |
void | freeChunk (void *Ptr) |
Definition at line 352 of file usm_allocator.cpp.
Slab::Slab | ( | Bucket & | Bkt | ) |
Definition at line 592 of file usm_allocator.cpp.
References SystemMemory::allocate(), Bucket::getMemHandle(), and Bucket::SlabAllocSize().
Slab::~Slab | ( | ) |
Definition at line 602 of file usm_allocator.cpp.
References SystemMemory::deallocate(), and Bucket::getMemHandle().
void Slab::freeChunk | ( | void * | Ptr | ) |
Definition at line 688 of file usm_allocator.cpp.
References getChunkSize(), getEnd(), and getPtr().
Referenced by Bucket::freeChunk().
Bucket & Slab::getBucket | ( | ) |
Definition at line 639 of file usm_allocator.cpp.
Referenced by USMAllocContext::USMAllocImpl::deallocate(), and operator<<().
const Bucket & Slab::getBucket | ( | ) | const |
Definition at line 640 of file usm_allocator.cpp.
void * Slab::getChunk | ( | ) |
Definition at line 619 of file usm_allocator.cpp.
References getChunkSize(), and getPtr().
size_t Slab::getChunkSize | ( | ) | const |
Definition at line 642 of file usm_allocator.cpp.
References Bucket::getSize().
Referenced by freeChunk(), and getChunk().
void * Slab::getEnd | ( | ) | const |
Definition at line 710 of file usm_allocator.cpp.
References getPtr(), and Bucket::SlabMinSize().
Referenced by USMAllocContext::USMAllocImpl::deallocate(), freeChunk(), and operator<<().
|
inline |
Definition at line 391 of file usm_allocator.cpp.
Referenced by Bucket::freeSlab().
|
inline |
Definition at line 393 of file usm_allocator.cpp.
|
inline |
Definition at line 405 of file usm_allocator.cpp.
Referenced by hasAvail().
|
inline |
Definition at line 401 of file usm_allocator.cpp.
Referenced by USMAllocContext::USMAllocImpl::deallocate(), freeChunk(), getChunk(), getEnd(), getSlab(), operator<<(), and operator==().
void * Slab::getSlab | ( | ) |
Definition at line 637 of file usm_allocator.cpp.
References getPtr().
bool Slab::hasAvail | ( | ) |
Definition at line 714 of file usm_allocator.cpp.
References getNumChunks().
|
inline |
Definition at line 390 of file usm_allocator.cpp.