Lines Matching refs:refs
667 type->refs++; in ng_make_node_common()
809 node->nd_type->refs--; /* XXX maybe should get types lock? */ in ng_unref_node()
1298 tp->refs = 1; /* first ref is linked list */ in ng_newtype()
1311 if (tp->refs != 1) { in ng_rmtype()
2195 if (refcount_release(&item->apply->refs)) { in ng_flush_input_queue()
2250 refcount_acquire(&item->apply->refs); in ng_snd_item()
2362 if (refcount_release(&item->apply->refs)) { in ng_snd_item()
2518 if (refcount_release(&apply->refs)) in ng_apply_item()
2784 tp->numnodes = type->refs - 1; /* don't count list */ in ng_generic_msg()
3124 type->refs--; /* undo it */ in ng_mod_event()
3131 if (type->refs > 1) { /* make sure no nodes exist! */ in ng_mod_event()
3134 if (type->refs == 0) /* failed load, nothing to undo */ in ng_mod_event()