Home
last modified time | relevance | path

Searched refs:occ_show (Results 1 – 1 of 1) sorted by relevance

/external/iproute2/devlink/
Ddevlink.c2165 struct occ_show { struct
2207 static struct occ_show *occ_show_alloc(struct dl *dl) in occ_show_alloc()
2209 struct occ_show *occ_show; in occ_show_alloc() local
2211 occ_show = calloc(1, sizeof(*occ_show)); in occ_show_alloc()
2212 if (!occ_show) in occ_show_alloc()
2214 occ_show->dl = dl; in occ_show_alloc()
2215 INIT_LIST_HEAD(&occ_show->port_list); in occ_show_alloc()
2216 return occ_show; in occ_show_alloc()
2219 static void occ_show_free(struct occ_show *occ_show) in occ_show_free() argument
2223 list_for_each_entry_safe(occ_port, tmp, &occ_show->port_list, list) in occ_show_free()
[all …]