#include <P_MultiCache.h>
Public Member Functions | |
UnsunkPtr * | ptr (int i) |
UnsunkPtr * | alloc (int *p, int base=0) |
void | alloc_data () |
UnsunkPtrRegistry () | |
~UnsunkPtrRegistry () | |
Data Fields | |
MultiCacheBase * | mc |
int | n |
UnsunkPtr * | ptrs |
UnsunkPtr * | next_free |
UnsunkPtrRegistry * | next |
Definition at line 161 of file P_MultiCache.h.
UnsunkPtrRegistry::UnsunkPtrRegistry | ( | ) |
Definition at line 1230 of file MultiCache.cc.
UnsunkPtrRegistry::~UnsunkPtrRegistry | ( | ) |
Definition at line 1235 of file MultiCache.cc.
References ats_free(), and ptrs.
UnsunkPtr * UnsunkPtrRegistry::alloc | ( | int * | p, | |
int | base = 0 | |||
) |
Definition at line 1256 of file MultiCache.cc.
References alloc(), alloc_data(), ink_assert, mc, MULTI_CACHE_UNSUNK_PTR_BLOCK_SIZE, next, next_free, UnsunkPtr::poffset, ptrs, and MultiCacheHeader::totalelements.
Referenced by MultiCacheBase::alloc(), alloc(), and MultiCacheBase::update().
void UnsunkPtrRegistry::alloc_data | ( | ) |
Definition at line 1241 of file MultiCache.cc.
References ats_malloc(), mc, MULTI_CACHE_UNSUNK_PTR_BLOCK_SIZE, n, next_free, ptrs, and MultiCacheHeader::totalelements.
Referenced by alloc().
UnsunkPtr * UnsunkPtrRegistry::ptr | ( | int | i | ) |
Definition at line 1308 of file MultiCache.cc.
References n, next, ptr(), and ptrs.
Referenced by MultiCacheBase::copy_heap_data(), MultiCacheBase::ptr(), ptr(), and MultiCacheBase::update().
Definition at line 163 of file P_MultiCache.h.
Referenced by alloc(), and alloc_data().
Definition at line 164 of file P_MultiCache.h.
Referenced by alloc_data(), MultiCacheBase::fixup_heap_offsets(), and ptr().
Definition at line 167 of file P_MultiCache.h.
Referenced by alloc(), MultiCacheBase::fixup_heap_offsets(), and ptr().
Definition at line 166 of file P_MultiCache.h.
Referenced by alloc(), alloc_data(), and MultiCacheBase::fixup_heap_offsets().
Definition at line 165 of file P_MultiCache.h.
Referenced by alloc(), alloc_data(), MultiCacheBase::fixup_heap_offsets(), ptr(), and ~UnsunkPtrRegistry().