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