Lines Matching defs:fp

69 	FILE *fp;
113 fprintf(debug.fp, "--- %s ---\n", descr);
114 fprintf(debug.fp, "magic %16d\n", bit->magic);
115 fprintf(debug.fp, "sequence %16d\n", bit->sequence);
116 fprintf(debug.fp, "time %16ld\n", (unsigned long)bit->time);
117 fprintf(debug.fp, "sector %16ld\n", (unsigned long)bit->sector);
118 fprintf(debug.fp, "bytes %16d\n", bit->bytes);
119 fprintf(debug.fp, "action %16x\n", bit->action);
120 fprintf(debug.fp, "pid %16d\n", bit->pid);
121 fprintf(debug.fp, "device %16d\n", bit->device);
122 fprintf(debug.fp, "cpu %16d\n", bit->cpu);
123 fprintf(debug.fp, "error %16d\n", bit->error);
124 fprintf(debug.fp, "pdu_len %16d\n", bit->pdu_len);
126 fprintf(debug.fp, "order %16ld\n", t->sequence);
137 fprintf(debug.fp, "--- %s ---\n", descr);
138 fprintf(debug.fp, "magic %16d %16d\n", bit1->magic, bit2->magic);
139 fprintf(debug.fp, "sequence %16d %16d\n",
141 fprintf(debug.fp, "time %16ld %16ld\n",
143 fprintf(debug.fp, "sector %16ld %16ld\n",
145 fprintf(debug.fp, "bytes %16d %16d\n", bit1->bytes, bit2->bytes);
146 fprintf(debug.fp, "action %16x %16x\n", bit1->action, bit2->action);
147 fprintf(debug.fp, "pid %16d %16d\n", bit1->pid, bit2->pid);
148 fprintf(debug.fp, "device %16d %16d\n", bit1->device, bit2->device);
149 fprintf(debug.fp, "cpu %16d %16d\n", bit1->cpu, bit2->cpu);
150 fprintf(debug.fp, "error %16d %16d\n", bit1->error, bit2->error);
151 fprintf(debug.fp, "pdu_len %16d %16d\n", bit1->pdu_len, bit2->pdu_len);
153 fprintf(debug.fp, "order %16ld %16ld\n", t1->sequence, t2->sequence);
242 if (fwrite(p, sizeof(*p), 1, binary.fp) != 1)
244 if (binary.pipe && fflush(binary.fp))
250 fclose(binary.fp);
261 blkiomon_stat_print(human.fp, &dstat->msg.stat);
436 if (fwrite(bit, sizeof(*bit), 1, drvdata.fp) != 1)
438 if (fwrite(pdu_buf, bit->pdu_len, 1, drvdata.fp) != 1)
440 if (drvdata.pipe && fflush(drvdata.fp))
446 fclose(drvdata.fp);
534 out->fp = fdopen(STDOUT_FILENO, "w");
539 out->fp = fopen(out->fn, "w");
544 if (!out->fp)
547 if (setvbuf(out->fp, out->buf, mode, vbuf_size))
591 fprintf(debug.fp, "%ld leftover, %ld match, %ld mismatch, "