Home | History | Annotate | Download | only in altq

Lines Matching refs:hfsc_class

88 static struct hfsc_class	*hfsc_class_create(struct hfsc_if *,
90 struct hfsc_class *, int, int, int);
91 static int hfsc_class_destroy(struct hfsc_class *);
92 static struct hfsc_class *hfsc_nextclass(struct hfsc_class *);
96 static int hfsc_addq(struct hfsc_class *, struct mbuf *);
97 static struct mbuf *hfsc_getq(struct hfsc_class *);
98 static struct mbuf *hfsc_pollq(struct hfsc_class *);
99 static void hfsc_purgeq(struct hfsc_class *);
101 static void update_cfmin(struct hfsc_class *);
102 static void set_active(struct hfsc_class *, int);
103 static void set_passive(struct hfsc_class *);
105 static void init_ed(struct hfsc_class *, int);
106 static void update_ed(struct hfsc_class *, int);
107 static void update_d(struct hfsc_class *, int);
108 static void init_vf(struct hfsc_class *, int);
109 static void update_vf(struct hfsc_class *, int, u_int64_t);
112 static void ellist_insert(struct hfsc_class *);
113 static void ellist_remove(struct hfsc_class *);
114 static void ellist_update(struct hfsc_class *);
115 struct hfsc_class *ellist_get_mindl(ellist_t *, u_int64_t);
118 static void actlist_insert(struct hfsc_class *);
119 static void actlist_remove(struct hfsc_class *);
120 static void actlist_update(struct hfsc_class *);
122 static struct hfsc_class *actlist_firstfit(struct hfsc_class *,
142 struct hfsc_class *);
143 static struct hfsc_class *clh_to_clp(struct hfsc_if *, u_int32_t);
149 static int hfsc_class_modify(struct hfsc_class *, struct service_curve *,
244 struct hfsc_class *cl, *parent;
287 struct hfsc_class *cl;
302 struct hfsc_class *cl;
332 struct hfsc_class *cl;
374 struct hfsc_class *cl;
383 struct hfsc_class *
386 struct hfsc_class *parent, int qlimit, int flags, int qid)
388 struct hfsc_class *cl, *p;
403 cl = malloc(sizeof(struct hfsc_class), M_DEVBUF, M_WAITOK|M_ZERO);
565 hfsc_class_destroy(struct hfsc_class *cl)
588 struct hfsc_class *p = cl->cl_parent->cl_children;
646 static struct hfsc_class *
647 hfsc_nextclass(struct hfsc_class *cl)
673 struct hfsc_class *cl;
738 struct hfsc_class *cl;
835 hfsc_addq(struct hfsc_class *cl, struct mbuf *m)
861 hfsc_getq(struct hfsc_class *cl)
875 hfsc_pollq(struct hfsc_class *cl)
881 hfsc_purgeq(struct hfsc_class *cl)
901 set_active(struct hfsc_class *cl, int len)
912 set_passive(struct hfsc_class *cl)
924 init_ed(struct hfsc_class *cl, int next_len)
952 update_ed(struct hfsc_class *cl, int next_len)
961 update_d(struct hfsc_class *cl, int next_len)
967 init_vf(struct hfsc_class *cl, int len)
969 struct hfsc_class *max_cl, *p;
1058 update_vf(struct hfsc_class *cl, int len, u_int64_t cur_time)
1143 update_cfmin(struct hfsc_class *cl)
1145 struct hfsc_class *p;
1190 ellist_insert(struct hfsc_class *cl)
1193 struct hfsc_class *p;
1212 ellist_remove(struct hfsc_class *cl)
1220 ellist_update(struct hfsc_class *cl)
1223 struct hfsc_class *p, *last;
1257 struct hfsc_class *
1260 struct hfsc_class *p, *cl = NULL;
1292 actlist_insert(struct hfsc_class *cl)
1294 struct hfsc_class *p;
1313 actlist_remove(struct hfsc_class *cl)
1319 actlist_update(struct hfsc_class *cl)
1321 struct hfsc_class *p, *last;
1355 static struct hfsc_class *
1356 actlist_firstfit(struct hfsc_class *cl, u_int64_t cur_time)
1358 struct hfsc_class *p;
1614 get_class_stats(struct hfsc_classstats *sp, struct hfsc_class *cl)
1688 static struct hfsc_class *
1692 struct hfsc_class *cl;
1761 hfsc_class_modify(struct hfsc_class *cl, struct service_curve *rsc,
2047 struct hfsc_class *cl, *parent;
2080 struct hfsc_class *cl;
2095 struct hfsc_class *cl;
2120 struct hfsc_class *cl;
2155 struct hfsc_class *cl;