Searched refs:cops (Results 1 – 8 of 8) sorted by relevance
37 int rtnl_class_register(struct rtnl_class_ops *cops) in rtnl_class_register() argument41 if (!cops->co_kind[0]) in rtnl_class_register()45 if (!strcasecmp(cops->co_kind, o->co_kind)) in rtnl_class_register()48 cops->co_next = NULL; in rtnl_class_register()49 *op = cops; in rtnl_class_register()58 int rtnl_class_unregister(struct rtnl_class_ops *cops) in rtnl_class_unregister() argument63 if (!strcasecmp(cops->co_kind, o->co_kind)) in rtnl_class_unregister()69 *op = cops->co_next; in rtnl_class_unregister()76 struct rtnl_class_ops *cops; in __rtnl_class_lookup_ops() local78 for (cops = class_ops_list; cops; cops = cops->co_next) in __rtnl_class_lookup_ops()[all …]
38 int rtnl_cls_register(struct rtnl_cls_ops *cops) in rtnl_cls_register() argument42 if (!cops->co_kind) in rtnl_cls_register()46 if (!strcasecmp(cops->co_kind, o->co_kind)) in rtnl_cls_register()49 cops->co_next = NULL; in rtnl_cls_register()50 *op = cops; in rtnl_cls_register()59 int rtnl_cls_unregister(struct rtnl_cls_ops *cops) in rtnl_cls_unregister() argument64 if (!strcasecmp(cops->co_kind, o->co_kind)) in rtnl_cls_unregister()70 *op = cops->co_next; in rtnl_cls_unregister()77 struct rtnl_cls_ops *cops; in __rtnl_cls_lookup_ops() local79 for (cops = cls_ops_list; cops; cops = cops->co_next) in __rtnl_cls_lookup_ops()[all …]
35 struct rtnl_cls_ops *cops; in cls_free_data() local39 cops = rtnl_cls_lookup_ops(cls); in cls_free_data()40 if (cops && cops->co_free_data) in cls_free_data()41 cops->co_free_data(cls); in cls_free_data()50 struct rtnl_cls_ops *cops; in cls_clone() local64 cops = rtnl_cls_lookup_ops(src); in cls_clone()65 if (cops && cops->co_clone) in cls_clone()66 err = cops->co_clone(dst, src); in cls_clone()75 struct rtnl_cls_ops *cops; in cls_dump_line() local82 cops = rtnl_cls_lookup_ops(cls); in cls_dump_line()[all …]
31 struct rtnl_class_ops *cops; in class_free_data() local35 cops = rtnl_class_lookup_ops(class); in class_free_data()36 if (cops && cops->co_free_data) in class_free_data()37 cops->co_free_data(class); in class_free_data()44 struct rtnl_class_ops *cops; in class_clone() local51 cops = rtnl_class_lookup_ops(src); in class_clone()52 if (cops && cops->co_clone) in class_clone()53 err = cops->co_clone(dst, src); in class_clone()61 struct rtnl_class_ops *cops; in class_dump_line() local65 cops = rtnl_class_lookup_ops(class); in class_dump_line()[all …]
35 struct rtnl_class_ops *cops; in class_msg_parser() local48 cops = rtnl_class_lookup_ops(class); in class_msg_parser()49 if (cops && cops->co_msg_parser) { in class_msg_parser()50 err = cops->co_msg_parser(class); in class_msg_parser()81 struct rtnl_class_ops *cops; in class_build() local88 cops = rtnl_class_lookup_ops(class); in class_build()89 if (cops && cops->co_get_opts) { in class_build()92 opts = cops->co_get_opts(class); in class_build()
41 struct rtnl_cls_ops *cops; in cls_msg_parser() local59 cops = rtnl_cls_lookup_ops(cls); in cls_msg_parser()60 if (cops && cops->co_msg_parser && (err = cops->co_msg_parser(cls)) < 0) in cls_msg_parser()86 struct rtnl_cls_ops *cops; in cls_build() local99 cops = rtnl_cls_lookup_ops(cls); in cls_build()100 if (cops && cops->co_get_opts) { in cls_build()108 if (!(err = cops->co_get_opts(cls, opts))) in cls_build()
632 /usr/share/ncurses4/terminfo/c/cops633 /usr/share/ncurses4/terminfo/c/cops-10