Lines Matching refs:rsc
149 struct tc_service_curve rsc, fsc, usc;
153 memset(&rsc, 0, sizeof(rsc));
161 if (hfsc_get_sc(&argc, &argv, &rsc) < 0) {
175 if (hfsc_get_sc(&argc, &argv, &rsc) < 0) {
179 memcpy(&fsc, &rsc, sizeof(fsc));
216 addattr_l(n, 1024, TCA_HFSC_RSC, &rsc, sizeof(rsc));
241 struct tc_service_curve *rsc = NULL, *fsc = NULL, *usc = NULL;
249 if (RTA_PAYLOAD(tb[TCA_HFSC_RSC]) < sizeof(*rsc))
252 rsc = RTA_DATA(tb[TCA_HFSC_RSC]);
268 if (rsc != NULL && fsc != NULL &&
269 memcmp(rsc, fsc, sizeof(*rsc)) == 0)
270 hfsc_print_sc(f, "sc", rsc);
272 if (rsc != NULL)
273 hfsc_print_sc(f, "rt", rsc);