Lines Matching defs:fileno

619     int32_t fileno);
940 ((un->un_suspend_pos.fileno > 0) ||
1282 (un->un_pos.fileno > 0) || /* Known position not rewound */
1305 "un_status=%x, fileno=%x, blkno=%x\n",
1306 un->un_status, un->un_pos.fileno, un->un_pos.blkno);
1315 (un->un_pos.fileno > 0) || /* Known position not rewound */
1323 "cannot detach: pmode=%d fileno=0x%x, blkno=0x%x"
1325 un->un_pos.fileno, un->un_pos.blkno,
2856 * anything, leave internal states alone, if fileno >= 0
2869 if (un->un_pos.fileno != 0 || un->un_pos.blkno != 0) {
3208 un->un_pos.fileno = un->un_save_fileno;
3418 un->un_pos.fileno++;
3460 un->un_pos.fileno += 1;
3472 "st_close2: fileno=%x,blkno=%x,eof=%x\n",
3473 un->un_pos.fileno, un->un_pos.blkno,
3481 un->un_pos.fileno += 1;
3793 "st_close3: return val = %x, fileno=%x, blkno=%x, eof=%x\n",
3794 err, un->un_pos.fileno, un->un_pos.blkno, un->un_pos.eof);
4003 un->un_pos.fileno--;
4129 "st_queued_strategy(): bcount=0x%lx, fileno=%d, blkno=%x, eof=%d\n",
4130 bp->b_bcount, un->un_pos.fileno, un->un_pos.blkno, un->un_pos.eof);
4257 "pending_io@fileno %d rw %d qic %d eof %d\n",
4258 un->un_pos.fileno, (int)reading,
4363 un->un_pos.fileno += 1;
4370 un->un_pos.fileno);
4374 "now file %d (write)\n", un->un_pos.fileno);
4485 "st_strategy(): bcount=0x%lx, fileno=%d, blkno=%x, eof=%d\n",
4486 bp->b_bcount, un->un_pos.fileno, un->un_pos.blkno, un->un_pos.eof);
4576 un->un_pos.fileno++;
4621 "st_find_eod(dev = 0x%lx): fileno = %d\n", un->un_dev,
4622 un->un_pos.fileno);
4673 return (un->un_pos.fileno);
4701 un->un_pos.fileno++;
4707 un->un_pos.fileno++;
4727 "st_find_eod: %x\n", savepos.fileno);
4728 return (savepos.fileno);
4880 "st_ioctl(): fileno=%x, blkno=%x, eof=%x, state = %d, "
4882 un->un_pos.fileno, un->un_pos.blkno, un->un_pos.eof, un->un_state,
4985 mtget->mt_fileno = un->un_err_pos.fileno;
5649 "st_ioctl: fileno=%x, blkno=%x, eof=%x\n", un->un_pos.fileno,
5692 "fileno=%x, blkno=%x, eof=%x\n",
5693 un->un_pos.fileno, un->un_pos.blkno, un->un_pos.eof);
6008 un->un_pos.fileno++;
6020 * st_find_eod() returns the last fileno we knew about;
6053 un->un_pos.fileno = savefile;
6419 "st_start: fileno=%d, blk=%d\n",
6420 un->un_pos.fileno, un->un_pos.blkno);
7236 if ((un->un_pos.fileno != 0) || (un->un_pos.blkno != 0)) {
7486 "st_test_append(): fileno %d\n", un->un_pos.fileno);
8608 "st_init(): dev = 0x%lx, will reset fileno, blkno, eof\n",
8612 un->un_pos.fileno = 0;
8802 un->un_pos.fileno, un->un_pos.blkno);
8818 un->un_pos.fileno, un->un_pos.blkno);
9356 * rewind resets fileno & blkno
10884 pos->fileno = 0;
11110 un->un_save_fileno = pos->fileno;
11171 * can be done with fileno set to < 0.
11670 un->un_running.fileno++;
11673 un->un_running.fileno--;
11768 un->un_pos.fileno += fmdone;
11784 un->un_pos.fileno = 0;
11829 "fileno before = %d\n"
11834 un->un_pos.fileno, un->un_pos.blkno);
11843 un->un_pos.fileno += done;
11848 if (done > un->un_pos.fileno) {
11849 un->un_pos.fileno = 0;
11852 un->un_pos.fileno -= done;
11876 un->un_pos.fileno--;
11905 resid, un->un_pos.fileno, un->un_pos.blkno);
11911 un->un_pos.fileno = 0;
11936 un->un_pos.fileno = 0;
12090 * Hence set err_resid and err_file before changing fileno if case
12120 un->un_pos.blkno == 0 && un->un_pos.fileno > 0) {
12124 un->un_pos.fileno++;
12137 un->un_pos.fileno++;
12163 un->un_pos.fileno++;
12170 un->un_pos.fileno, un->un_pos.eof);
12185 un->un_pos.fileno, un->un_pos.eof);
13217 "Restoring tape position at fileno=%x, blkno=%x....",
13218 pos->fileno, pos->blkno);
13237 pos->fileno++;
13242 /* Go to requested fileno */
13243 if (pos->fileno) {
13244 rval = st_cmd(un, SCMD_SPACE, Fmk(pos->fileno), SYNC_CMD);
13276 * The position mode, block and fileno should be correct,
14821 dest->fileno = 0;
14920 dest->fileno = 0;
14969 (dest->fileno != value)) {
14973 "LONG_POS fileno 0x%"PRIx64
14975 dest->fileno);
14979 dest->fileno = (int32_t)value;
15060 dest->fileno = 0;
15265 un->un_pos.fileno++;
15296 un->un_pos.fileno++;
15358 if (un->un_pos.pmode == legacy && un->un_pos.fileno == 0) {
15374 un->un_pos.fileno);
15378 * The LONG_POS read position contains the fileno.
15398 un->un_pos.fileno);
15430 st_scenic_route_to_begining_of_file(struct scsi_tape *un, int32_t fileno)
15438 } else if (st_cmd(un, SCMD_SPACE, Fmk(fileno), SYNC_CMD)) {
15514 un->un_err_pos.fileno = un->un_pos.fileno;
15529 int fileno = un->un_pos.fileno;
15540 un->un_pos.fileno = fileno;
15634 int dfile = un->un_pos.fileno; /* save current file */
15646 if (un->un_pos.fileno == 0 && un->un_pos.blkno == 0) {
15649 } else if (un->un_pos.fileno > 0) {
15707 un->un_pos.fileno++;
15755 * (un->un_pos.fileno - count), rewind,
15764 * desired filenumber (un->un_pos.fileno - count),
15797 "fileno=%x blkno=%x\n",
15798 infront?MTBSF:MTNBSF, count, un->un_pos.fileno, un->un_pos.blkno);
15816 end_fileno = un->un_pos.fileno - count;
15833 "back space file greater then fileno\n");
15885 un->un_pos.fileno -= 1;
15930 un->un_pos.fileno++;
16380 "File Number = 0x%x", pos->fileno);
17334 (rinfo->pos.blkno + rinfo->pos.fileno) : 1);
17424 rinfo->pos.fileno += count;
17427 un->un_running.fileno += count;
17432 rinfo->pos.fileno = 0;
17437 un->un_running.fileno = 0;
17467 rinfo->pos.fileno = 0;
17472 un->un_running.fileno = 0;
17515 un->un_running.fileno = 0;