Home
last modified time | relevance | path

Searched refs:hk_refs (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/netgraph/
H A Dng_base.c1056 if (refcount_release(&hook->hk_refs)) { /* we were the last */ in ng_unref_hook()
1089 hook->hk_refs = 1; /* add a reference for us to return */ in ng_add_hook()
1502 hook2->hk_refs = 1; /* start with a reference for us. */ in ng_con_nodes()
3267 _NG_HOOK_NAME(hook), hook->hk_refs); in dumphook()
H A Dnetgraph.h133 int hk_refs; /* dont actually free this till 0 */ member
155 #define _NG_HOOK_REF(hook) refcount_acquire(&(hook)->hk_refs)