Lines Matching refs:TClass

27 static int tclass_new(TClassKind kind, TClass **ret) {  in tclass_new()
28 _cleanup_(tclass_freep) TClass *tclass = NULL; in tclass_new()
32 tclass = new(TClass, 1); in tclass_new()
36 *tclass = (TClass) { in tclass_new()
61 …tic(TClassKind kind, Network *network, const char *filename, unsigned section_line, TClass **ret) { in tclass_new_static()
63 _cleanup_(tclass_freep) TClass *tclass = NULL; in tclass_new_static()
64 TClass *existing; in tclass_new_static()
101 TClass* tclass_free(TClass *tclass) { in tclass_free()
117 static const char *tclass_get_tca_kind(const TClass *tclass) { in tclass_get_tca_kind()
124 static void tclass_hash_func(const TClass *tclass, struct siphash *state) { in tclass_hash_func()
133 static int tclass_compare_func(const TClass *a, const TClass *b) { in tclass_compare_func()
152 TClass,
157 static int tclass_get(Link *link, const TClass *in, TClass **ret) { in tclass_get()
158 TClass *existing; in tclass_get()
172 static int tclass_add(Link *link, TClass *tclass) { in tclass_add()
188 static int tclass_dup(const TClass *src, TClass **ret) { in tclass_dup()
189 _cleanup_(tclass_freep) TClass *dst = NULL; in tclass_dup()
197 dst = newdup(TClass, src, 1); in tclass_dup()
217 int link_find_tclass(Link *link, uint32_t classid, TClass **ret) { in link_find_tclass()
218 TClass *tclass; in link_find_tclass()
240 static void log_tclass_debug(TClass *tclass, Link *link, const char *str) { in log_tclass_debug()
258 static int tclass_handler(sd_netlink *rtnl, sd_netlink_message *m, Request *req, Link *link, TClass in tclass_handler()
280 static int tclass_configure(TClass *tclass, Link *link, Request *req) { in tclass_configure()
311 static bool tclass_is_ready_to_configure(TClass *tclass, Link *link) { in tclass_is_ready_to_configure()
321 static int tclass_process_request(Request *req, Link *link, TClass *tclass) { in tclass_process_request()
339 int link_request_tclass(Link *link, TClass *tclass) { in link_request_tclass()
340 TClass *existing; in link_request_tclass()
347 _cleanup_(tclass_freep) TClass *tmp = NULL; in link_request_tclass()
380 _cleanup_(tclass_freep) TClass *tmp = NULL; in manager_rtnl_process_tclass()
381 TClass *tclass = NULL; in manager_rtnl_process_tclass()
486 static int tclass_section_verify(TClass *tclass) { in tclass_section_verify()
504 TClass *tclass; in network_drop_invalid_tclass()
525 _cleanup_(tclass_free_or_set_invalidp) TClass *tclass = NULL; in config_parse_tclass_parent()
572 _cleanup_(tclass_free_or_set_invalidp) TClass *tclass = NULL; in config_parse_tclass_classid()