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