Lines Matching defs:inf
2195 char inf[INOUTF_SZ];
2221 strcpy(inf, "/dev/zero");
2245 inf, skip, outf, seek, dd_count);
2254 if (inf[0] && ('-' != inf[0])) {
2255 in_type = dd_filetype(inf);
2262 ME "unable to use scsi tape device %s\n", inf);
2265 if ((infd = open(inf, O_RDWR)) < 0) {
2268 inf);
2291 infd = open(inf, O_RDONLY | O_DIRECT);
2293 infd = open(inf, O_RDONLY);
2297 inf);
2308 inf);
2405 "Unable to read capacity on %s\n", inf);
6277 char inf[INOUTF_SZ];
6305 strcpy(inf, "/dev/zero");
6316 in_type = dd_filetype(inf);
6319 fprintf(stderr, ME "unable to use scsi tape device %s\n", inf);
6322 if ((infd = open(inf, O_RDWR)) < 0) {
6324 ME "could not open %s for sg reading", inf);
6350 ME "error using mmap() on file: %s", inf);
6355 if ((infd = open(inf, O_RDONLY)) < 0) {
6357 ME "could not open %s for reading", inf);
6366 "required position on %s", inf);
6482 "Unable to read capacity on %s\n", inf);
7287 char inf[INOUTF_SZ];
7310 strcpy(inf, "/dev/zero");
7322 inf, skip, outf, seek, count);
7326 if (inf[0] && ('-' != inf[0])) {
7327 rcoll.in_type = dd_filetype(inf);
7331 ME "unable to use scsi tape device %s\n", inf);
7334 if ((rcoll.infd = open(inf, O_RDWR)) < 0) {
7337 inf);
7345 if ((rcoll.infd = open(inf, O_RDONLY)) < 0) {
7348 inf);
7360 inf);
7445 "Unable to read capacity on %s\n", inf);