Lines Matching refs:ofp
261 FILE *ofp = NULL;
608 fprintf(ofp,
1653 fprintf(ofp, "%s\n", msg);
1655 fprintf(ofp, " Reads Queued: %s, %siB\t", size_cnv(x, ios->qreads, 0), size_cnv(y, ios->qread_kb, 1));
1656 fprintf(ofp, " Writes Queued: %s, %siB\n", size_cnv(x, ios->qwrites, 0), size_cnv(y, ios->qwrite_kb, 1));
1657 fprintf(ofp, " Read Dispatches: %s, %siB\t", size_cnv(x, ios->ireads, 0), size_cnv(y, ios->iread_kb, 1));
1658 fprintf(ofp, " Write Dispatches: %s, %siB\n", size_cnv(x, ios->iwrites, 0), size_cnv(y, ios->iwrite_kb, 1));
1659 fprintf(ofp, " Reads Requeued: %s\t\t", size_cnv(x, ios->rrqueue, 0));
1660 fprintf(ofp, " Writes Requeued: %s\n", size_cnv(x, ios->wrqueue, 0));
1661 fprintf(ofp, " Reads Completed: %s, %siB\t", size_cnv(x, ios->creads, 0), size_cnv(y, ios->cread_kb, 1));
1662 fprintf(ofp, " Writes Completed: %s, %siB\n", size_cnv(x, ios->cwrites, 0), size_cnv(y, ios->cwrite_kb, 1));
1663 fprintf(ofp, " Read Merges: %s, %siB\t", size_cnv(x, ios->mreads, 0), size_cnv(y, ios->mread_kb, 1));
1664 fprintf(ofp, " Write Merges: %s, %siB\n", size_cnv(x, ios->mwrites, 0), size_cnv(y, ios->mwrite_kb, 1));
1666 fprintf(ofp, " Read depth: %'8u%8c\t", pdi->max_depth[0], ' ');
1667 fprintf(ofp, " Write depth: %'8u\n", pdi->max_depth[1]);
1671 fprintf(ofp, " PC Reads Queued: %s, %siB\t", size_cnv(x, ios->qreads_pc, 0), size_cnv(y, ios->qread_kb_pc, 1));
1672 fprintf(ofp, " PC Writes Queued: %s, %siB\n", size_cnv(x, ios->qwrites_pc, 0), size_cnv(y, ios->qwrite_kb_pc, 1));
1673 fprintf(ofp, " PC Read Disp.: %s, %siB\t", size_cnv(x, ios->ireads_pc, 0), size_cnv(y, ios->iread_kb_pc, 1));
1674 fprintf(ofp, " PC Write Disp.: %s, %siB\n", size_cnv(x, ios->iwrites_pc, 0), size_cnv(y, ios->iwrite_kb_pc, 1));
1675 fprintf(ofp, " PC Reads Req.: %s\t\t", size_cnv(x, ios->rrqueue_pc, 0));
1676 fprintf(ofp, " PC Writes Req.: %s\n", size_cnv(x, ios->wrqueue_pc, 0));
1677 fprintf(ofp, " PC Reads Compl.: %s\t\t", size_cnv(x, ios->creads_pc, 0));
1678 fprintf(ofp, " PC Writes Compl.: %s\n", size_cnv(x, ios->cwrites, 0));
1680 fprintf(ofp, " IO unplugs: %'8lu%8c\t", ios->io_unplugs, ' ');
1681 fprintf(ofp, " Timer unplugs: %'8lu\n", ios->timer_unplugs);
1693 fprintf(ofp, " Allocation wait: %'8lu%8c\t", rawait, ' ');
1694 fprintf(ofp, " Allocation wait: %'8lu\n", wawait);
1695 fprintf(ofp, " Dispatch wait: %'8lu%8c\t", rdwait, ' ');
1696 fprintf(ofp, " Dispatch wait: %'8lu\n", wdwait);
1697 fprintf(ofp, " Completion wait: %'8lu%8c\t", rcwait, ' ');
1698 fprintf(ofp, " Completion wait: %'8lu\n", wcwait);
1764 fprintf(ofp, "\n");
1784 fprintf(ofp, "\n");
1833 fprintf(ofp, "\n");
1846 fprintf(ofp, "\nThroughput (R/W): %'LuKiB/s / %'LuKiB/s\n",
1848 fprintf(ofp, "Events (%s): %'Lu entries\n",
1857 fprintf(ofp, "Skips: %'lu forward (%'llu - %5.1lf%%)\n",
2586 if (!ofp)
2599 fflush(ofp);
2820 ofp = fdopen(STDOUT_FILENO, "w");
2826 ofp = fopen(ofname, "w");
2830 if (!ofp) {
2836 if (setvbuf(ofp, ofp_buffer, mode, 4096)) {
2869 fflush(ofp);