Lines Matching refs:refs
663 type->refs++; in ng_make_node_common()
803 node->nd_type->refs--; /* XXX maybe should get types lock? */ in ng_unref_node()
1292 tp->refs = 1; /* first ref is linked list */ in ng_newtype()
1305 if (tp->refs != 1) { in ng_rmtype()
2188 if (refcount_release(&item->apply->refs)) { in ng_flush_input_queue()
2240 refcount_acquire(&item->apply->refs); in ng_snd_item()
2344 if (refcount_release(&item->apply->refs)) { in ng_snd_item()
2498 if (refcount_release(&apply->refs)) in ng_apply_item()
2764 tp->numnodes = type->refs - 1; /* don't count list */ in ng_generic_msg()
3100 type->refs--; /* undo it */ in ng_mod_event()
3107 if (type->refs > 1) { /* make sure no nodes exist! */ in ng_mod_event()
3110 if (type->refs == 0) /* failed load, nothing to undo */ in ng_mod_event()