Lines Matching defs:fp
221 static void graph_cls_show(FILE *fp, char *buf, struct hlist_head *root_list,
264 fprintf(fp, "%s", buf);
269 q->print_copt(q, fp, tb[TCA_OPTIONS]);
279 fprintf(fp, "\n");
280 print_tcstats_attr(fp, tb, buf, &stats);
290 fprintf(fp, "%s\n", buf);
293 graph_cls_show(fp, buf, &children, level + 1);
299 fprintf(fp, "%s", buf);
308 FILE *fp = (FILE*)arg;
344 fprintf(fp, "deleted ");
353 fprintf(fp, "class %s %s ", rta_getattr_str(tb[TCA_KIND]), abuf);
356 fprintf(fp, "dev %s ", ll_index_to_name(t->tcm_ifindex));
359 fprintf(fp, "root ");
365 fprintf(fp, "parent %s ", abuf);
368 fprintf(fp, "leaf %x: ", t->tcm_info>>16);
372 q->print_copt(q, fp, tb[TCA_OPTIONS]);
374 fprintf(fp, "[cannot parse class parameters]");
376 fprintf(fp, "\n");
381 print_tcstats_attr(fp, tb, " ", &xstats);
382 fprintf(fp, "\n");
385 q->print_xstats(q, fp, xstats ? : tb[TCA_XSTATS]);
386 fprintf(fp, "\n");
389 fflush(fp);