Lines Matching defs:parent
46 net_instance_int_t *parent);
257 net_instance_int_create(net_instance_t *nin, net_instance_int_t *parent)
263 nini->nini_parent = parent;
264 if (parent != NULL) {
266 * If the parent pointer is non-NULL then we take that as
270 * parent is NULL then this code assumes the object is
274 parent->nini_ref++;
300 * For 'parent' structures, nini_ref will drop to 0 when
347 net_instance_int_t *parent;
371 parent = net_instance_int_create(nin, NULL);
372 ASSERT(parent != NULL);
373 LIST_INSERT_HEAD(&neti_instance_list, parent, nini_next);
392 tmp = net_instance_int_create(nin, parent);
399 neti_apply_all_stacks(parent, neti_stack_apply_create);
415 net_instance_int_t *parent;
432 parent = tmp;
437 if (tmp->nini_parent != parent)
473 neti_apply_all_stacks(parent, neti_stack_apply_shutdown);
474 neti_apply_all_stacks(parent, neti_stack_apply_destroy);
482 if ((tmp->nini_parent == parent) &&
524 neti_apply_all_stacks(void *parent, napplyfn_t *applyfn)
539 if ((applyfn)(nts, parent)) {
549 neti_stack_apply_create(neti_stack_t *nts, void *parent)
556 ASSERT(parent != NULL);
562 if (tmp->nini_parent == parent)
616 neti_stack_apply_shutdown(neti_stack_t *nts, void *parent)
622 ASSERT(parent != NULL);
628 if (tmp->nini_parent == parent)
700 neti_stack_apply_destroy(neti_stack_t *nts, void *parent)
706 ASSERT(parent != NULL);
712 if (tmp->nini_parent == parent)