Home
last modified time | relevance | path

Searched refs:fmt_str (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/tools/bpf/bpftool/ !
Dnetlink_dumper.h53 #define NET_START_ARRAY(name, fmt_str) \ argument
59 fprintf(stdout, fmt_str, name); \
71 #define NET_DUMP_UINT(name, fmt_str, val) \ argument
76 fprintf(stdout, fmt_str, val); \
87 #define NET_DUMP_STR(name, fmt_str, str) \ argument
92 fprintf(stdout, fmt_str, str); \
/linux-6.6.21/tools/testing/selftests/bpf/ !
Dbtf_helpers.c143 const char *fmt_str; in fprintf_btf_type_raw() local
145 fmt_str = btf_kflag(t) ? "\n\t'%s' val=%d" : "\n\t'%s' val=%u"; in fprintf_btf_type_raw()
149 fprintf(out, fmt_str, in fprintf_btf_type_raw()
156 const char *fmt_str; in fprintf_btf_type_raw() local
158 fmt_str = btf_kflag(t) ? "\n\t'%s' val=%lld" : "\n\t'%s' val=%llu"; in fprintf_btf_type_raw()
163 fprintf(out, fmt_str, in fprintf_btf_type_raw()
Dveristat.c1271 const char *fmt_str; in output_headers() local
1285 fmt_str = stat_defs[id].left_aligned ? "%s%-*s" : "%s%*s"; in output_headers()
1286 printf(fmt_str, i == 0 ? "" : COLUMN_SEP, *max_len, stat_defs[id].header); in output_headers()
/linux-6.6.21/tools/lib/bpf/ !
Dbtf_dump.c1067 const char *fmt_str; in btf_dump_emit_enum32_val() local
1077 fmt_str = is_signed ? "\n%s%s___%zd = %d," : "\n%s%s___%zd = %u,"; in btf_dump_emit_enum32_val()
1078 btf_dump_printf(d, fmt_str, pfx(lvl + 1), name, dup_cnt, v->val); in btf_dump_emit_enum32_val()
1080 fmt_str = is_signed ? "\n%s%s = %d," : "\n%s%s = %u,"; in btf_dump_emit_enum32_val()
1081 btf_dump_printf(d, fmt_str, pfx(lvl + 1), name, v->val); in btf_dump_emit_enum32_val()
1092 const char *fmt_str; in btf_dump_emit_enum64_val() local
1103 fmt_str = is_signed ? "\n%s%s___%zd = %lldLL," in btf_dump_emit_enum64_val()
1105 btf_dump_printf(d, fmt_str, in btf_dump_emit_enum64_val()
1109 fmt_str = is_signed ? "\n%s%s = %lldLL," in btf_dump_emit_enum64_val()
1111 btf_dump_printf(d, fmt_str, in btf_dump_emit_enum64_val()
Drelo_core.c1189 const char *fmt_str; in bpf_core_format_spec() local
1193 fmt_str = BTF_INFO_KFLAG(t->info) ? "::%s = %d" : "::%s = %u"; in bpf_core_format_spec()
1194 append_buf(fmt_str, s, e->val); in bpf_core_format_spec()
1197 const char *fmt_str; in bpf_core_format_spec() local
1201 fmt_str = BTF_INFO_KFLAG(t->info) ? "::%s = %lld" : "::%s = %llu"; in bpf_core_format_spec()
1202 append_buf(fmt_str, s, (unsigned long long)btf_enum64_value(e)); in bpf_core_format_spec()
/linux-6.6.21/tools/testing/selftests/kvm/lib/ !
Dsparsebit.c1551 char *fmt_str; in display_range() local
1556 fmt_str = prepend_comma_space ? ", 0x%lx" : "0x%lx"; in display_range()
1558 fmt_str = prepend_comma_space ? ", 0x%lx:0x%lx" : "0x%lx:0x%lx"; in display_range()
1565 sz = snprintf(NULL, 0, fmt_str, low, high); in display_range()
1567 sz = fprintf(stream, fmt_str, low, high); in display_range()
/linux-6.6.21/drivers/net/wireless/ath/ath6kl/ !
Ddebug.c697 #define print_credit_info(fmt_str, ep_list_field) \ argument
698 (len += scnprintf(buf + len, buf_len - len, fmt_str, \
/linux-6.6.21/kernel/bpf/ !
Dhelpers.c887 goto fmt_str; in bpf_bprintf_prepare()
953 fmt_str: in bpf_bprintf_prepare()
Dbtf.c4064 const char *fmt_str; in btf_enum_check_meta() local
4108 fmt_str = btf_type_kflag(t) ? "\t%s val=%d\n" : "\t%s val=%u\n"; in btf_enum_check_meta()
4109 btf_verifier_log(env, fmt_str, in btf_enum_check_meta()
4172 const char *fmt_str; in btf_enum64_check_meta() local
4217 fmt_str = btf_type_kflag(t) ? "\t%s val=%lld\n" : "\t%s val=%llu\n"; in btf_enum64_check_meta()
4218 btf_verifier_log(env, fmt_str, in btf_enum64_check_meta()