Lines Matching refs:ofp
246 FILE *ofp; member
1557 if (setvbuf(iop->ofp, iop->obuf, mode, size) < 0) { in set_vbuf()
1589 iop->ofp = my_fopen(iop->ofn, "w+"); in iop_open()
1590 if (iop->ofp == NULL) { in iop_open()
1599 fclose(iop->ofp); in iop_open()
1603 iop->ofd = fileno(iop->ofp); in iop_open()
1615 if (ftruncate(fileno(iop->ofp), mip->fs_size) < 0) { in close_iop()
1622 if (iop->ofp) in close_iop()
1623 fclose(iop->ofp); in close_iop()
1637 if (iop->ofp) in close_ios()
2034 FILE *ofp; in show_stats() local
2041 ofp = my_fopen("/dev/null", "w"); in show_stats()
2043 ofp = stdout; in show_stats()
2057 fprintf(ofp, "=== %s ===\n", dpp->buts_name); in show_stats()
2067 fprintf(ofp, in show_stats()
2075 fprintf(ofp, " Total: %20llu events (dropped %llu)," in show_stats()
2083 fflush(ofp); in show_stats()
2085 fclose(ofp); in show_stats()