Lines Matching refs:ofp
179 fprintf(ofp, strcat(format, "s"), act); in print_field()
182 fprintf(ofp, strcat(format, "d"), pci->cpu); in print_field()
187 fprintf(ofp, strcat(format, "s"), name); in print_field()
194 fprintf(ofp, strcat(format, "s"), rwbs); in print_field()
198 fprintf(ofp,"%3d,%-3d", MAJOR(t->device), MINOR(t->device)); in print_field()
201 fprintf(ofp, strcat(format, "d"), t->error); in print_field()
204 fprintf(ofp, strcat(format, "d"), MAJOR(t->device)); in print_field()
207 fprintf(ofp, strcat(format, "d"), MINOR(t->device)); in print_field()
210 fprintf(ofp, strcat(format, "u"), t_sec(t)); in print_field()
213 fprintf(ofp, strcat(format, "u"), t->bytes); in print_field()
216 fprintf(ofp, strcat(format, "u"), t->pid); in print_field()
221 fprintf(ofp, "%s", p); in print_field()
225 fprintf(ofp, strcat(format, "ld"), t->sequence); in print_field()
228 fprintf(ofp, strcat(format, "lu"), t->sector); in print_field()
232 fprintf(ofp, format, NANO_SECONDS(t->time)); in print_field()
235 fprintf(ofp, strcat(format, "d"), SECONDS(t->time)); in print_field()
242 fprintf(ofp, strcat(format, "llu"), elapsed / 1000); in print_field()
245 fprintf(ofp, strcat(format, "u"), get_pdu_int(t)); in print_field()
248 fprintf(ofp, strcat(format, "s"), print_time(t->time)); in print_field()
251 fprintf(ofp,strcat(format, "c"), field); in print_field()
305 fprintf(ofp, "%3d,%-3d %2d %8d %5d.%09lu %5u %2s %3s ", in process_default()
318 fprintf(ofp, "(%s) ", p); in process_default()
319 fprintf(ofp, "[%d]\n", t->error); in process_default()
323 fprintf(ofp, "%llu + %u (%8llu) [%d]\n", in process_default()
327 fprintf(ofp, "%llu (%8llu) [%d]\n", in process_default()
332 fprintf(ofp, "%llu + %u [%d]\n", in process_default()
336 fprintf(ofp, "%llu [%d]\n", in process_default()
349 fprintf(ofp, "%u ", t->bytes); in process_default()
352 fprintf(ofp, "(%s) ", p); in process_default()
353 fprintf(ofp, "[%s]\n", name); in process_default()
357 fprintf(ofp, "%llu + %u (%8llu) [%s]\n", in process_default()
361 fprintf(ofp, "(%8llu) [%s]\n", elapsed, in process_default()
365 fprintf(ofp, "%llu + %u [%s]\n", in process_default()
369 fprintf(ofp, "[%s]\n", name); in process_default()
379 fprintf(ofp, "%llu + %u [%s]\n", in process_default()
382 fprintf(ofp, "[%s]\n", name); in process_default()
386 fprintf(ofp, "[%s]\n", name); in process_default()
391 fprintf(ofp, "[%s] %u\n", name, get_pdu_int(t)); in process_default()
396 fprintf(ofp, "%llu + %u <- (%d,%d) %llu\n", in process_default()
403 fprintf(ofp, "%llu / %u [%s]\n", (unsigned long long) t->sector, in process_default()
408 fprintf(ofp, "%*s\n", pdu_len, pdu_buf); in process_default()
434 fprintf(ofp, "%c", *p++); in process_fmt()
436 fprintf(ofp, "%c", '%'); in process_fmt()
443 case 'b': fprintf(ofp, "\b"); break; in process_fmt()
444 case 'n': fprintf(ofp, "\n"); break; in process_fmt()
445 case 'r': fprintf(ofp, "\r"); break; in process_fmt()
446 case 't': fprintf(ofp, "\t"); break; in process_fmt()
458 fprintf(ofp, "%c", *p++); in process_fmt()