Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/
Dveristat.c403 } stat_defs[] = { variable
424 for (id = 0; id < ARRAY_SIZE(stat_defs); id++) { in parse_stat()
425 struct stat_def *def = &stat_defs[id]; in parse_stat()
427 for (i = 0; i < ARRAY_SIZE(stat_defs[id].names); i++) { in parse_stat()
724 len = snprintf(NULL, 0, "%s", stat_defs[id].header); in output_headers()
729 printf("%s%-*s", i == 0 ? "" : COLUMN_SEP, *max_len, stat_defs[id].header); in output_headers()
734 printf("%s%s", i == 0 ? "" : ",", stat_defs[id].names[0]); in output_headers()
1050 len = snprintf(NULL, 0, "%s%s", stat_defs[id].header, sfx); in output_comp_headers()
1057 *max_len - (int)strlen(sfx), stat_defs[id].header, sfx); in output_comp_headers()
1063 printf("%s%s%s", i + j == 0 ? "" : ",", stat_defs[id].names[0], sfx); in output_comp_headers()
[all …]