MCPcopy Create free account
hub / github.com/apache/cloudberry / dlist_delete

Function dlist_delete

src/include/lib/ilist.h:357–362  ·  view source on GitHub ↗

* Delete 'node' from its list (it must be in one). */

Source from the content-addressed store, hash-verified

355 * Delete 'node' from its list (it must be in one).
356 */
357static inline void
358dlist_delete(dlist_node *node)
359{
360 node->prev->next = node->next;
361 node->next->prev = node->prev;
362}
363
364/*
365 * Remove and return the first node from a list (there must be one).

Callers 15

ForgetResourceCallbackFunction · 0.85
ReleaseResourceCallbackFunction · 0.85
DropCachedPlanFunction · 0.85
FreeCachedExpressionFunction · 0.85
CatCacheRemoveCTupFunction · 0.85
CatCacheRemoveCListFunction · 0.85
RehashCatCacheFunction · 0.85
SlabResetFunction · 0.85
SlabAllocFunction · 0.85
SlabFreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected