Lines Matching refs:ofp
184 fprintf(ofp, strcat(format, "s"), act); in print_field()
187 fprintf(ofp, strcat(format, "d"), pci->cpu); in print_field()
192 fprintf(ofp, strcat(format, "s"), name); in print_field()
199 fprintf(ofp, strcat(format, "s"), rwbs); in print_field()
203 fprintf(ofp,"%3d,%-3d", MAJOR(t->device), MINOR(t->device)); in print_field()
206 fprintf(ofp, strcat(format, "d"), t->error); in print_field()
209 fprintf(ofp, strcat(format, "d"), MAJOR(t->device)); in print_field()
212 fprintf(ofp, strcat(format, "d"), MINOR(t->device)); in print_field()
215 fprintf(ofp, strcat(format, "u"), t_sec(t)); in print_field()
218 fprintf(ofp, strcat(format, "u"), t->bytes); in print_field()
221 fprintf(ofp, strcat(format, "u"), t->pid); in print_field()
226 fprintf(ofp, "%s", p); in print_field()
230 fprintf(ofp, strcat(format, "ld"), t->sequence); in print_field()
233 fprintf(ofp, strcat(format, "lu"), t->sector); in print_field()
237 fprintf(ofp, format, NANO_SECONDS(t->time)); in print_field()
240 fprintf(ofp, strcat(format, "d"), SECONDS(t->time)); in print_field()
247 fprintf(ofp, strcat(format, "llu"), elapsed / 1000); in print_field()
250 fprintf(ofp, strcat(format, "u"), get_pdu_int(t)); in print_field()
253 fprintf(ofp, strcat(format, "s"), print_time(t->time)); in print_field()
256 fprintf(ofp,strcat(format, "c"), field); in print_field()
310 fprintf(ofp, "%3d,%-3d %2d %8d %5d.%09lu %5u %2s %3s ", in process_default()
323 fprintf(ofp, "(%s) ", p); in process_default()
324 fprintf(ofp, "[%d]\n", t->error); in process_default()
328 fprintf(ofp, "%llu + %u (%8llu) [%d]\n", in process_default()
332 fprintf(ofp, "%llu (%8llu) [%d]\n", in process_default()
337 fprintf(ofp, "%llu + %u [%d]\n", in process_default()
341 fprintf(ofp, "%llu [%d]\n", in process_default()
354 fprintf(ofp, "%u ", t->bytes); in process_default()
357 fprintf(ofp, "(%s) ", p); in process_default()
358 fprintf(ofp, "[%s]\n", name); in process_default()
362 fprintf(ofp, "%llu + %u (%8llu) [%s]\n", in process_default()
366 fprintf(ofp, "(%8llu) [%s]\n", elapsed, in process_default()
370 fprintf(ofp, "%llu + %u [%s]\n", in process_default()
374 fprintf(ofp, "[%s]\n", name); in process_default()
384 fprintf(ofp, "%llu + %u [%s]\n", in process_default()
387 fprintf(ofp, "[%s]\n", name); in process_default()
391 fprintf(ofp, "[%s]\n", name); in process_default()
396 fprintf(ofp, "[%s] %u\n", name, get_pdu_int(t)); in process_default()
401 fprintf(ofp, "%llu + %u <- (%d,%d) %llu\n", in process_default()
408 fprintf(ofp, "%llu / %u [%s]\n", (unsigned long long) t->sector, in process_default()
413 fprintf(ofp, "%*s\n", pdu_len, pdu_buf); in process_default()
439 fprintf(ofp, "%c", *p++); in process_fmt()
441 fprintf(ofp, "%c", '%'); in process_fmt()
448 case 'b': fprintf(ofp, "\b"); break; in process_fmt()
449 case 'n': fprintf(ofp, "\n"); break; in process_fmt()
450 case 'r': fprintf(ofp, "\r"); break; in process_fmt()
451 case 't': fprintf(ofp, "\t"); break; in process_fmt()
463 fprintf(ofp, "%c", *p++); in process_fmt()