Searched refs:prog_type_str (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/tools/bpf/bpftool/ |
D | feature.c | 551 probe_prog_type(enum bpf_prog_type prog_type, const char *prog_type_str, in probe_prog_type() argument 584 if (strlen(prog_type_str) > maxlen) { in probe_prog_type() 589 sprintf(feat_name, "have_%s_prog_type", prog_type_str); in probe_prog_type() 590 sprintf(define_name, "%s_prog_type", prog_type_str); in probe_prog_type() 592 sprintf(plain_desc, "%s%s", plain_comment, prog_type_str); in probe_prog_type() 724 const char *prog_type_str, bool supported_type, in probe_helpers_for_progtype() argument 742 sprintf(feat_name, "%s_available_helpers", prog_type_str); in probe_helpers_for_progtype() 747 prog_type_str); in probe_helpers_for_progtype() 763 define_prefix, id, prog_type_str, in probe_helpers_for_progtype() 939 const char *prog_type_str; in section_program_types() local [all …]
|
D | link.c | 403 const char *prog_type_str; in show_link_close_json() local 420 prog_type_str = libbpf_bpf_prog_type_str(prog_info.type); in show_link_close_json() 422 if (prog_type_str) in show_link_close_json() 423 jsonw_string_field(json_wtr, "prog_type", prog_type_str); in show_link_close_json() 741 const char *prog_type_str; in show_link_close_plain() local 756 prog_type_str = libbpf_bpf_prog_type_str(prog_info.type); in show_link_close_plain() 758 if (prog_type_str) in show_link_close_plain() 759 printf("\n\tprog_type %s ", prog_type_str); in show_link_close_plain()
|
D | map.c | 496 const char *prog_type_str; in show_map_close_json() local 498 prog_type_str = libbpf_bpf_prog_type_str(prog_type); in show_map_close_json() 499 if (prog_type_str) in show_map_close_json() 501 prog_type_str); in show_map_close_json() 585 const char *prog_type_str; in show_map_close_plain() local 587 prog_type_str = libbpf_bpf_prog_type_str(prog_type); in show_map_close_plain() 588 if (prog_type_str) in show_map_close_plain() 589 printf("owner_prog_type %s ", prog_type_str); in show_map_close_plain()
|
D | prog.c | 415 const char *prog_type_str; in print_prog_header_json() local 419 prog_type_str = libbpf_bpf_prog_type_str(info->type); in print_prog_header_json() 421 if (prog_type_str) in print_prog_header_json() 422 jsonw_string_field(json_wtr, "type", prog_type_str); in print_prog_header_json() 503 const char *prog_type_str; in print_prog_header_plain() local 507 prog_type_str = libbpf_bpf_prog_type_str(info->type); in print_prog_header_plain() 508 if (prog_type_str) in print_prog_header_plain() 509 printf("%s ", prog_type_str); in print_prog_header_plain()
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | libbpf_str.c | 182 const char *prog_type_str; in test_libbpf_bpf_prog_type_str() local 186 prog_type_str = libbpf_bpf_prog_type_str(prog_type); in test_libbpf_bpf_prog_type_str() 187 ASSERT_OK_PTR(prog_type_str, prog_type_name); in test_libbpf_bpf_prog_type_str() 189 snprintf(buf, sizeof(buf), "BPF_PROG_TYPE_%s", prog_type_str); in test_libbpf_bpf_prog_type_str()
|