/linux-6.3-rc2/tools/bpf/bpftool/ |
A D | map.c | 296 if (is_prefix(*argv, "hex")) { in parse_bytes() 343 if (is_prefix(*argv, "key")) { in parse_elem() 358 } else if (is_prefix(*argv, "value")) { in parse_elem() 400 if (is_prefix(*argv, "id")) in parse_elem() 420 } else if (is_prefix(*argv, "any") || is_prefix(*argv, "noexist") || in parse_elem() 421 is_prefix(*argv, "exist")) { in parse_elem() 427 if (is_prefix(*argv, "any")) in parse_elem() 429 else if (is_prefix(*argv, "noexist")) in parse_elem() 431 else if (is_prefix(*argv, "exist")) in parse_elem() 1248 if (is_prefix(*argv, "type")) { in do_create() [all …]
|
A D | feature.c | 1173 if (is_prefix(*argv, "kernel")) { in do_probe() 1180 } else if (is_prefix(*argv, "dev")) { in do_probe() 1198 } else if (is_prefix(*argv, "full")) { in do_probe() 1201 } else if (is_prefix(*argv, "macros") && !define_prefix) { in do_probe() 1204 } else if (is_prefix(*argv, "prefix")) { in do_probe() 1218 } else if (is_prefix(*argv, "unprivileged")) { in do_probe() 1277 if (is_prefix(*argv, "prog_types")) { in do_list_builtins() 1279 } else if (is_prefix(*argv, "map_types")) { in do_list_builtins() 1281 } else if (is_prefix(*argv, "attach_types")) { in do_list_builtins() 1283 } else if (is_prefix(*argv, "link_types")) { in do_list_builtins() [all …]
|
A D | prog.c | 889 if (is_prefix(*argv, "jited")) { in do_dump() 893 } else if (is_prefix(*argv, "xlated")) { in do_dump() 913 if (is_prefix(*argv, "file")) { in do_dump() 929 } else if (is_prefix(*argv, "visual")) { in do_dump() 937 } else if (is_prefix(*argv, "linum")) { in do_dump() 1286 if (is_prefix(*argv, "data_in")) { in do_run() 1545 if (is_prefix(*argv, "type")) { in load_with_options() 1577 } else if (is_prefix(*argv, "map")) { in load_with_options() 1587 if (is_prefix(*argv, "idx")) { in load_with_options() 1596 } else if (is_prefix(*argv, "name")) { in load_with_options() [all …]
|
A D | btf.c | 566 if (is_prefix(src, "map")) { in do_dump() 580 if (argc && is_prefix(*argv, "key")) { in do_dump() 583 } else if (argc && is_prefix(*argv, "value")) { in do_dump() 586 } else if (argc && is_prefix(*argv, "all")) { in do_dump() 588 } else if (argc && is_prefix(*argv, "kv")) { in do_dump() 596 } else if (is_prefix(src, "prog")) { in do_dump() 616 } else if (is_prefix(src, "id")) { in do_dump() 625 } else if (is_prefix(src, "file")) { in do_dump() 648 if (is_prefix(*argv, "format")) { in do_dump() 712 if (!is_prefix(*argv[0], "id")) { in btf_parse_fd()
|
A D | cgroup.c | 63 if (is_prefix(str, attach_type_str)) in parse_attach_type() 300 if (is_prefix(*argv, "effective")) { in do_show() 461 if (is_prefix(*argv, "effective")) { in do_show_tree() 542 if (is_prefix(argv[i], "multi")) { in do_attach() 544 } else if (is_prefix(argv[i], "override")) { in do_attach()
|
A D | main.c | 200 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()
|
A D | common.c | 801 if (is_prefix(**argv, "id")) { in prog_parse_fds() 820 } else if (is_prefix(**argv, "tag")) { in prog_parse_fds() 834 } else if (is_prefix(**argv, "name")) { in prog_parse_fds() 847 } else if (is_prefix(**argv, "pinned")) { in prog_parse_fds() 952 if (is_prefix(**argv, "id")) { in map_parse_fds() 971 } else if (is_prefix(**argv, "name")) { in map_parse_fds() 984 } else if (is_prefix(**argv, "pinned")) { in map_parse_fds()
|
A D | map_perf_ring.c | 146 if (is_prefix(*argv, "cpu")) { in do_event_pipe() 157 } else if (is_prefix(*argv, "index")) { in do_event_pipe()
|
A D | net.c | 87 is_prefix(str, attach_type_strings[type])) in parse_attach_type() 526 if (is_prefix(**argv, "dev")) { in net_parse_dev() 587 if (is_prefix(*argv, "overwrite")) { in do_attach() 597 if (is_prefix("xdp", attach_type_strings[attach_type])) in do_attach() 635 if (is_prefix("xdp", attach_type_strings[attach_type])) in do_detach()
|
A D | iter.c | 32 if (is_prefix(*argv, "map")) { in do_pin()
|
A D | link.c | 22 if (is_prefix(**argv, "id")) { in link_parse_fd() 39 } else if (is_prefix(**argv, "pinned")) { in link_parse_fd()
|
A D | struct_ops.c | 304 if (is_prefix(search_type, "id")) in do_work_on_struct_ops() 306 else if (!is_prefix(search_type, "name")) in do_work_on_struct_ops()
|
A D | main.h | 91 bool is_prefix(const char *pfx, const char *str);
|
A D | gen.c | 931 if (is_prefix(*argv, "name")) { in do_skeleton() 1302 if (is_prefix(*argv, "name")) { in do_subskeleton()
|