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