• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/

Lines Matching defs:tape

6    Rewritten from Dwayne Forsyth's SCSI tape driver by Kai Makisara.
89 MODULE_DESCRIPTION("SCSI tape (st) driver");
103 MODULE_PARM_DESC(try_direct_io, "Try direct I/O between user buffer and tape drive (1)");
308 static inline char *tape_name(struct scsi_tape *tape)
310 return tape->disk->disk_name;
375 if (!debugging) { /* Abnormal conditions for tape */
700 /* Flush the tape buffer. The tape will be positioned correctly unless
915 /* See if the drive is ready and gather information about the tape. Return values:
918 1 drive not ready (possibly no tape)
1045 "%s: Density %x, tape length: %x, drv buffer: %d\n",
1083 after the driver has been initialized with tape in the drive and the
1160 printk(KERN_WARNING "%s: Can't allocate one page tape buffer.\n",
1204 /* Flush the tape buffer before close */
1317 accessing this tape. */
1448 printk(KERN_WARNING "%s: Can't allocate %d byte tape buffer.\n",
1503 printk(KERN_WARNING "%s: Write not multiple of tape block size.\n",
1560 the problems after some tape movement. */
1751 /* Read data from the tape. Returns zero in the normal case, one if the
1999 /* Check the buffer writability before any tape movement. Don't alter
2053 /* Change the eof state if no data from tape or buffer */
2299 /* Read a mode page into the tape buffer. The block descriptors are included
2325 /* Send the mode page in the tape buffer to the drive. Assumes that the mode data
2465 printk(ST_DEB_MSG "%s: Unloading tape.\n", name);
2467 printk(ST_DEB_MSG "%s: Loading tape.\n", name);
2511 printk(ST_DEB_MSG "%s: Spacing tape %s over %d %s.\n", name,
2653 DEBC(printk(ST_DEB_MSG "%s: Rewinding tape.\n", name));
2657 DEBC(printk(ST_DEB_MSG "%s: No op on tape.\n", name));
2667 DEBC(printk(ST_DEB_MSG "%s: Retensioning tape.\n", name));
2672 /* space to the end of tape */
2702 DEBC(printk(ST_DEB_MSG "%s: Erasing tape.\n", name));
2706 case MTSETDENSITY: /* Set tape density */
2916 /* Get the tape position. If bt == 2, arg points into a kernel space mt_loc
2948 DEBC(printk(ST_DEB_MSG "%s: Can't read tape position.\n", name));
2967 DEBC(printk(ST_DEB_MSG "%s: Got tape pos. blk %d part %d.\n", name,
2977 /* Set the tape block and partition. Negative partition means that only the
3123 /* Get the number of partitions on the tape. As a side effect reads the
3124 mode page into the tape buffer. */
3149 /* Partition the tape into two partitions if size > 0 or one partition if
3189 bp[psdo] = bp[psdo + 1] = 0xff; /* Rest of the tape */
3202 DEBC(printk(ST_DEB_MSG "%s: Formatting tape with one partition.\n",
3211 "%s: Formatting tape with two partitions (1 = %d MB).\n",
3220 printk(KERN_INFO "%s: Partitioning of tape failed.\n", name);
3347 * to this device. If the user wants to rewind the tape,
3601 /* Try to allocate a new tape buffer. Calling function must not hold
3619 printk(KERN_NOTICE "st: Can't allocate new tape buffer.\n");
3633 /* Try to allocate enough space in the tape buffer */
3699 /* Move data from the user buffer to the tape buffer. Returns zero (success) or
3730 /* Move data from the tape buffer to the user buffer. Returns zero (success) or
3912 sdev_printk(KERN_INFO, SDp, "Found incompatible tape\n");
3924 "st: Can't allocate new tape buffer. Device not attached.\n");
3944 printk(KERN_ERR "st: Too many tape devices (max. %d).\n",
4082 "Attached scsi tape %s\n", tape_name(tpnt));
4093 "tape");
4135 "tape");
4396 "tape");