Lines Matching refs:lnstat_files
99 static void print_line(FILE *of, const struct lnstat_file *lnstat_files, in print_line() argument
112 static void print_json(FILE *of, const struct lnstat_file *lnstat_files, in print_json() argument
129 static int map_field_params(struct lnstat_file *lnstat_files, in map_field_params() argument
137 for (lf = lnstat_files; lf; lf = lf->next) { in map_field_params()
161 fps->params[i].lf = lnstat_find_field(lnstat_files, in map_field_params()
180 static struct table_hdr *build_hdr_string(struct lnstat_file *lnstat_files, in build_hdr_string() argument
239 struct lnstat_file *lnstat_files; in main() local
342 lnstat_files = lnstat_scan_dir(PROC_NET_STAT, num_req_files, in main()
347 lnstat_dump(stdout, lnstat_files); in main()
352 if (!map_field_params(lnstat_files, &fp, interval)) in main()
355 header = build_hdr_string(lnstat_files, &fp, 80); in main()
363 lnstat_update(lnstat_files); in main()
365 print_json(stdout, lnstat_files, &fp); in main()
370 print_line(stdout, lnstat_files, &fp); in main()