Home | History | Annotate | Download | only in misc

Lines Matching refs:fp

133 void format_rate(FILE *fp, double rate)
139 fprintf(fp, " %-10s", temp);
142 fprintf(fp, " %-10s", temp);
144 fprintf(fp, " %-10u", (unsigned)rate);
147 void format_count(FILE *fp, unsigned long long val)
150 fprintf(fp, " %10lluM", val/(1024*1024));
152 fprintf(fp, " %10lluK", val/1024);
154 fprintf(fp, " %10llu", val);
157 void dump_abs_db(FILE *fp)
163 fprintf(fp, "#%s\n", kern_db->signature);
164 fprintf(fp,
172 fprintf(fp,
208 fprintf(fp, "%-10s", rtnl_rtrealm_n2a(realm, b1, sizeof(b1)));
210 format_count(fp, val[i]);
211 fprintf(fp, "\n%-10s", "");
213 format_rate(fp, rate[i]);
214 fprintf(fp, "\n");
219 void dump_incr_db(FILE *fp)
225 fprintf(fp, "#%s\n", kern_db->signature);
226 fprintf(fp,
234 fprintf(fp,
283 fprintf(fp, "%-10s", rtnl_rtrealm_n2a(realm, b1, sizeof(b1)));
285 format_count(fp, rval[i]);
286 fprintf(fp, "\n%-10s", "");
288 format_rate(fp, rate[i]);
289 fprintf(fp, "\n");