MCPcopy Create free account
hub / github.com/apache/trafficserver / new_EvacuationBlock

Function new_EvacuationBlock

src/iocore/cache/PreservationTable.h:203–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201extern ClassAllocator<EvacuationKey, false> evacuationKeyAllocator;
202
203inline EvacuationBlock *
204new_EvacuationBlock()
205{
206 EvacuationBlock *b = THREAD_ALLOC(evacuationBlockAllocator, this_ethread());
207 b->init = 0;
208 b->readers = 0;
209 b->earliest_evacuator = nullptr;
210 b->evac_frags.link.next = nullptr;
211 return b;
212}
213
214inline void
215free_EvacuationBlock(EvacuationBlock *b)

Callers 4

force_evacuate_headMethod · 0.85
acquireMethod · 0.85
dir_lookaside_insertFunction · 0.85
evacuate_fragmentsFunction · 0.85

Calls 1

this_ethreadFunction · 0.85

Tested by

no test coverage detected