#include <PoolChunked.h>
![Collaboration graph](classMemChunk__coll__graph.png)
Public Member Functions | |
MemChunk (MemPoolChunked *pool) | |
~MemChunk () | |
Public Attributes | |
void * | freeList |
void * | objCache |
int | inuse_count |
MemChunk * | nextFreeChunk |
MemChunk * | next |
time_t | lastref |
MemPoolChunked * | pool |
Detailed Description
Definition at line 54 of file PoolChunked.h.
Constructor & Destructor Documentation
◆ MemChunk()
MemChunk::MemChunk | ( | MemPoolChunked * | pool | ) |
Definition at line 104 of file PoolChunked.cc.
References MemPoolChunked::allChunks, Mem::PoolMeter::alloc, MemPoolChunked::chunk_capacity, MemPoolChunked::chunk_size, MemPoolChunked::chunkCount, Mem::Allocator::doZero, freeList, Mem::PoolMeter::idle, Splay< V >::insert(), inuse_count, lastref, memCompChunks(), Mem::Allocator::meter, next, MemPoolChunked::nextFreeChunk, nextFreeChunk, objCache, Mem::Allocator::objectSize, pool, squid_curtime, VALGRIND_MAKE_MEM_NOACCESS, xcalloc(), and xmalloc.
◆ ~MemChunk()
MemChunk::~MemChunk | ( | ) |
Definition at line 154 of file PoolChunked.cc.
References MemPoolChunked::allChunks, Mem::PoolMeter::alloc, MemPoolChunked::chunk_capacity, MemPoolChunked::chunkCount, Mem::PoolMeter::idle, memCompChunks(), Mem::Allocator::meter, objCache, pool, Splay< V >::remove(), and xfree.
Member Data Documentation
◆ freeList
void* MemChunk::freeList |
Definition at line 59 of file PoolChunked.h.
Referenced by MemPoolChunked::convertFreeCacheToChunkFreeCache(), MemPoolChunked::get(), and MemChunk().
◆ inuse_count
int MemChunk::inuse_count |
Definition at line 61 of file PoolChunked.h.
Referenced by MemPoolChunked::clean(), MemPoolChunked::convertFreeCacheToChunkFreeCache(), MemPoolChunked::get(), MemPoolChunked::getStats(), and MemChunk().
◆ lastref
time_t MemChunk::lastref |
Definition at line 64 of file PoolChunked.h.
Referenced by MemPoolChunked::clean(), MemPoolChunked::convertFreeCacheToChunkFreeCache(), MemPoolChunked::get(), and MemChunk().
◆ next
MemChunk* MemChunk::next |
Definition at line 63 of file PoolChunked.h.
Referenced by MemPoolChunked::clean(), MemPoolChunked::createChunk(), MemPoolChunked::getStats(), MemChunk(), and MemPoolChunked::~MemPoolChunked().
◆ nextFreeChunk
MemChunk* MemChunk::nextFreeChunk |
Definition at line 62 of file PoolChunked.h.
Referenced by MemPoolChunked::clean(), MemPoolChunked::get(), and MemChunk().
◆ objCache
void* MemChunk::objCache |
Definition at line 60 of file PoolChunked.h.
Referenced by MemPoolChunked::clean(), MemPoolChunked::createChunk(), MemChunk(), memCompChunks(), memCompObjChunks(), and ~MemChunk().
◆ pool
MemPoolChunked* MemChunk::pool |
Definition at line 65 of file PoolChunked.h.
Referenced by MemChunk(), memCompObjChunks(), and ~MemChunk().
The documentation for this class was generated from the following files:
- src/mem/PoolChunked.h
- src/mem/PoolChunked.cc
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products