Home | History | Annotate | Download | only in misc

Lines Matching refs:lnstat_files

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