Lines Matching defs:undone
1552 int undone, retry_eot = 0, scode;
1725 undone = (int)cmdstatp->uremainder64;
1728 undone = transfer;
1730 undone = 0;
1732 undone *= STp->block_size;
1733 if (undone <= do_count) {
1735 count += undone;
1736 b_point -= undone;
1737 do_count -= undone;
1739 blks = (transfer - undone) / STp->block_size;
1746 undone > 0 || count == 0)
1756 move_buffer_data(STp->buffer, transfer - undone);
1759 STps->drv_block += (transfer - undone) /
2613 int fileno, blkno, at_sm, undone;
2911 undone = (int)cmdstatp->uremainder64;
2913 undone = 0;
2924 fileno -= undone;
2925 if (undone < arg)
2931 STps->drv_file = fileno - undone;
2937 if (arg > 0 && undone < 0) /* Some drives get this wrong */
2938 undone = (-undone);
2940 STps->drv_file = fileno + undone;
2950 if (blkno >= undone)
2951 STps->drv_block = blkno - undone;
2961 if (arg > 0 && undone < 0) /* Some drives get this wrong */
2962 undone = (-undone);
2964 STps->drv_block = blkno + undone;