Lines Matching refs:hfsc_class

111 struct hfsc_class {  struct
122 struct hfsc_class *cl_parent; /* parent class */ argument
170 struct hfsc_class root; /* root class */ argument
185 eltree_insert(struct hfsc_class *cl) in eltree_insert()
189 struct hfsc_class *cl1; in eltree_insert()
193 cl1 = rb_entry(parent, struct hfsc_class, el_node); in eltree_insert()
204 eltree_remove(struct hfsc_class *cl) in eltree_remove()
210 eltree_update(struct hfsc_class *cl) in eltree_update()
217 static inline struct hfsc_class *
220 struct hfsc_class *p, *cl = NULL; in eltree_get_mindl()
224 p = rb_entry(n, struct hfsc_class, el_node); in eltree_get_mindl()
234 static inline struct hfsc_class *
242 return rb_entry(n, struct hfsc_class, el_node); in eltree_get_minel()
250 vttree_insert(struct hfsc_class *cl) in vttree_insert()
254 struct hfsc_class *cl1; in vttree_insert()
258 cl1 = rb_entry(parent, struct hfsc_class, vt_node); in vttree_insert()
269 vttree_remove(struct hfsc_class *cl) in vttree_remove()
275 vttree_update(struct hfsc_class *cl) in vttree_update()
281 static inline struct hfsc_class *
282 vttree_firstfit(struct hfsc_class *cl, u64 cur_time) in vttree_firstfit()
284 struct hfsc_class *p; in vttree_firstfit()
288 p = rb_entry(n, struct hfsc_class, vt_node); in vttree_firstfit()
298 static struct hfsc_class *
299 vttree_get_minvt(struct hfsc_class *cl, u64 cur_time) in vttree_get_minvt()
319 cftree_insert(struct hfsc_class *cl) in cftree_insert()
323 struct hfsc_class *cl1; in cftree_insert()
327 cl1 = rb_entry(parent, struct hfsc_class, cf_node); in cftree_insert()
338 cftree_remove(struct hfsc_class *cl) in cftree_remove()
344 cftree_update(struct hfsc_class *cl) in cftree_update()
609 init_ed(struct hfsc_class *cl, unsigned int next_len) in init_ed()
635 update_ed(struct hfsc_class *cl, unsigned int next_len) in update_ed()
644 update_d(struct hfsc_class *cl, unsigned int next_len) in update_d()
650 update_cfmin(struct hfsc_class *cl) in update_cfmin()
653 struct hfsc_class *p; in update_cfmin()
659 p = rb_entry(n, struct hfsc_class, cf_node); in update_cfmin()
664 init_vf(struct hfsc_class *cl, unsigned int len) in init_vf()
666 struct hfsc_class *max_cl; in init_vf()
682 max_cl = rb_entry(n, struct hfsc_class, vt_node); in init_vf()
743 update_vf(struct hfsc_class *cl, unsigned int len, u64 cur_time) in update_vf()
847 hfsc_adjust_levels(struct hfsc_class *cl) in hfsc_adjust_levels()
849 struct hfsc_class *p; in hfsc_adjust_levels()
862 static inline struct hfsc_class *
871 return container_of(clc, struct hfsc_class, cl_common); in hfsc_find_class()
875 hfsc_change_rsc(struct hfsc_class *cl, struct tc_service_curve *rsc, in hfsc_change_rsc()
889 hfsc_change_fsc(struct hfsc_class *cl, struct tc_service_curve *fsc) in hfsc_change_fsc()
897 hfsc_change_usc(struct hfsc_class *cl, struct tc_service_curve *usc, in hfsc_change_usc()
906 hfsc_upgrade_rt(struct hfsc_class *cl) in hfsc_upgrade_rt()
925 struct hfsc_class *cl = (struct hfsc_class *)*arg; in hfsc_change_class()
926 struct hfsc_class *parent = NULL; in hfsc_change_class()
1031 cl = kzalloc(sizeof(struct hfsc_class), GFP_KERNEL); in hfsc_change_class()
1092 hfsc_destroy_class(struct Qdisc *sch, struct hfsc_class *cl) in hfsc_destroy_class()
1108 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_delete_class()
1130 static struct hfsc_class *
1134 struct hfsc_class *head, *cl; in hfsc_classify()
1159 cl = (struct hfsc_class *)res.class; in hfsc_classify()
1188 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_graft_class()
1206 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_class_leaf()
1217 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_qlen_notify()
1236 struct hfsc_class *p = (struct hfsc_class *)parent; in hfsc_bind_tcf()
1237 struct hfsc_class *cl = hfsc_find_class(classid, sch); in hfsc_bind_tcf()
1251 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_unbind_tcf()
1260 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_tcf_block()
1286 hfsc_dump_curves(struct sk_buff *skb, struct hfsc_class *cl) in hfsc_dump_curves()
1310 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_dump_class()
1335 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_dump_class_stats()
1359 struct hfsc_class *cl; in hfsc_walk()
1378 struct hfsc_class *cl; in hfsc_schedule_watchdog()
1454 hfsc_reset_class(struct hfsc_class *cl) in hfsc_reset_class()
1487 struct hfsc_class *cl; in hfsc_reset_qdisc()
1503 struct hfsc_class *cl; in hfsc_destroy_qdisc()
1542 struct hfsc_class *cl; in hfsc_enqueue()
1589 struct hfsc_class *cl; in hfsc_dequeue()