Lines Matching defs:tape
27 * This routine provides access to tape drives owned and managed by an OS/400
30 * All tape operations are performed by sending messages back and forth to
68 * The minor number follows the conventions of the SCSI tape drives. The
100 u16 tape;
182 { viotape_InvalidTape, EIO, "Invalid tape device" },
186 { viotape_BOTEnc, EIO, "Beginning of tape encountered" },
187 { viotape_BlankTape, EIO, "Blank tape" },
198 { viotape_EndOfTape, ENOSPC, "End of tape" },
200 { viotape_InsufficientRs, EOVERFLOW, "Insufficient tape resources" },
210 { viotape_RdyNotBOT, EIO, "Ready but not beginning of tape" },
220 /* defines for current tape state */
242 * maintain the current state of each tape (and partition)
369 /* Map our tape return codes to errno values */
476 printk(VIOTAPE_KERN_WARN "tape: error on copy from user\n");
574 printk(VIOTAPE_KERN_WARN "tape hv error on op %d\n",
723 ret = tape_rc_to_errno(op->rc, "tape operation", devi.devno);
884 /* Handle interrupt events for tape */
958 printk(VIOTAPE_KERN_INFO "tape iseries/vt%d is iSeries "
1040 tape_class = class_create(THIS_MODULE, "tape");
1076 /* Give a new state to the tape object */