Lines Matching refs:hfsc_class

111 struct hfsc_class {
123 struct hfsc_class *cl_parent; /* parent class */
171 struct hfsc_class root; /* root class */
186 eltree_insert(struct hfsc_class *cl)
190 struct hfsc_class *cl1;
194 cl1 = rb_entry(parent, struct hfsc_class, el_node);
205 eltree_remove(struct hfsc_class *cl)
211 eltree_update(struct hfsc_class *cl)
218 static inline struct hfsc_class *
221 struct hfsc_class *p, *cl = NULL;
225 p = rb_entry(n, struct hfsc_class, el_node);
235 static inline struct hfsc_class *
243 return rb_entry(n, struct hfsc_class, el_node);
251 vttree_insert(struct hfsc_class *cl)
255 struct hfsc_class *cl1;
259 cl1 = rb_entry(parent, struct hfsc_class, vt_node);
270 vttree_remove(struct hfsc_class *cl)
276 vttree_update(struct hfsc_class *cl)
282 static inline struct hfsc_class *
283 vttree_firstfit(struct hfsc_class *cl, u64 cur_time)
285 struct hfsc_class *p;
289 p = rb_entry(n, struct hfsc_class, vt_node);
299 static struct hfsc_class *
300 vttree_get_minvt(struct hfsc_class *cl, u64 cur_time)
320 cftree_insert(struct hfsc_class *cl)
324 struct hfsc_class *cl1;
328 cl1 = rb_entry(parent, struct hfsc_class, cf_node);
339 cftree_remove(struct hfsc_class *cl)
345 cftree_update(struct hfsc_class *cl)
610 init_ed(struct hfsc_class *cl, unsigned int next_len)
636 update_ed(struct hfsc_class *cl, unsigned int next_len)
645 update_d(struct hfsc_class *cl, unsigned int next_len)
651 update_cfmin(struct hfsc_class *cl)
654 struct hfsc_class *p;
660 p = rb_entry(n, struct hfsc_class, cf_node);
665 init_vf(struct hfsc_class *cl, unsigned int len)
667 struct hfsc_class *max_cl;
683 max_cl = rb_entry(n, struct hfsc_class, vt_node);
744 update_vf(struct hfsc_class *cl, unsigned int len, u64 cur_time)
848 hfsc_adjust_levels(struct hfsc_class *cl)
850 struct hfsc_class *p;
863 static inline struct hfsc_class *
872 return container_of(clc, struct hfsc_class, cl_common);
876 hfsc_change_rsc(struct hfsc_class *cl, struct tc_service_curve *rsc,
890 hfsc_change_fsc(struct hfsc_class *cl, struct tc_service_curve *fsc)
898 hfsc_change_usc(struct hfsc_class *cl, struct tc_service_curve *usc,
907 hfsc_upgrade_rt(struct hfsc_class *cl)
926 struct hfsc_class *cl = (struct hfsc_class *)*arg;
927 struct hfsc_class *parent = NULL;
1032 cl = kzalloc(sizeof(struct hfsc_class), GFP_KERNEL);
1095 hfsc_destroy_class(struct Qdisc *sch, struct hfsc_class *cl)
1110 struct hfsc_class *cl = (struct hfsc_class *)arg;
1129 static struct hfsc_class *
1133 struct hfsc_class *head, *cl;
1158 cl = (struct hfsc_class *)res.class;
1187 struct hfsc_class *cl = (struct hfsc_class *)arg;
1205 struct hfsc_class *cl = (struct hfsc_class *)arg;
1216 struct hfsc_class *cl = (struct hfsc_class *)arg;
1235 struct hfsc_class *p = (struct hfsc_class *)parent;
1236 struct hfsc_class *cl = hfsc_find_class(classid, sch);
1250 struct hfsc_class *cl = (struct hfsc_class *)arg;
1259 struct hfsc_class *cl = (struct hfsc_class *)arg;
1285 hfsc_dump_curves(struct sk_buff *skb, struct hfsc_class *cl)
1309 struct hfsc_class *cl = (struct hfsc_class *)arg;
1334 struct hfsc_class *cl = (struct hfsc_class *)arg;
1358 struct hfsc_class *cl;
1384 struct hfsc_class *cl;
1459 hfsc_reset_class(struct hfsc_class *cl)
1492 struct hfsc_class *cl;
1508 struct hfsc_class *cl;
1547 struct hfsc_class *cl;
1594 struct hfsc_class *cl;