Lines Matching refs:parent
188 struct rb_node *parent = NULL; in eltree_insert() local
192 parent = *p; in eltree_insert()
193 cl1 = rb_entry(parent, struct hfsc_class, el_node); in eltree_insert()
195 p = &parent->rb_right; in eltree_insert()
197 p = &parent->rb_left; in eltree_insert()
199 rb_link_node(&cl->el_node, parent, p); in eltree_insert()
253 struct rb_node *parent = NULL; in vttree_insert() local
257 parent = *p; in vttree_insert()
258 cl1 = rb_entry(parent, struct hfsc_class, vt_node); in vttree_insert()
260 p = &parent->rb_right; in vttree_insert()
262 p = &parent->rb_left; in vttree_insert()
264 rb_link_node(&cl->vt_node, parent, p); in vttree_insert()
322 struct rb_node *parent = NULL; in cftree_insert() local
326 parent = *p; in cftree_insert()
327 cl1 = rb_entry(parent, struct hfsc_class, cf_node); in cftree_insert()
329 p = &parent->rb_right; in cftree_insert()
331 p = &parent->rb_left; in cftree_insert()
333 rb_link_node(&cl->cf_node, parent, p); in cftree_insert()
926 struct hfsc_class *parent = NULL; in hfsc_change_class() local
1016 parent = &q->root; in hfsc_change_class()
1018 parent = hfsc_find_class(parentid, sch); in hfsc_change_class()
1019 if (parent == NULL) in hfsc_change_class()
1060 cl->cl_parent = parent; in hfsc_change_class()
1073 if (!(parent->cl_flags & HFSC_FSC) && parent != &q->root) { in hfsc_change_class()
1076 hfsc_upgrade_rt(parent); in hfsc_change_class()
1079 list_add_tail(&cl->siblings, &parent->children); in hfsc_change_class()
1080 if (parent->level == 0) in hfsc_change_class()
1081 qdisc_purge_queue(parent->qdisc); in hfsc_change_class()
1082 hfsc_adjust_levels(parent); in hfsc_change_class()
1234 hfsc_bind_tcf(struct Qdisc *sch, unsigned long parent, u32 classid) in hfsc_bind_tcf() argument
1236 struct hfsc_class *p = (struct hfsc_class *)parent; in hfsc_bind_tcf()