Lines Matching refs:define_prefix

78 		   const char *define_name, bool res, const char *define_prefix)  in print_bool_feature()  argument
82 else if (define_prefix) in print_bool_feature()
83 printf("#define %s%sHAVE_%s\n", define_prefix, in print_bool_feature()
90 const char *define_prefix) in print_kernel_option() argument
106 } else if (define_prefix) { in print_kernel_option()
108 printf("#define %s%s %s\n", define_prefix, in print_kernel_option()
111 printf("/* %s%s is not set */\n", define_prefix, name); in print_kernel_option()
122 const char *define_comment, const char *define_prefix) in print_start_section() argument
127 } else if (define_prefix) { in print_start_section()
358 static void probe_kernel_image_config(const char *define_prefix) in probe_kernel_image_config() argument
477 if ((define_prefix && !options[i].macro_dump) || in probe_kernel_image_config()
486 if (define_prefix && !options[i].macro_dump) in probe_kernel_image_config()
488 print_kernel_option(options[i].name, values[i], define_prefix); in probe_kernel_image_config()
497 static bool probe_bpf_syscall(const char *define_prefix) in probe_bpf_syscall() argument
507 res, define_prefix); in probe_bpf_syscall()
548 bool *supported_types, const char *define_prefix, __u32 ifindex) in probe_prog_type() argument
590 define_prefix); in probe_prog_type()
615 const char *define_prefix, __u32 ifindex) in probe_map_type() argument
651 define_prefix); in probe_map_type()
684 const char *define_prefix, unsigned int id, in probe_helper_for_progtype() argument
707 } else if (define_prefix) { in probe_helper_for_progtype()
709 define_prefix, ptype_name, helper_name[id], in probe_helper_for_progtype()
722 const char *define_prefix, __u32 ifindex) in probe_helpers_for_progtype() argument
742 } else if (!define_prefix) { in probe_helpers_for_progtype()
760 define_prefix, id, prog_type_str, in probe_helpers_for_progtype()
767 else if (!define_prefix) { in probe_helpers_for_progtype()
782 const char *define_prefix, __u32 ifindex, in probe_misc_feature() argument
801 define_prefix); in probe_misc_feature()
809 static void probe_large_insn_limit(const char *define_prefix, __u32 ifindex) in probe_large_insn_limit() argument
819 define_prefix, ifindex, in probe_large_insn_limit()
830 probe_bounded_loops(const char *define_prefix, __u32 ifindex) in probe_bounded_loops() argument
840 define_prefix, ifindex, in probe_bounded_loops()
851 probe_v2_isa_extension(const char *define_prefix, __u32 ifindex) in probe_v2_isa_extension() argument
861 define_prefix, ifindex, in probe_v2_isa_extension()
872 probe_v3_isa_extension(const char *define_prefix, __u32 ifindex) in probe_v3_isa_extension() argument
882 define_prefix, ifindex, in probe_v3_isa_extension()
889 section_system_config(enum probe_component target, const char *define_prefix) in section_system_config() argument
897 define_prefix); in section_system_config()
898 if (!define_prefix) { in section_system_config()
909 probe_kernel_image_config(define_prefix); in section_system_config()
917 static bool section_syscall_config(const char *define_prefix) in section_syscall_config() argument
924 define_prefix); in section_syscall_config()
925 res = probe_bpf_syscall(define_prefix); in section_syscall_config()
932 section_program_types(bool *supported_types, const char *define_prefix, in section_program_types() argument
941 define_prefix); in section_program_types()
950 probe_prog_type(prog_type, prog_type_str, supported_types, define_prefix, in section_program_types()
957 static void section_map_types(const char *define_prefix, __u32 ifindex) in section_map_types() argument
965 define_prefix); in section_map_types()
974 probe_map_type(map_type, map_type_str, define_prefix, ifindex); in section_map_types()
981 section_helpers(bool *supported_types, const char *define_prefix, __u32 ifindex) in section_helpers() argument
989 define_prefix); in section_helpers()
991 if (define_prefix) in section_helpers()
1004 define_prefix, define_prefix, define_prefix, in section_helpers()
1005 define_prefix); in section_helpers()
1015 define_prefix, in section_helpers()
1022 static void section_misc(const char *define_prefix, __u32 ifindex) in section_misc() argument
1027 define_prefix); in section_misc()
1028 probe_large_insn_limit(define_prefix, ifindex); in section_misc()
1029 probe_bounded_loops(define_prefix, ifindex); in section_misc()
1030 probe_v2_isa_extension(define_prefix, ifindex); in section_misc()
1031 probe_v3_isa_extension(define_prefix, ifindex); in section_misc()
1162 const char *define_prefix = NULL; in do_probe() local
1198 } else if (is_prefix(*argv, "macros") && !define_prefix) { in do_probe()
1199 define_prefix = ""; in do_probe()
1202 if (!define_prefix) { in do_probe()
1206 if (strcmp(define_prefix, "")) { in do_probe()
1214 define_prefix = GET_ARG(); in do_probe()
1237 define_prefix = NULL; in do_probe()
1241 section_system_config(target, define_prefix); in do_probe()
1242 if (!section_syscall_config(define_prefix)) in do_probe()
1245 section_program_types(supported_types, define_prefix, ifindex); in do_probe()
1246 section_map_types(define_prefix, ifindex); in do_probe()
1247 section_helpers(supported_types, define_prefix, ifindex); in do_probe()
1248 section_misc(define_prefix, ifindex); in do_probe()