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

Function ink_freelist_free

src/tscore/ink_queue.cc:306–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304} // end anonymous namespace
305
306void
307ink_freelist_free(InkFreeList *f, void *item)
308{
309 if (likely(item != nullptr)) {
310 ink_assert(f->used != 0);
311 freelist_global_ops->fl_free(f, item);
312 ink_atomic_decrement(reinterpret_cast<int *>(&f->used), 1);
313 }
314}
315
316namespace
317{

Callers 3

test_case_1Function · 0.85
testFunction · 0.85
free_voidMethod · 0.85

Calls 1

ink_atomic_decrementFunction · 0.85

Tested by 2

test_case_1Function · 0.68
testFunction · 0.68