Searched refs:hk_refs (Results 1 – 4 of 4) sorted by relevance
1052 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()
119 int hk_refs; /* dont actually free this till 0 */ member141 #define _NG_HOOK_REF(hook) refcount_acquire(&(hook)->hk_refs)
1058 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()
120 int hk_refs; /* dont actually free this till 0 */ member142 #define _NG_HOOK_REF(hook) refcount_acquire(&(hook)->hk_refs)