Lines Matching refs:fps
130 struct field_params *fps, int interval) in map_field_params() argument
136 if (!fps->num) { in map_field_params()
139 fps->params[j].lf = &lf->fields[i]; in map_field_params()
140 fps->params[j].lf->file->interval.tv_sec = in map_field_params()
142 if (!fps->params[j].print.width) in map_field_params()
143 fps->params[j].print.width = in map_field_params()
156 fps->num = j; in map_field_params()
160 for (i = 0; i < fps->num; i++) { in map_field_params()
161 fps->params[i].lf = lnstat_find_field(lnstat_files, in map_field_params()
162 fps->params[i].name); in map_field_params()
163 if (!fps->params[i].lf) { in map_field_params()
165 fps->params[i].name); in map_field_params()
168 fps->params[i].lf->file->interval.tv_sec = interval; in map_field_params()
169 if (!fps->params[i].print.width) in map_field_params()
170 fps->params[i].print.width = FIELD_WIDTH_DEFAULT; in map_field_params()
181 struct field_params *fps, in build_hdr_string() argument
193 for (i = 0; i < fps->num; i++) { in build_hdr_string()
194 char *cname, *fname = fps->params[i].lf->name; in build_hdr_string()
195 unsigned int width = fps->params[i].print.width; in build_hdr_string()
198 fps->params[i].lf->file->basename); in build_hdr_string()