Lines Matching refs:child
131 * ire_dep_children (From parent to first child)
225 static void ire_dep_invalidate_children(ire_t *child);
1627 /* Remove from parent dependencies and child */
2802 parent_has_child(ire_t *parent, ire_t *child)
2817 if (ire == child)
2829 ire_t *child = ire->ire_dep_children;
2839 if (child != NULL) {
2840 ASSERT(child->ire_ipversion == IPV4_VERSION ||
2841 child->ire_ipversion == IPV6_VERSION);
2842 ASSERT(child->ire_dep_parent == ire);
2843 ASSERT(child->ire_dep_sib_ptpn != NULL);
2844 ASSERT(parent_has_child(ire, child));
2850 * Assumes ire_dep_parent is set. Remove this child from its parent's linkage.
2914 * Insert the child in the linkage of the parent
2917 ire_dep_parent_insert(ire_t *child, ire_t *parent)
2919 ip_stack_t *ipst = child->ire_ipst;
2923 ASSERT(child->ire_dep_parent == NULL);
2926 ire_dep_verify(child);
2930 ASSERT(child->ire_dep_sib_ptpn == NULL);
2931 ASSERT(child->ire_dep_sib_next == NULL);
2934 ire_refhold_notr(child);
2940 child->ire_dep_sib_next = next;
2941 next->ire_dep_sib_ptpn = &(child->ire_dep_sib_next);
2943 parent->ire_dep_children = child;
2944 child->ire_dep_sib_ptpn = &(parent->ire_dep_children);
2946 mutex_enter(&child->ire_lock);
2947 child->ire_dep_parent = parent;
2948 mutex_exit(&child->ire_lock);
2951 ire_dep_verify(child);
3246 ire_dep_invalidate_children(ire_t *child)
3248 ip_stack_t *ipst = child->ire_ipst;
3252 if (child->ire_dep_children != NULL)
3253 ire_dep_invalidate_children(child->ire_dep_children);
3255 while (child != NULL) {
3256 mutex_enter(&child->ire_lock);
3257 child->ire_dep_parent_generation = IRE_GENERATION_VERIFY;
3258 mutex_exit(&child->ire_lock);
3259 child = child->ire_dep_sib_next;
3264 ire_dep_increment_children(ire_t *child)
3266 ip_stack_t *ipst = child->ire_ipst;
3270 if (child->ire_dep_children != NULL)
3271 ire_dep_increment_children(child->ire_dep_children);
3273 while (child != NULL) {
3274 if (!IRE_IS_CONDEMNED(child))
3275 ire_increment_generation(child);
3276 child = child->ire_dep_sib_next;
3547 ire_t *child, *next;
3555 child = parent->ire_dep_children;
3556 while (child != NULL) {
3557 next = child->ire_dep_sib_next;
3558 if ((child->ire_type & IRE_IF_CLONE) &&
3559 !IRE_IS_CONDEMNED(child)) {
3560 ire_refhold(child);
3562 ire_delete(child);
3563 ASSERT(IRE_IS_CONDEMNED(child));
3564 ire_refrele(child);
3567 child = next;