Lines Matching defs:n
99 net_instance_int_t *n;
115 LIST_FOREACH(n, &neti_instance_list, nini_next) {
121 dup = net_instance_int_create(n->nini_instance, n);
147 net_instance_int_t *n;
166 LIST_FOREACH(n, &nts->nts_instances, nini_next) {
167 if (n->nini_instance->nin_shutdown == NULL) {
172 n->nini_flags |= NSS_SHUTDOWN_COMPLETED;
182 if ((n->nini_flags & (NSS_DESTROY_ALL|NSS_SHUTDOWN_ALL)) == 0)
183 n->nini_flags |= NSS_SHUTDOWN_NEEDED;
215 net_instance_int_t *n;
231 LIST_FOREACH(n, &nts->nts_instances, nini_next) {
232 ASSERT((n->nini_flags & NSS_SHUTDOWN_ALL) != 0);
233 if ((n->nini_flags & NSS_DESTROY_ALL) == 0)
234 n->nini_flags |= NSS_DESTROY_NEEDED;
241 n = LIST_FIRST(&nts->nts_instances);
242 LIST_REMOVE(n, nini_next);
244 net_instance_int_free(n);
508 net_instance_int_t *n;
512 n = LIST_FIRST(&nts->nts_instances);
513 while (n != NULL) {
514 if ((applyfn)(nts, n->nini_parent)) {
516 n = LIST_FIRST(&nts->nts_instances);
518 n = LIST_NEXT(n, nini_next);