Lines Matching refs:qdisc
18 static int token_bucket_filter_fill_message(Link *link, QDisc *qdisc, sd_netlink_message *req) { in token_bucket_filter_fill_message() argument
24 assert(qdisc); in token_bucket_filter_fill_message()
27 assert_se(tbf = TBF(qdisc)); in token_bucket_filter_fill_message()
125 _cleanup_(qdisc_free_or_set_invalidp) QDisc *qdisc = NULL; in config_parse_token_bucket_filter_size()
136 r = qdisc_new_static(QDISC_KIND_TBF, network, filename, section_line, &qdisc); in config_parse_token_bucket_filter_size()
145 tbf = TBF(qdisc); in config_parse_token_bucket_filter_size()
159 TAKE_PTR(qdisc); in config_parse_token_bucket_filter_size()
182 TAKE_PTR(qdisc); in config_parse_token_bucket_filter_size()
199 _cleanup_(qdisc_free_or_set_invalidp) QDisc *qdisc = NULL; in config_parse_token_bucket_filter_rate()
210 r = qdisc_new_static(QDISC_KIND_TBF, network, filename, section_line, &qdisc); in config_parse_token_bucket_filter_rate()
219 tbf = TBF(qdisc); in config_parse_token_bucket_filter_rate()
230 TAKE_PTR(qdisc); in config_parse_token_bucket_filter_rate()
244 qdisc = NULL; in config_parse_token_bucket_filter_rate()
261 _cleanup_(qdisc_free_or_set_invalidp) QDisc *qdisc = NULL; in config_parse_token_bucket_filter_latency()
272 r = qdisc_new_static(QDISC_KIND_TBF, network, filename, section_line, &qdisc); in config_parse_token_bucket_filter_latency()
281 tbf = TBF(qdisc); in config_parse_token_bucket_filter_latency()
286 qdisc = NULL; in config_parse_token_bucket_filter_latency()
300 qdisc = NULL; in config_parse_token_bucket_filter_latency()
305 static int token_bucket_filter_verify(QDisc *qdisc) { in token_bucket_filter_verify() argument
306 TokenBucketFilter *tbf = TBF(qdisc); in token_bucket_filter_verify()
312 qdisc->section->filename, qdisc->section->line); in token_bucket_filter_verify()
318 qdisc->section->filename, qdisc->section->line); in token_bucket_filter_verify()
324 qdisc->section->filename, qdisc->section->line); in token_bucket_filter_verify()
330 qdisc->section->filename, qdisc->section->line); in token_bucket_filter_verify()
336 qdisc->section->filename, qdisc->section->line); in token_bucket_filter_verify()