MCPcopy Create free account
hub / github.com/F-Stack/f-stack / _chkhook

Function _chkhook

freebsd/netgraph/netgraph.h:189–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187 int line);
188
189static __inline void
190_chkhook(hook_p hook, char *file, int line)
191{
192 if (hook->hk_magic != HK_MAGIC) {
193 printf("Accessing freed ");
194 dumphook(hook, file, line);
195 }
196 hook->lastline = line;
197 hook->lastfile = file;
198}
199
200static __inline void
201_ng_hook_ref(hook_p hook, char * file, int line)

Callers 15

_ng_hook_refFunction · 0.70
_ng_hook_nameFunction · 0.70
_ng_hook_unrefFunction · 0.70
_ng_hook_set_privateFunction · 0.70
_ng_hook_set_rcvmsgFunction · 0.70
_ng_hook_set_rcvdataFunction · 0.70
_ng_hook_privateFunction · 0.70
_ng_hook_not_validFunction · 0.70
_ng_hook_is_validFunction · 0.70
_ng_hook_nodeFunction · 0.70
_ng_hook_peerFunction · 0.70
_ng_hook_force_writerFunction · 0.70

Calls 2

dumphookFunction · 0.70
printfFunction · 0.50

Tested by

no test coverage detected