• Home
  • Raw
  • Download

Lines Matching defs:dl

203 struct dl {  struct
209 struct dl_opts opts; argument
222 static int dl_argc(struct dl *dl) in dl_argc()
227 static char *dl_argv(struct dl *dl) in dl_argv()
234 static void dl_arg_inc(struct dl *dl) in dl_arg_inc()
242 static char *dl_argv_next(struct dl *dl) in dl_argv_next()
254 static char *dl_argv_index(struct dl *dl, unsigned int index) in dl_argv_index()
268 static bool dl_argv_match(struct dl *dl, const char *pattern) in dl_argv_match()
275 static bool dl_no_arg(struct dl *dl) in dl_no_arg()
360 struct dl *dl = data; in ifname_map_cb() local
388 static void ifname_map_fini(struct dl *dl) in ifname_map_fini()
399 static int ifname_map_init(struct dl *dl) in ifname_map_init()
417 static int ifname_map_lookup(struct dl *dl, const char *ifname, in ifname_map_lookup()
434 static int ifname_map_rev_lookup(struct dl *dl, const char *bus_name, in ifname_map_rev_lookup()
510 static int dl_argv_handle(struct dl *dl, char **p_bus_name, char **p_dev_name) in dl_argv_handle()
553 static int __dl_argv_handle_port_ifname(struct dl *dl, char *str, in __dl_argv_handle_port_ifname()
568 static int dl_argv_handle_port(struct dl *dl, char **p_bus_name, in dl_argv_handle_port()
593 static int dl_argv_handle_both(struct dl *dl, char **p_bus_name, in dl_argv_handle_both()
633 static int dl_argv_uint32_t(struct dl *dl, uint32_t *p_val) in dl_argv_uint32_t()
651 static int dl_argv_uint16_t(struct dl *dl, uint16_t *p_val) in dl_argv_uint16_t()
669 static int dl_argv_str(struct dl *dl, const char **p_str) in dl_argv_str()
782 static int dl_argv_parse(struct dl *dl, uint32_t o_required, in dl_argv_parse()
1036 static void dl_opts_put(struct nlmsghdr *nlh, struct dl *dl) in dl_opts_put()
1093 static int dl_argv_parse_put(struct nlmsghdr *nlh, struct dl *dl, in dl_argv_parse_put()
1105 static bool dl_dump_filter(struct dl *dl, struct nlattr **tb) in dl_dump_filter()
1151 static bool cmp_arr_last_handle(struct dl *dl, const char *bus_name, in cmp_arr_last_handle()
1160 static void arr_last_handle_set(struct dl *dl, const char *bus_name, in arr_last_handle_set()
1170 static bool should_arr_last_handle_start(struct dl *dl, const char *bus_name, in should_arr_last_handle_start()
1176 static bool should_arr_last_handle_end(struct dl *dl, const char *bus_name, in should_arr_last_handle_end()
1183 static void __pr_out_handle_start(struct dl *dl, struct nlattr **tb, in __pr_out_handle_start()
1226 static void pr_out_handle_start_arr(struct dl *dl, struct nlattr **tb) in pr_out_handle_start_arr()
1231 static void pr_out_handle_end(struct dl *dl) in pr_out_handle_end()
1239 static void pr_out_handle(struct dl *dl, struct nlattr **tb) in pr_out_handle()
1245 static bool cmp_arr_last_port_handle(struct dl *dl, const char *bus_name, in cmp_arr_last_port_handle()
1252 static void arr_last_port_handle_set(struct dl *dl, const char *bus_name, in arr_last_port_handle_set()
1259 static bool should_arr_last_port_handle_start(struct dl *dl, in should_arr_last_port_handle_start()
1267 static bool should_arr_last_port_handle_end(struct dl *dl, in should_arr_last_port_handle_end()
1276 static void __pr_out_port_handle_start(struct dl *dl, const char *bus_name, in __pr_out_port_handle_start()
1317 static void pr_out_port_handle_start(struct dl *dl, struct nlattr **tb, bool try_nice) in pr_out_port_handle_start()
1329 static void pr_out_port_handle_start_arr(struct dl *dl, struct nlattr **tb, bool try_nice) in pr_out_port_handle_start_arr()
1341 static void pr_out_port_handle_end(struct dl *dl) in pr_out_port_handle_end()
1350 static void pr_out_str(struct dl *dl, const char *name, const char *val) in pr_out_str()
1362 static void pr_out_uint(struct dl *dl, const char *name, unsigned int val) in pr_out_uint()
1374 static void pr_out_dev(struct dl *dl, struct nlattr **tb) in pr_out_dev()
1379 static void pr_out_section_start(struct dl *dl, const char *name) in pr_out_section_start()
1388 static void pr_out_section_end(struct dl *dl) in pr_out_section_end()
1398 static void pr_out_array_start(struct dl *dl, const char *name) in pr_out_array_start()
1412 static void pr_out_array_end(struct dl *dl) in pr_out_array_end()
1420 static void pr_out_entry_start(struct dl *dl) in pr_out_entry_start()
1426 static void pr_out_entry_end(struct dl *dl) in pr_out_entry_end()
1459 static void pr_out_eswitch(struct dl *dl, struct nlattr **tb) in pr_out_eswitch()
1483 struct dl *dl = data; in cmd_dev_eswitch_show_cb() local
1494 static int cmd_dev_eswitch_show(struct dl *dl) in cmd_dev_eswitch_show()
1512 static int cmd_dev_eswitch_set(struct dl *dl) in cmd_dev_eswitch_set()
1536 static int cmd_dev_eswitch(struct dl *dl) in cmd_dev_eswitch()
1554 struct dl *dl = data; in cmd_dev_show_cb() local
1565 static int cmd_dev_show(struct dl *dl) in cmd_dev_show()
1588 static int cmd_dev(struct dl *dl) in cmd_dev()
1624 static void pr_out_port(struct dl *dl, struct nlattr **tb) in pr_out_port()
1656 struct dl *dl = data; in cmd_port_show_cb() local
1668 static int cmd_port_show(struct dl *dl) in cmd_port_show()
1691 static int cmd_port_set(struct dl *dl) in cmd_port_set()
1706 static int cmd_port_split(struct dl *dl) in cmd_port_split()
1721 static int cmd_port_unsplit(struct dl *dl) in cmd_port_unsplit()
1736 static int cmd_port(struct dl *dl) in cmd_port()
1779 static void pr_out_sb(struct dl *dl, struct nlattr **tb) in pr_out_sb()
1799 struct dl *dl = data; in cmd_sb_show_cb() local
1815 static int cmd_sb_show(struct dl *dl) in cmd_sb_show()
1856 static void pr_out_sb_pool(struct dl *dl, struct nlattr **tb) in pr_out_sb_pool()
1874 struct dl *dl = data; in cmd_sb_pool_show_cb() local
1888 static int cmd_sb_pool_show(struct dl *dl) in cmd_sb_pool_show()
1912 static int cmd_sb_pool_set(struct dl *dl) in cmd_sb_pool_set()
1928 static int cmd_sb_pool(struct dl *dl) in cmd_sb_pool()
1945 static void pr_out_sb_port_pool(struct dl *dl, struct nlattr **tb) in pr_out_sb_port_pool()
1959 struct dl *dl = data; in cmd_sb_port_pool_show_cb() local
1972 static int cmd_sb_port_pool_show(struct dl *dl) in cmd_sb_port_pool_show()
1997 static int cmd_sb_port_pool_set(struct dl *dl) in cmd_sb_port_pool_set()
2013 static int cmd_sb_port_pool(struct dl *dl) in cmd_sb_port_pool()
2030 static int cmd_sb_port(struct dl *dl) in cmd_sb_port()
2043 static void pr_out_sb_tc_bind(struct dl *dl, struct nlattr **tb) in pr_out_sb_tc_bind()
2061 struct dl *dl = data; in cmd_sb_tc_bind_show_cb() local
2075 static int cmd_sb_tc_bind_show(struct dl *dl) in cmd_sb_tc_bind_show()
2099 static int cmd_sb_tc_bind_set(struct dl *dl) in cmd_sb_tc_bind_set()
2116 static int cmd_sb_tc_bind(struct dl *dl) in cmd_sb_tc_bind()
2133 static int cmd_sb_tc(struct dl *dl) in cmd_sb_tc()
2166 struct dl *dl; member
2207 static struct occ_show *occ_show_alloc(struct dl *dl) in occ_show_alloc()
2269 static void pr_out_json_occ_show_item_list(struct dl *dl, const char *label, in pr_out_json_occ_show_item_list()
2292 static void pr_out_occ_show_port(struct dl *dl, struct occ_port *occ_port) in pr_out_occ_show_port()
2311 struct dl *dl = occ_show->dl; in pr_out_occ_show() local
2417 static int cmd_sb_occ_show(struct dl *dl) in cmd_sb_occ_show()
2455 static int cmd_sb_occ_snapshot(struct dl *dl) in cmd_sb_occ_snapshot()
2470 static int cmd_sb_occ_clearmax(struct dl *dl) in cmd_sb_occ_clearmax()
2485 static int cmd_sb_occ(struct dl *dl) in cmd_sb_occ()
2505 static int cmd_sb(struct dl *dl) in cmd_sb()
2570 static bool cmd_filter_check(struct dl *dl, uint8_t cmd) in cmd_filter_check()
2587 struct dl *dl = data; in cmd_mon_show_cb() local
2621 static int cmd_mon_show(struct dl *dl) in cmd_mon_show()
2650 static int cmd_mon(struct dl *dl) in cmd_mon()
2679 struct dl *dl; member
2736 static struct dpipe_ctx *dpipe_ctx_alloc(struct dl *dl) in dpipe_ctx_alloc()
3022 static int cmd_dpipe_headers_show(struct dl *dl) in cmd_dpipe_headers_show()
3057 static int cmd_dpipe_header(struct dl *dl) in cmd_dpipe_header()
3323 static int cmd_dpipe_table_show(struct dl *dl) in cmd_dpipe_table_show()
3359 static int cmd_dpipe_table_set(struct dl *dl) in cmd_dpipe_table_set()
3720 static int cmd_dpipe_table_dump(struct dl *dl) in cmd_dpipe_table_dump()
3762 static int cmd_dpipe_table(struct dl *dl) in cmd_dpipe_table()
3787 static int cmd_dpipe(struct dl *dl) in cmd_dpipe()
3811 static int dl_cmd(struct dl *dl, int argc, char **argv) in dl_cmd()
3839 static int dl_init(struct dl *dl) in dl_init()
3871 static void dl_fini(struct dl *dl) in dl_fini()
3881 struct dl *dl; in dl_alloc() local
3889 static void dl_free(struct dl *dl) in dl_free()
3894 static int dl_batch(struct dl *dl, const char *name, bool force) in dl_batch()
3947 struct dl *dl; in main() local