Home
last modified time | relevance | path

Searched refs:cl_q (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/net/altq/
H A Daltq_priq.c246 if ((cl = pif->pif_classes[pri]) != NULL && !qempty(cl->cl_q)) in priq_purge()
280 if (!qempty(cl->cl_q)) in priq_class_create()
285 if (q_is_rio(cl->cl_q)) in priq_class_create()
289 if (q_is_red(cl->cl_q)) in priq_class_create()
293 if (q_is_codel(cl->cl_q)) in priq_class_create()
302 cl->cl_q = malloc(sizeof(class_queue_t), M_DEVBUF, in priq_class_create()
304 if (cl->cl_q == NULL) in priq_class_create()
313 qlimit(cl->cl_q) = qlimit; in priq_class_create()
314 qtype(cl->cl_q) = Q_DROPTAIL; in priq_class_create()
315 qlen(cl->cl_q) = 0; in priq_class_create()
[all …]
H A Daltq_hfsc.c347 if (!qempty(cl->cl_q)) in hfsc_purge()
385 cl->cl_q = malloc(sizeof(class_queue_t), M_DEVBUF, M_NOWAIT | M_ZERO); in hfsc_class_create()
386 if (cl->cl_q == NULL) in hfsc_class_create()
393 qlimit(cl->cl_q) = qlimit; in hfsc_class_create()
394 qtype(cl->cl_q) = Q_DROPTAIL; in hfsc_class_create()
395 qlen(cl->cl_q) = 0; in hfsc_class_create()
396 qsize(cl->cl_q) = 0; in hfsc_class_create()
425 qlimit(cl->cl_q) * 10/100, in hfsc_class_create()
426 qlimit(cl->cl_q) * 30/100, in hfsc_class_create()
429 qtype(cl->cl_q) = Q_RED; in hfsc_class_create()
[all …]
H A Daltq_codel.c109 cif->cl_q = malloc(sizeof(class_queue_t), M_DEVBUF, M_NOWAIT | M_ZERO); in codel_add_altq()
110 if (cif->cl_q == NULL) { in codel_add_altq()
117 qlimit(cif->cl_q) = a->qlimit; in codel_add_altq()
118 qtype(cif->cl_q) = Q_CODEL; in codel_add_altq()
119 qlen(cif->cl_q) = 0; in codel_add_altq()
120 qsize(cif->cl_q) = 0; in codel_add_altq()
131 cif->cl_stats.qlength = qlen(cif->cl_q); in codel_add_altq()
132 cif->cl_stats.qlimit = qlimit(cif->cl_q); in codel_add_altq()
149 if (cif->cl_q) in codel_remove_altq()
150 free(cif->cl_q, M_DEVBUF); in codel_remove_altq()
[all …]
H A Daltq_priq.h80 class_queue_t *cl_q; /* class queue structure */ member
H A Daltq_codel.h118 class_queue_t *cl_q; /* class queue structure */ member
H A Daltq_hfsc.h224 class_queue_t *cl_q; /* class queue structure */ member