Lines Matching refs:cops
31 struct rtnl_class_ops *cops; in class_free_data() local
35 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() local
51 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() local
65 cops = rtnl_class_lookup_ops(class); in class_dump_line()
66 if (cops && cops->co_dump[NL_DUMP_LINE]) in class_dump_line()
67 cops->co_dump[NL_DUMP_LINE](class, p); in class_dump_line()
74 struct rtnl_class_ops *cops; in class_dump_details() local
85 cops = rtnl_class_lookup_ops(class); in class_dump_details()
86 if (cops && cops->co_dump[NL_DUMP_DETAILS]) in class_dump_details()
87 cops->co_dump[NL_DUMP_DETAILS](class, p); in class_dump_details()
97 struct rtnl_class_ops *cops; in class_dump_stats() local
103 cops = rtnl_class_lookup_ops(class); in class_dump_stats()
104 if (cops && cops->co_dump[NL_DUMP_STATS]) in class_dump_stats()
105 cops->co_dump[NL_DUMP_STATS](class, p); in class_dump_stats()