• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching refs:tape

6    Rewritten from Dwayne Forsyth's SCSI tape driver by Kai Makisara.
91 MODULE_DESCRIPTION("SCSI tape (st) driver");
105 MODULE_PARM_DESC(try_direct_io, "Try direct I/O between user buffer and tape drive (1)");
309 static inline char *tape_name(struct scsi_tape *tape)
311 return tape->disk->disk_name;
376 if (!debugging) { /* Abnormal conditions for tape */
757 /* Flush the tape buffer. The tape will be positioned correctly unless
972 /* See if the drive is ready and gather information about the tape. Return values:
975 1 drive not ready (possibly no tape)
1104 "%s: Density %x, tape length: %x, drv buffer: %d\n",
1142 after the driver has been initialized with tape in the drive and the
1223 printk(KERN_WARNING "%s: Can't allocate one page tape buffer.\n",
1270 /* Flush the tape buffer before close */
1384 accessing this tape. */
1517 printk(KERN_WARNING "%s: Can't allocate %d byte tape buffer.\n",
1572 printk(KERN_WARNING "%s: Write not multiple of tape block size.\n",
1629 the problems after some tape movement. */
1822 /* Read data from the tape. Returns zero in the normal case, one if the
2076 /* Check the buffer writability before any tape movement. Don't alter
2130 /* Change the eof state if no data from tape or buffer */
2382 /* Read a mode page into the tape buffer. The block descriptors are included
2408 /* Send the mode page in the tape buffer to the drive. Assumes that the mode data
2551 printk(ST_DEB_MSG "%s: Unloading tape.\n", name);
2553 printk(ST_DEB_MSG "%s: Loading tape.\n", name);
2597 printk(ST_DEB_MSG "%s: Spacing tape %s over %d %s.\n", name,
2739 DEBC(printk(ST_DEB_MSG "%s: Rewinding tape.\n", name));
2743 DEBC(printk(ST_DEB_MSG "%s: No op on tape.\n", name));
2753 DEBC(printk(ST_DEB_MSG "%s: Retensioning tape.\n", name));
2758 /* space to the end of tape */
2788 DEBC(printk(ST_DEB_MSG "%s: Erasing tape.\n", name));
2792 case MTSETDENSITY: /* Set tape density */
2999 /* Get the tape position. If bt == 2, arg points into a kernel space mt_loc
3032 DEBC(printk(ST_DEB_MSG "%s: Can't read tape position.\n", name));
3051 DEBC(printk(ST_DEB_MSG "%s: Got tape pos. blk %d part %d.\n", name,
3061 /* Set the tape block and partition. Negative partition means that only the
3207 /* Get the number of partitions on the tape. As a side effect reads the
3208 mode page into the tape buffer. */
3233 /* Partition the tape into two partitions if size > 0 or one partition if
3273 bp[psdo] = bp[psdo + 1] = 0xff; /* Rest of the tape */
3286 DEBC(printk(ST_DEB_MSG "%s: Formatting tape with one partition.\n",
3295 "%s: Formatting tape with two partitions (1 = %d MB).\n",
3304 printk(KERN_INFO "%s: Partitioning of tape failed.\n", name);
3431 * to this device. If the user wants to rewind the tape,
3686 /* Try to allocate a new tape buffer. Calling function must not hold
3694 printk(KERN_NOTICE "st: Can't allocate new tape buffer.\n");
3713 /* Try to allocate enough space in the tape buffer */
3807 /* Move data from the user buffer to the tape buffer. Returns zero (success) or
3839 /* Move data from the tape buffer to the user buffer. Returns zero (success) or
3998 sdev_printk(KERN_INFO, SDp, "Found incompatible tape\n");
4009 "st: Can't allocate new tape buffer. Device not attached.\n");
4029 printk(KERN_ERR "st: Too many tape devices (max. %d).\n",
4168 "Attached scsi tape %s\n", tape_name(tpnt));
4179 "tape");
4221 "tape");
4530 "tape");