Home | History | Annotate | Download | only in altq

Lines Matching defs:rsc

384 hfsc_class_create(struct hfsc_if *hif, struct service_curve *rsc,
427 if (rsc != NULL && rsc->m2 > m2)
428 m2 = rsc->m2;
465 if (rsc != NULL && (rsc->m1 != 0 || rsc->m2 != 0)) {
470 sc2isc(rsc, cl->cl_rsc);
1620 sp->rsc.m1 = sm2m(cl->cl_rsc->sm1);
1621 sp->rsc.d = dx2d(cl->cl_rsc->dx);
1622 sp->rsc.m2 = sm2m(cl->cl_rsc->sm2);
1624 sp->rsc.m1 = 0;
1625 sp->rsc.d = 0;
1626 sp->rsc.m2 = 0;
1761 hfsc_class_modify(struct hfsc_class *cl, struct service_curve *rsc,
1769 if (rsc != NULL && (rsc->m1 != 0 || rsc->m2 != 0) &&
1794 if (rsc != NULL) {
1795 if (rsc->m1 == 0 && rsc->m2 == 0) {
1805 sc2isc(rsc, cl->cl_rsc);
2096 struct service_curve *rsc = NULL;
2107 rsc = &ap->service_curve;
2113 return hfsc_class_modify(cl, rsc, fsc, usc);