Lines Matching refs:hfsc_class
111 struct hfsc_class { struct
123 struct hfsc_class *cl_parent; /* parent class */ argument
177 struct hfsc_class root; /* root class */ argument
194 eltree_insert(struct hfsc_class *cl) in eltree_insert()
198 struct hfsc_class *cl1; in eltree_insert()
202 cl1 = rb_entry(parent, struct hfsc_class, el_node); in eltree_insert()
213 eltree_remove(struct hfsc_class *cl) in eltree_remove()
219 eltree_update(struct hfsc_class *cl) in eltree_update()
226 static inline struct hfsc_class *
229 struct hfsc_class *p, *cl = NULL; in eltree_get_mindl()
233 p = rb_entry(n, struct hfsc_class, el_node); in eltree_get_mindl()
243 static inline struct hfsc_class *
251 return rb_entry(n, struct hfsc_class, el_node); in eltree_get_minel()
259 vttree_insert(struct hfsc_class *cl) in vttree_insert()
263 struct hfsc_class *cl1; in vttree_insert()
267 cl1 = rb_entry(parent, struct hfsc_class, vt_node); in vttree_insert()
278 vttree_remove(struct hfsc_class *cl) in vttree_remove()
284 vttree_update(struct hfsc_class *cl) in vttree_update()
290 static inline struct hfsc_class *
291 vttree_firstfit(struct hfsc_class *cl, u64 cur_time) in vttree_firstfit()
293 struct hfsc_class *p; in vttree_firstfit()
297 p = rb_entry(n, struct hfsc_class, vt_node); in vttree_firstfit()
307 static struct hfsc_class *
308 vttree_get_minvt(struct hfsc_class *cl, u64 cur_time) in vttree_get_minvt()
328 cftree_insert(struct hfsc_class *cl) in cftree_insert()
332 struct hfsc_class *cl1; in cftree_insert()
336 cl1 = rb_entry(parent, struct hfsc_class, cf_node); in cftree_insert()
347 cftree_remove(struct hfsc_class *cl) in cftree_remove()
353 cftree_update(struct hfsc_class *cl) in cftree_update()
618 init_ed(struct hfsc_class *cl, unsigned int next_len) in init_ed()
644 update_ed(struct hfsc_class *cl, unsigned int next_len) in update_ed()
653 update_d(struct hfsc_class *cl, unsigned int next_len) in update_d()
659 update_cfmin(struct hfsc_class *cl) in update_cfmin()
662 struct hfsc_class *p; in update_cfmin()
668 p = rb_entry(n, struct hfsc_class, cf_node); in update_cfmin()
673 init_vf(struct hfsc_class *cl, unsigned int len) in init_vf()
675 struct hfsc_class *max_cl; in init_vf()
691 max_cl = rb_entry(n, struct hfsc_class, vt_node); in init_vf()
765 update_vf(struct hfsc_class *cl, unsigned int len, u64 cur_time) in update_vf()
854 set_active(struct hfsc_class *cl, unsigned int len) in set_active()
865 set_passive(struct hfsc_class *cl) in set_passive()
895 hfsc_purge_queue(struct Qdisc *sch, struct hfsc_class *cl) in hfsc_purge_queue()
904 hfsc_adjust_levels(struct hfsc_class *cl) in hfsc_adjust_levels()
906 struct hfsc_class *p; in hfsc_adjust_levels()
919 static inline struct hfsc_class *
928 return container_of(clc, struct hfsc_class, cl_common); in hfsc_find_class()
932 hfsc_change_rsc(struct hfsc_class *cl, struct tc_service_curve *rsc, in hfsc_change_rsc()
946 hfsc_change_fsc(struct hfsc_class *cl, struct tc_service_curve *fsc) in hfsc_change_fsc()
954 hfsc_change_usc(struct hfsc_class *cl, struct tc_service_curve *usc, in hfsc_change_usc()
973 struct hfsc_class *cl = (struct hfsc_class *)*arg; in hfsc_change_class()
974 struct hfsc_class *parent = NULL; in hfsc_change_class()
1064 cl = kzalloc(sizeof(struct hfsc_class), GFP_KERNEL); in hfsc_change_class()
1113 hfsc_destroy_class(struct Qdisc *sch, struct hfsc_class *cl) in hfsc_destroy_class()
1128 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_delete_class()
1151 static struct hfsc_class *
1155 struct hfsc_class *head, *cl; in hfsc_classify()
1178 cl = (struct hfsc_class *)res.class; in hfsc_classify()
1207 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_graft_class()
1229 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_class_leaf()
1240 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_qlen_notify()
1251 struct hfsc_class *cl = hfsc_find_class(classid, sch); in hfsc_get_class()
1262 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_put_class()
1271 struct hfsc_class *p = (struct hfsc_class *)parent; in hfsc_bind_tcf()
1272 struct hfsc_class *cl = hfsc_find_class(classid, sch); in hfsc_bind_tcf()
1286 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_unbind_tcf()
1295 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_tcf_chain()
1321 hfsc_dump_curves(struct sk_buff *skb, struct hfsc_class *cl) in hfsc_dump_curves()
1345 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_dump_class()
1370 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_dump_class_stats()
1393 struct hfsc_class *cl; in hfsc_walk()
1419 struct hfsc_class *cl; in hfsc_schedule_watchdog()
1488 hfsc_reset_class(struct hfsc_class *cl) in hfsc_reset_class()
1525 struct hfsc_class *cl; in hfsc_reset_qdisc()
1543 struct hfsc_class *cl; in hfsc_destroy_qdisc()
1565 struct hfsc_class *cl; in hfsc_dump_qdisc()
1587 struct hfsc_class *cl; in hfsc_enqueue()
1619 struct hfsc_class *cl; in hfsc_dequeue()
1687 struct hfsc_class *cl; in hfsc_drop()