Lines Matching defs:parent

131  * ire_dep_children (From parent to first child)
1506 * Move the use counts from an IRE_IF_CLONE to its parent
1511 ire_t *parent;
1514 if ((parent = ire->ire_dep_parent) != NULL) {
1515 parent->ire_ob_pkt_count += ire->ire_ob_pkt_count;
1516 parent->ire_ib_pkt_count += ire->ire_ib_pkt_count;
1627 /* Remove from parent dependencies and child */
1668 * Since any parent would have a refhold on us they would already
1801 * than the parent from which they are cloned, so don't
2802 parent_has_child(ire_t *parent, ire_t *child)
2807 ire = parent->ire_dep_children;
2812 &(parent->ire_dep_children));
2828 ire_t *parent = ire->ire_dep_parent;
2833 if (parent != NULL) {
2834 ASSERT(parent->ire_ipversion == IPV4_VERSION ||
2835 parent->ire_ipversion == IPV6_VERSION);
2836 ASSERT(parent->ire_refcnt >= 1);
2837 ASSERT(parent_has_child(parent, ire));
2850 * Assumes ire_dep_parent is set. Remove this child from its parent's linkage.
2856 ire_t *parent = ire->ire_dep_parent;
2866 ire_dep_verify(parent);
2880 parent = ire->ire_dep_parent;
2894 * Since the parent is gone we make sure we clear ire_nce_cache.
2906 ire_dep_verify(parent);
2909 ire_refrele_notr(parent);
2914 * Insert the child in the linkage of the parent
2917 ire_dep_parent_insert(ire_t *child, ire_t *parent)
2927 ire_dep_verify(parent);
2933 ire_refhold_notr(parent);
2937 next = parent->ire_dep_children;
2939 ASSERT(next->ire_dep_sib_ptpn == &(parent->ire_dep_children));
2943 parent->ire_dep_children = child;
2944 child->ire_dep_sib_ptpn = &(parent->ire_dep_children);
2947 child->ire_dep_parent = parent;
2952 ire_dep_verify(parent);
2961 * We graft onto an existing parent chain by making sure that we don't
2984 * Do not remove the linkage for any existing parent chain i.e.,
2988 /* Remove existing parent if we need to change it */
3285 ire_dep_incr_generation_locked(ire_t *parent)
3287 ASSERT(RW_READ_HELD(&parent->ire_ipst->ips_ire_dep_lock));
3288 if (parent->ire_dep_children != NULL)
3289 ire_dep_increment_children(parent->ire_dep_children);
3293 ire_dep_incr_generation(ire_t *parent)
3295 ip_stack_t *ipst = parent->ire_ipst;
3298 ire_dep_incr_generation_locked(parent);
3544 ire_dep_delete_if_clone(ire_t *parent)
3546 ip_stack_t *ipst = parent->ire_ipst;
3551 if (parent->ire_dep_children == NULL) {
3555 child = parent->ire_dep_children;