Lines Matching defs:tapepos
624 static blkcnt_t tapepos; /* current block number to be written */
2147 dlog("seek = %" FMT_blkcnt_t "K\n", K(tapepos));
2333 while (mulvol && tapepos + blocks + 1 > blocklim) {
2335 if (((blocklim - tapepos) >= EXTMIN) &&
2353 dlog("seek = %" FMT_blkcnt_t "K\n", K(tapepos));
2427 while (mulvol && tapepos + blocks + 1 > blocklim) {
2428 if (((blocklim - tapepos) >= EXTMIN) &&
2442 dlog("seek = %" FMT_blkcnt_t "K\n", K(tapepos));
2475 while (mulvol && tapepos + blocks + 1 > blocklim) {
2476 if (((blocklim - tapepos) >= EXTMIN) &&
2489 dlog("seek = %" FMT_blkcnt_t "K\t", K(tapepos));
2522 while (mulvol && tapepos + blocks + 1 > blocklim) {
2523 if (((blocklim - tapepos) >= EXTMIN) &&
2536 dlog("seek = %" FMT_blkcnt_t "K\n", K(tapepos));
2600 * blocks - (blocklim - tapepos) + 1 (for header)
2605 * (blocks - blocklim + tapepos + 1 + blocklim - 2)/(blocklim-1)
2614 extents = (int)((blocks + tapepos - 1ULL)/(blocklim - 1ULL) + 1);
2647 longname, extents, K(tapepos));
2649 s = (off_t)(blocklim - tapepos - 1) * TBLOCK;
4839 * newvol(); resets tapepos and first to TRUE, prompts for
4855 tapepos = 0;
4900 * tapepos does count the 2 EOT marks;
4903 putempty(blocklim + (blkcnt_t)2 - tapepos);
5068 tapepos += blocks;
5111 ++tapepos;
5210 tapepos += n; /* output block count */
5277 * correct position. The absolute location tapepos-recno
5281 if (lseek(mt, (off_t)(TBLOCK*(tapepos-recno)), SEEK_SET) ==
5309 tapepos--;
8050 if (mulvol && tapepos + 1 >= blocklim)
8064 "K\n", K(tapepos));