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

/freebsd-11-stable/sys/net/altq/
H A Daltq_priq.c272 if ((cl = pif->pif_classes[pri]) != NULL && !qempty(cl->cl_q))
306 if (!qempty(cl->cl_q))
311 if (q_is_rio(cl->cl_q))
315 if (q_is_red(cl->cl_q))
319 if (q_is_codel(cl->cl_q))
328 cl->cl_q = malloc(sizeof(class_queue_t), M_DEVBUF,
330 if (cl->cl_q == NULL)
339 qlimit(cl->cl_q) = qlimit;
340 qtype(cl->cl_q) = Q_DROPTAIL;
341 qlen(cl->cl_q)
[all...]
H A Daltq_codel.c111 cif->cl_q = malloc(sizeof(class_queue_t), M_DEVBUF, M_NOWAIT | M_ZERO);
112 if (cif->cl_q == NULL) {
119 qlimit(cif->cl_q) = a->qlimit;
120 qtype(cif->cl_q) = Q_CODEL;
121 qlen(cif->cl_q) = 0;
122 qsize(cif->cl_q) = 0;
133 cif->cl_stats.qlength = qlen(cif->cl_q);
134 cif->cl_stats.qlimit = qlimit(cif->cl_q);
151 if (cif->cl_q)
152 free(cif->cl_q, M_DEVBU
[all...]
H A Daltq_hfsc.c361 if (!qempty(cl->cl_q))
399 cl->cl_q = malloc(sizeof(class_queue_t), M_DEVBUF, M_NOWAIT | M_ZERO);
400 if (cl->cl_q == NULL)
407 qlimit(cl->cl_q) = qlimit;
408 qtype(cl->cl_q) = Q_DROPTAIL;
409 qlen(cl->cl_q) = 0;
410 qsize(cl->cl_q) = 0;
439 qlimit(cl->cl_q) * 10/100,
440 qlimit(cl->cl_q) * 30/100,
443 qtype(cl->cl_q)
[all...]
H A Daltq_codel.h114 class_queue_t *cl_q; /* class queue structure */ member in struct:codel_if
H A Daltq_priq.h141 class_queue_t *cl_q; /* class queue structure */ member in struct:priq_class
H A Daltq_hfsc.h235 class_queue_t *cl_q; /* class queue structure */ member in struct:hfsc_class

Completed in 137 milliseconds