/Linux-v6.6/tools/bpf/bpftool/ |
D | map.c | 304 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 …]
|
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 …]
|
D | prog.c | 82 is_prefix(str, attach_type_strings[type])) in parse_attach_type() 884 if (is_prefix(*argv, "jited")) { in do_dump() 888 } else if (is_prefix(*argv, "xlated")) { in do_dump() 909 if (is_prefix(*argv, "file")) { in do_dump() 922 } else if (is_prefix(*argv, "opcodes")) { in do_dump() 925 } else if (is_prefix(*argv, "visual")) { in do_dump() 933 } else if (is_prefix(*argv, "linum")) { in do_dump() 1290 if (is_prefix(*argv, "data_in")) { in do_run() 1298 } else if (is_prefix(*argv, "data_out")) { in do_run() 1304 } else if (is_prefix(*argv, "data_size_out")) { in do_run() [all …]
|
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()
|
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()
|
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()
|
D | common.c | 804 if (is_prefix(**argv, "id")) { in prog_parse_fds() 823 } else if (is_prefix(**argv, "tag")) { in prog_parse_fds() 837 } else if (is_prefix(**argv, "name")) { in prog_parse_fds() 850 } else if (is_prefix(**argv, "pinned")) { in prog_parse_fds() 955 if (is_prefix(**argv, "id")) { in map_parse_fds() 974 } else if (is_prefix(**argv, "name")) { in map_parse_fds() 987 } else if (is_prefix(**argv, "pinned")) { in map_parse_fds()
|
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()
|
D | net.c | 92 is_prefix(str, attach_type_strings[type])) in parse_attach_type() 612 if (is_prefix(**argv, "dev")) { in net_parse_dev() 673 if (is_prefix(*argv, "overwrite")) { in do_attach() 683 if (is_prefix("xdp", attach_type_strings[attach_type])) in do_attach() 721 if (is_prefix("xdp", attach_type_strings[attach_type])) in do_detach()
|
D | iter.c | 32 if (is_prefix(*argv, "map")) { in do_pin()
|
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()
|
D | main.h | 91 bool is_prefix(const char *pfx, const char *str);
|
D | link.c | 95 if (is_prefix(**argv, "id")) { in link_parse_fd() 112 } else if (is_prefix(**argv, "pinned")) { in link_parse_fd()
|
D | gen.c | 931 if (is_prefix(*argv, "name")) { in do_skeleton() 1302 if (is_prefix(*argv, "name")) { in do_subskeleton()
|