Searched refs:nd_flags (Results 1 – 13 of 13) sorted by relevance
370 if ((sc->node->nd_flags & NG_SOURCE_ACTIVE) in ng_source_rcvmsg()683 if (sc->node->nd_flags & NG_SOURCE_ACTIVE) in ng_source_start()686 sc->node->nd_flags |= NG_SOURCE_ACTIVE; in ng_source_start()706 sc->node->nd_flags &= ~NG_SOURCE_ACTIVE; in ng_source_stop()727 || (sc->node->nd_flags & NG_SOURCE_ACTIVE) == 0) { in ng_source_intr()772 KASSERT(sc->node->nd_flags & NG_SOURCE_ACTIVE, in ng_source_send()
363 int nd_flags; /* see below for bit definitions */ member409 #define _NG_NODE_IS_VALID(node) (!((node)->nd_flags & NGF_INVALID))410 #define _NG_NODE_NOT_VALID(node) ((node)->nd_flags & NGF_INVALID)413 do{ node->nd_flags |= NGF_FORCE_WRITER; }while (0)415 do{ node->nd_flags |= NGF_HI_STACK; }while (0)417 do{ node->nd_flags |= (NGF_REALLY_DIE|NGF_INVALID); }while (0)419 do { node->nd_flags &= ~NGF_INVALID; } while (0)
713 if ((node->nd_flags & NGF_CLOSING) != 0) in ng_rmnode()730 node->nd_flags |= NGF_INVALID|NGF_CLOSING; in ng_rmnode()761 node->nd_flags &= ~(NGF_INVALID|NGF_CLOSING); in ng_rmnode()1605 node->nd_flags |= NGF_INVALID; in ng_rmnode_self()1606 if (node->nd_flags & NGF_CLOSING) in ng_rmnode_self()2255 (node->nd_flags & NGF_FORCE_WRITER) || in ng_snd_item()2286 ((node->nd_flags & NGF_HI_STACK) || (hook && in ng_snd_item()3169 if (node->nd_flags & NGF_REALLY_DIE) in vnet_netgraph_uninit()3172 node->nd_flags |= NGF_REALLY_DIE; in vnet_netgraph_uninit()3275 node->nd_numhooks, node->nd_flags, in dumpnode()
426 if (node->nd_flags & NGF_REALLY_DIE) { in ng_xxx_shutdown()
491 if (node->nd_flags & NGF_REALLY_DIE) { in ng_gif_shutdown()
754 if (node->nd_flags & NGF_REALLY_DIE) { in ng_ether_shutdown()
2466 if (node->nd_flags & NGF_REALLY_DIE) {2468 if (node->nd_flags & NG_REALLY_DIE) {2476 node->nd_flags &= ~NG_INVALID;
1322 if (node->nd_flags & NGF_REALLY_DIE) { in ng_atm_shutdown()
1467 if (node->nd_flags & NGF_REALLY_DIE) { in ng_ubt_shutdown()
2131 if (node->nd_flags & NGF_REALLY_DIE) { in ng_ct_rmnode()
2188 if (node->nd_flags & NGF_REALLY_DIE) { in ng_cp_rmnode()
2469 if (node->nd_flags & NGF_REALLY_DIE) { in ng_cx_rmnode()
5093 if ((node->nd_flags & NG_REALLY_DIE)==0)5094 node->nd_flags &= ~NG_INVALID; /* bounce back to life */