Lines Matching defs:seek

221 	int seek;
2190 int seek = 0;
2235 if ((skip < 0) || (seek < 0)) {
2236 fprintf(stderr, "skip and seek cannot be negative\n");
2239 if ((do_append > 0) && (seek > 0)) {
2240 fprintf(stderr, "Can't use both append and seek switches\n");
2244 fprintf(stderr, ME "if=%s skip=%d of=%s seek=%d count=%d\n",
2245 inf, skip, outf, seek, dd_count);
2372 if (seek > 0) {
2373 llse_loff_t offset = seek;
2379 "couldn't seek to required position on %s",
2427 if (out_num_sect > seek)
2428 out_num_sect -= seek;
2544 sg_write(outfd, wrkPos, blocks, seek, bs,
2558 sg_write(outfd, wrkPos, blocks, seek, bs,
2564 sg_write(outfd, wrkPos, blocks, seek, bs,
2567 fprintf(stderr, "sg_write failed, seek=%d\n",
2568 seek);
2582 ME "writing, seek=%d ", seek);
2587 "output file probably full, seek=%d ",
2588 seek);
2600 seek += blocks;
6274 int seek = 0;
6444 if (seek > 0) {
6445 llse_loff_t offset = seek;
6450 ME "couldn't seek to "
6512 if (out_num_sect > seek)
6513 out_num_sect -= seek;
6638 sg_write2(outfd, wrkPos, blocks, seek, bs,
6644 sg_write2(outfd, wrkPos, blocks, seek, bs,
6648 fprintf(stderr, "sg_write2 failed, seek=%d\n",
6649 seek);
6663 ME "writing, seek=%d ", seek);
6668 "output file probably full, seek=%d ",
6669 seek);
6681 seek += blocks;
6806 int seek_skip = clp->seek - clp->skip;
7285 int seek = 0;
7321 fprintf(stderr, ME "if=%s skip=%d of=%s seek=%d count=%d\n",
7322 inf, skip, outf, seek, count);
7410 if (seek > 0) {
7411 llse_loff_t offset = seek;
7418 "couldn't seek to required position on %s",
7469 if (out_num_sect > seek)
7470 out_num_sect -= seek;
7497 rcoll.seek = seek;
7498 rcoll.out_blk = seek;