Lines Matching refs:ofn
242 * ofn, ofd, ofp, obuf & mmap_info are used for output file (optionally).
266 char ofn[MAXPATHLEN + 64];
1469 char *dst = iop->ofn;
1472 len = snprintf(iop->ofn, sizeof(iop->ofn), "%s/", output_dir);
1474 len = snprintf(iop->ofn, sizeof(iop->ofn), "./");
1484 if (stat(iop->ofn, &sb) < 0) {
1488 iop->ofn, errno, strerror(errno));
1496 if (mkdir(iop->ofn, 0755) < 0 && errno != EEXIST) {
1499 iop->ofn, errno, strerror(errno));
1505 snprintf(iop->ofn + len, sizeof(iop->ofn), "%s.blktrace.%d",
1508 snprintf(iop->ofn + len, sizeof(iop->ofn), "%s.blktrace.%d",
1534 iop->ofp = my_fopen(iop->ofn, "w+");
1537 iop->ofn, errno, strerror(errno));
1543 iop->ofn, errno, strerror(errno));
1563 iop->ofn, errno, strerror(errno));