Lines Matching refs:QDisc
45 static int qdisc_new(QDiscKind kind, QDisc **ret) { in qdisc_new()
46 _cleanup_(qdisc_freep) QDisc *qdisc = NULL; in qdisc_new()
50 qdisc = new(QDisc, 1); in qdisc_new()
54 *qdisc = (QDisc) { in qdisc_new()
79 …tatic(QDiscKind kind, Network *network, const char *filename, unsigned section_line, QDisc **ret) { in qdisc_new_static()
81 _cleanup_(qdisc_freep) QDisc *qdisc = NULL; in qdisc_new_static()
82 QDisc *existing; in qdisc_new_static()
131 QDisc* qdisc_free(QDisc *qdisc) { in qdisc_free()
147 static const char *qdisc_get_tca_kind(const QDisc *qdisc) { in qdisc_get_tca_kind()
154 static void qdisc_hash_func(const QDisc *qdisc, struct siphash *state) { in qdisc_hash_func()
163 static int qdisc_compare_func(const QDisc *a, const QDisc *b) { in qdisc_compare_func()
182 QDisc,
187 static int qdisc_get(Link *link, const QDisc *in, QDisc **ret) { in qdisc_get()
188 QDisc *existing; in qdisc_get()
202 static int qdisc_add(Link *link, QDisc *qdisc) { in qdisc_add()
218 static int qdisc_dup(const QDisc *src, QDisc **ret) { in qdisc_dup()
219 _cleanup_(qdisc_freep) QDisc *dst = NULL; in qdisc_dup()
227 dst = newdup(QDisc, src, 1); in qdisc_dup()
247 static void log_qdisc_debug(QDisc *qdisc, Link *link, const char *str) { in log_qdisc_debug()
265 int link_find_qdisc(Link *link, uint32_t handle, uint32_t parent, const char *kind, QDisc **ret) { in link_find_qdisc()
266 QDisc *qdisc; in link_find_qdisc()
296 static int qdisc_handler(sd_netlink *rtnl, sd_netlink_message *m, Request *req, Link *link, QDisc *… in qdisc_handler()
318 static int qdisc_configure(QDisc *qdisc, Link *link, Request *req) { in qdisc_configure()
349 static bool qdisc_is_ready_to_configure(QDisc *qdisc, Link *link) { in qdisc_is_ready_to_configure()
362 static int qdisc_process_request(Request *req, Link *link, QDisc *qdisc) { in qdisc_process_request()
380 int link_request_qdisc(Link *link, QDisc *qdisc) { in link_request_qdisc()
381 QDisc *existing; in link_request_qdisc()
388 _cleanup_(qdisc_freep) QDisc *tmp = NULL; in link_request_qdisc()
421 _cleanup_(qdisc_freep) QDisc *tmp = NULL; in manager_rtnl_process_qdisc()
422 QDisc *qdisc = NULL; in manager_rtnl_process_qdisc()
527 static int qdisc_section_verify(QDisc *qdisc, bool *has_root, bool *has_clsact) { in qdisc_section_verify()
564 QDisc *qdisc; in network_drop_invalid_qdisc()
585 _cleanup_(qdisc_free_or_set_invalidp) QDisc *qdisc = NULL; in config_parse_qdisc_parent()
645 _cleanup_(qdisc_free_or_set_invalidp) QDisc *qdisc = NULL; in config_parse_qdisc_handle()