Lines Matching refs:parent
153 struct rb_node **p = &q->delayed.rb_node, *parent = NULL; in fq_flow_set_throttled() local
158 parent = *p; in fq_flow_set_throttled()
159 aux = container_of(parent, struct fq_flow, rate_node); in fq_flow_set_throttled()
161 p = &parent->rb_right; in fq_flow_set_throttled()
163 p = &parent->rb_left; in fq_flow_set_throttled()
165 rb_link_node(&f->rate_node, parent, p); in fq_flow_set_throttled()
194 struct rb_node **p, *parent; in fq_gc() local
198 parent = NULL; in fq_gc()
200 parent = *p; in fq_gc()
202 f = container_of(parent, struct fq_flow, fq_node); in fq_gc()
213 p = &parent->rb_right; in fq_gc()
215 p = &parent->rb_left; in fq_gc()
231 struct rb_node **p, *parent; in fq_classify() local
266 parent = NULL; in fq_classify()
268 parent = *p; in fq_classify()
270 f = container_of(parent, struct fq_flow, fq_node); in fq_classify()
288 p = &parent->rb_right; in fq_classify()
290 p = &parent->rb_left; in fq_classify()
304 rb_link_node(&f->fq_node, parent, p); in fq_classify()
570 struct rb_node *op, **np, *parent; in fq_rehash() local
589 parent = NULL; in fq_rehash()
591 parent = *np; in fq_rehash()
593 nf = container_of(parent, struct fq_flow, fq_node); in fq_rehash()
597 np = &parent->rb_right; in fq_rehash()
599 np = &parent->rb_left; in fq_rehash()
602 rb_link_node(&of->fq_node, parent, np); in fq_rehash()