Home
last modified time | relevance | path

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

/linux-6.12.1/tools/bpf/bpftool/
Dmap.c304 if (is_prefix(*argv, "hex")) { in parse_bytes()
351 if (is_prefix(*argv, "key")) { in parse_elem()
366 } else if (is_prefix(*argv, "value")) { in parse_elem()
408 if (is_prefix(*argv, "id")) in parse_elem()
428 } else if (is_prefix(*argv, "any") || is_prefix(*argv, "noexist") || in parse_elem()
429 is_prefix(*argv, "exist")) { in parse_elem()
435 if (is_prefix(*argv, "any")) in parse_elem()
437 else if (is_prefix(*argv, "noexist")) in parse_elem()
439 else if (is_prefix(*argv, "exist")) in parse_elem()
1256 if (is_prefix(*argv, "type")) { in do_create()
[all …]
Dfeature.c1170 if (is_prefix(*argv, "kernel")) { in do_probe()
1177 } else if (is_prefix(*argv, "dev")) { in do_probe()
1195 } else if (is_prefix(*argv, "full")) { in do_probe()
1198 } else if (is_prefix(*argv, "macros") && !define_prefix) { in do_probe()
1201 } else if (is_prefix(*argv, "prefix")) { in do_probe()
1215 } else if (is_prefix(*argv, "unprivileged")) { in do_probe()
1274 if (is_prefix(*argv, "prog_types")) { in do_list_builtins()
1276 } else if (is_prefix(*argv, "map_types")) { in do_list_builtins()
1278 } else if (is_prefix(*argv, "attach_types")) { in do_list_builtins()
1280 } else if (is_prefix(*argv, "link_types")) { in do_list_builtins()
[all …]
Dprog.c82 is_prefix(str, attach_type_strings[type])) in parse_attach_type()
888 if (is_prefix(*argv, "jited")) { in do_dump()
892 } else if (is_prefix(*argv, "xlated")) { in do_dump()
913 if (is_prefix(*argv, "file")) { in do_dump()
926 } else if (is_prefix(*argv, "opcodes")) { in do_dump()
929 } else if (is_prefix(*argv, "visual")) { in do_dump()
937 } else if (is_prefix(*argv, "linum")) { in do_dump()
1294 if (is_prefix(*argv, "data_in")) { in do_run()
1302 } else if (is_prefix(*argv, "data_out")) { in do_run()
1308 } else if (is_prefix(*argv, "data_size_out")) { in do_run()
[all …]
Dcgroup.c97 if (is_prefix(str, attach_type_str)) in parse_attach_type()
334 if (is_prefix(*argv, "effective")) { in do_show()
495 if (is_prefix(*argv, "effective")) { in do_show_tree()
576 if (is_prefix(argv[i], "multi")) { in do_attach()
578 } else if (is_prefix(argv[i], "override")) { in do_attach()
Dbtf.c817 if (is_prefix(src, "map")) { in do_dump()
831 if (argc && is_prefix(*argv, "key")) { in do_dump()
834 } else if (argc && is_prefix(*argv, "value")) { in do_dump()
837 } else if (argc && is_prefix(*argv, "all")) { in do_dump()
839 } else if (argc && is_prefix(*argv, "kv")) { in do_dump()
847 } else if (is_prefix(src, "prog")) { in do_dump()
867 } else if (is_prefix(src, "id")) { in do_dump()
876 } else if (is_prefix(src, "file")) { in do_dump()
899 if (is_prefix(*argv, "format")) { in do_dump()
917 } else if (is_prefix(*argv, "unsorted")) { in do_dump()
[all …]
Dmain.c200 if (is_prefix(*argv, cmds[i].cmd)) { in cmd_select()
215 bool is_prefix(const char *pfx, const char *str) in is_prefix() function
236 if (!is_prefix(arg, ref)) in detect_common_prefix()
340 } else if (!is_prefix(*argv, "file")) { in do_batch()
Dcommon.c876 if (is_prefix(**argv, "id")) { in prog_parse_fds()
895 } else if (is_prefix(**argv, "tag")) { in prog_parse_fds()
909 } else if (is_prefix(**argv, "name")) { in prog_parse_fds()
922 } else if (is_prefix(**argv, "pinned")) { in prog_parse_fds()
1027 if (is_prefix(**argv, "id")) { in map_parse_fds()
1046 } else if (is_prefix(**argv, "name")) { in map_parse_fds()
1059 } else if (is_prefix(**argv, "pinned")) { in map_parse_fds()
Dmap_perf_ring.c146 if (is_prefix(*argv, "cpu")) { in do_event_pipe()
157 } else if (is_prefix(*argv, "index")) { in do_event_pipe()
Diter.c32 if (is_prefix(*argv, "map")) { in do_pin()
Dstruct_ops.c310 if (is_prefix(search_type, "id")) in do_work_on_struct_ops()
312 else if (!is_prefix(search_type, "name")) in do_work_on_struct_ops()
Dnet.c98 is_prefix(str, attach_type_strings[type])) in parse_attach_type()
621 if (is_prefix(**argv, "dev")) { in net_parse_dev()
708 if (is_prefix(*argv, "overwrite")) { in do_attach()
Dmain.h91 bool is_prefix(const char *pfx, const char *str);
Dlink.c95 if (is_prefix(**argv, "id")) { in link_parse_fd()
112 } else if (is_prefix(**argv, "pinned")) { in link_parse_fd()
Dgen.c1190 if (is_prefix(*argv, "name")) { in do_skeleton()
1597 if (is_prefix(*argv, "name")) { in do_subskeleton()