Lines Matching refs:fsc
147 struct tc_service_curve rsc = {}, fsc = {}, usc = {}; in hfsc_parse_class_opt() local
161 if (hfsc_get_sc(&argc, &argv, &fsc) < 0) { in hfsc_parse_class_opt()
172 memcpy(&fsc, &rsc, sizeof(fsc)); in hfsc_parse_class_opt()
210 addattr_l(n, 1024, TCA_HFSC_FSC, &fsc, sizeof(fsc)); in hfsc_parse_class_opt()
233 struct tc_service_curve *rsc = NULL, *fsc = NULL, *usc = NULL; in hfsc_print_class_opt() local
247 if (RTA_PAYLOAD(tb[TCA_HFSC_FSC]) < sizeof(*fsc)) in hfsc_print_class_opt()
250 fsc = RTA_DATA(tb[TCA_HFSC_FSC]); in hfsc_print_class_opt()
260 if (rsc != NULL && fsc != NULL && in hfsc_print_class_opt()
261 memcmp(rsc, fsc, sizeof(*rsc)) == 0) in hfsc_print_class_opt()
266 if (fsc != NULL) in hfsc_print_class_opt()
267 hfsc_print_sc(f, "ls", fsc); in hfsc_print_class_opt()