Lines Matching refs:cl_q
109 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()
192 if (qempty(cif->cl_q)) in codel_request()
195 while ((m = _getq(cif->cl_q)) != NULL) { in codel_request()
225 if (codel_addq(&cif->codel, cif->cl_q, m)) { in codel_enqueue()
246 return (qhead(cif->cl_q)); in codel_dequeue()
248 m = codel_getq(&cif->codel, cif->cl_q); in codel_dequeue()