MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / searchMtraceNode

Function searchMtraceNode

src/library/common/trace_malloc.c:76–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76static MtraceNode
77*searchMtraceNode(void *ptr)
78{
79 ListNode *node;
80
81 MTRACE_LOCK();
82 node = listNodeSearch(&traceList, ptr, cmpNode);
83 MTRACE_UNLOCK();
84
85 return (node) ? container_of(node, node, MtraceNode) : NULL;
86}
87
88static void
89freeNode(ListNode *node)

Callers 2

debugReallocFunction · 0.85
debugFreeFunction · 0.85

Calls 1

listNodeSearchFunction · 0.85

Tested by

no test coverage detected