Home
last modified time | relevance | path

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

/f-stack/freebsd/netgraph/
H A Dng_base.c1052 if (refcount_release(&hook->hk_refs)) { /* we were the last */ in ng_unref_hook()
1085 hook->hk_refs = 1; /* add a reference for us to return */ in ng_add_hook()
1498 hook2->hk_refs = 1; /* start with a reference for us. */ in ng_con_nodes()
3260 _NG_HOOK_NAME(hook), hook->hk_refs); in dumphook()
H A Dnetgraph.h119 int hk_refs; /* dont actually free this till 0 */ member
141 #define _NG_HOOK_REF(hook) refcount_acquire(&(hook)->hk_refs)
/f-stack/lib/
H A Dff_ng_base.c1058 if (refcount_release(&hook->hk_refs)) { /* we were the last */ in ng_unref_hook()
1091 hook->hk_refs = 1; /* add a reference for us to return */ in ng_add_hook()
1504 hook2->hk_refs = 1; /* start with a reference for us. */ in ng_con_nodes()
3288 _NG_HOOK_NAME(hook), hook->hk_refs); in dumphook()
/f-stack/tools/compat/include/netgraph/
H A Dnetgraph.h120 int hk_refs; /* dont actually free this till 0 */ member
142 #define _NG_HOOK_REF(hook) refcount_acquire(&(hook)->hk_refs)