Lines Matching refs:hfsc_class
111 struct hfsc_class { struct
123 struct hfsc_class *cl_parent; /* parent class */ argument
171 struct hfsc_class root; /* root class */ argument
186 eltree_insert(struct hfsc_class *cl) in eltree_insert()
190 struct hfsc_class *cl1; in eltree_insert()
194 cl1 = rb_entry(parent, struct hfsc_class, el_node); in eltree_insert()
205 eltree_remove(struct hfsc_class *cl) in eltree_remove()
211 eltree_update(struct hfsc_class *cl) in eltree_update()
218 static inline struct hfsc_class *
221 struct hfsc_class *p, *cl = NULL; in eltree_get_mindl()
225 p = rb_entry(n, struct hfsc_class, el_node); in eltree_get_mindl()
235 static inline struct hfsc_class *
243 return rb_entry(n, struct hfsc_class, el_node); in eltree_get_minel()
251 vttree_insert(struct hfsc_class *cl) in vttree_insert()
255 struct hfsc_class *cl1; in vttree_insert()
259 cl1 = rb_entry(parent, struct hfsc_class, vt_node); in vttree_insert()
270 vttree_remove(struct hfsc_class *cl) in vttree_remove()
276 vttree_update(struct hfsc_class *cl) in vttree_update()
282 static inline struct hfsc_class *
283 vttree_firstfit(struct hfsc_class *cl, u64 cur_time) in vttree_firstfit()
285 struct hfsc_class *p; in vttree_firstfit()
289 p = rb_entry(n, struct hfsc_class, vt_node); in vttree_firstfit()
299 static struct hfsc_class *
300 vttree_get_minvt(struct hfsc_class *cl, u64 cur_time) in vttree_get_minvt()
320 cftree_insert(struct hfsc_class *cl) in cftree_insert()
324 struct hfsc_class *cl1; in cftree_insert()
328 cl1 = rb_entry(parent, struct hfsc_class, cf_node); in cftree_insert()
339 cftree_remove(struct hfsc_class *cl) in cftree_remove()
345 cftree_update(struct hfsc_class *cl) in cftree_update()
610 init_ed(struct hfsc_class *cl, unsigned int next_len) in init_ed()
636 update_ed(struct hfsc_class *cl, unsigned int next_len) in update_ed()
645 update_d(struct hfsc_class *cl, unsigned int next_len) in update_d()
651 update_cfmin(struct hfsc_class *cl) in update_cfmin()
654 struct hfsc_class *p; in update_cfmin()
660 p = rb_entry(n, struct hfsc_class, cf_node); in update_cfmin()
665 init_vf(struct hfsc_class *cl, unsigned int len) in init_vf()
667 struct hfsc_class *max_cl; in init_vf()
683 max_cl = rb_entry(n, struct hfsc_class, vt_node); in init_vf()
744 update_vf(struct hfsc_class *cl, unsigned int len, u64 cur_time) in update_vf()
848 hfsc_adjust_levels(struct hfsc_class *cl) in hfsc_adjust_levels()
850 struct hfsc_class *p; in hfsc_adjust_levels()
863 static inline struct hfsc_class *
872 return container_of(clc, struct hfsc_class, cl_common); in hfsc_find_class()
876 hfsc_change_rsc(struct hfsc_class *cl, struct tc_service_curve *rsc, in hfsc_change_rsc()
890 hfsc_change_fsc(struct hfsc_class *cl, struct tc_service_curve *fsc) in hfsc_change_fsc()
898 hfsc_change_usc(struct hfsc_class *cl, struct tc_service_curve *usc, in hfsc_change_usc()
918 struct hfsc_class *cl = (struct hfsc_class *)*arg; in hfsc_change_class()
919 struct hfsc_class *parent = NULL; in hfsc_change_class()
1024 cl = kzalloc(sizeof(struct hfsc_class), GFP_KERNEL); in hfsc_change_class()
1081 hfsc_destroy_class(struct Qdisc *sch, struct hfsc_class *cl) in hfsc_destroy_class()
1096 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_delete_class()
1115 static struct hfsc_class *
1119 struct hfsc_class *head, *cl; in hfsc_classify()
1144 cl = (struct hfsc_class *)res.class; in hfsc_classify()
1173 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_graft_class()
1191 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_class_leaf()
1202 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_qlen_notify()
1221 struct hfsc_class *p = (struct hfsc_class *)parent; in hfsc_bind_tcf()
1222 struct hfsc_class *cl = hfsc_find_class(classid, sch); in hfsc_bind_tcf()
1236 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_unbind_tcf()
1245 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_tcf_block()
1271 hfsc_dump_curves(struct sk_buff *skb, struct hfsc_class *cl) in hfsc_dump_curves()
1295 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_dump_class()
1320 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_dump_class_stats()
1344 struct hfsc_class *cl; in hfsc_walk()
1370 struct hfsc_class *cl; in hfsc_schedule_watchdog()
1445 hfsc_reset_class(struct hfsc_class *cl) in hfsc_reset_class()
1478 struct hfsc_class *cl; in hfsc_reset_qdisc()
1494 struct hfsc_class *cl; in hfsc_destroy_qdisc()
1533 struct hfsc_class *cl; in hfsc_enqueue()
1580 struct hfsc_class *cl; in hfsc_dequeue()