Lines Matching full:fine

82 #define	_SYS_MTIO_H_
100 #define MTWEOF 0 /* write an end-of-file record */
101 #define MTFSF 1 /* forward space file */
102 #define MTBSF 2 /* backward space file */
103 #define MTFSR 3 /* forward space record */
104 #define MTBSR 4 /* backward space record */
105 #define MTREW 5 /* rewind */
106 #define MTOFFL 6 /* rewind and put the drive offline */
107 #define MTNOP 7 /* no operation, sets status only */
108 #define MTCACHE 8 /* enable controller cache */
109 #define MTNOCACHE 9 /* disable controller cache */
118 #define MTSETBSIZ 10
122 #define MTSETDNSTY 11
124 #define MTERASE 12 /* erase to EOM */
125 #define MTEOD 13 /* Space to EOM */
126 #define MTCOMP 14 /* select compression mode 0=off, 1=def */
127 #define MTRETENS 15 /* re-tension tape */
128 #define MTWSS 16 /* write setmark(s) */
129 #define MTFSS 17 /* forward space setmark */
130 #define MTBSS 18 /* backward space setmark */
131 #define MTLOAD 19 /* load tape in drive */
132 #define MTWEOFI 20 /* write an end-of-file record without waiting*/
134 #define MT_COMP_ENABLE 0xffffffff
135 #define MT_COMP_DISABLED 0xfffffffe
136 #define MT_COMP_UNSUPP 0xfffffffd
141 #define MTIO_DSREG_NIL 0 /* Unknown */
142 #define MTIO_DSREG_REST 1 /* Doing Nothing */
143 #define MTIO_DSREG_RBSY 2 /* Communicating with tape (but no motion) */
144 #define MTIO_DSREG_WR 20 /* Writing */
145 #define MTIO_DSREG_FMK 21 /* Writing Filemarks */
146 #define MTIO_DSREG_ZER 22 /* Erasing */
147 #define MTIO_DSREG_RD 30 /* Reading */
148 #define MTIO_DSREG_FWD 40 /* Spacing Forward */
149 #define MTIO_DSREG_REV 41 /* Spacing Reverse */
150 #define MTIO_DSREG_POS 42 /* Hardware Positioning (direction unknown) */
151 #define MTIO_DSREG_REW 43 /* Rewinding */
152 #define MTIO_DSREG_TEN 44 /* Retensioning */
153 #define MTIO_DSREG_UNL 45 /* Unloading */
154 #define MTIO_DSREG_LD 46 /* Loading */
277 #define MT_EXT_GET_ROOT_NAME "mtextget"
278 #define MT_DENSITY_ROOT_NAME "mtdensity"
279 #define MT_MEDIA_DENSITY_NAME "media_density"
280 #define MT_DENSITY_REPORT_NAME "density_report"
281 #define MT_MEDIUM_TYPE_REPORT_NAME "medium_type_report"
282 #define MT_MEDIA_REPORT_NAME "media_report"
283 #define MT_DENSITY_ENTRY_NAME "density_entry"
285 #define MT_DENS_WRITE_OK 0x80
286 #define MT_DENS_DUP 0x40
287 #define MT_DENS_DEFLT 0x20
290 #define MT_PARAM_FIXED_STR_LEN 32
313 #define MT_PARAM_VALUE_NAME_LEN 64
323 #define MT_PARAM_ROOT_NAME "mtparamget"
324 #define MT_PROTECTION_NAME "protection"
339 #define MT_ISTS 0x01 /* TS-11 */
340 #define MT_ISHT 0x02 /* TM03 Massbus: TE16, TU45, TU77 */
341 #define MT_ISTM 0x03 /* TM11/TE10 Unibus */
342 #define MT_ISMT 0x04 /* TM78/TU78 Massbus */
343 #define MT_ISUT 0x05 /* SI TU-45 emulation on Unibus */
344 #define MT_ISCPC 0x06 /* SUN */
345 #define MT_ISAR 0x07 /* SUN */
346 #define MT_ISTMSCP 0x08 /* DEC TMSCP protocol (TU81, TK50) */
347 #define MT_ISCY 0x09 /* CCI Cipher */
348 #define MT_ISCT 0x0a /* HP 1/4 tape */
349 #define MT_ISFHP 0x0b /* HP 7980 1/2 tape */
350 #define MT_ISEXABYTE 0x0c /* Exabyte */
351 #define MT_ISEXA8200 0x0c /* Exabyte EXB-8200 */
352 #define MT_ISEXA8500 0x0d /* Exabyte EXB-8500 */
353 #define MT_ISVIPER1 0x0e /* Archive Viper-150 */
354 #define MT_ISPYTHON 0x0f /* Archive Python (DAT) */
355 #define MT_ISHPDAT 0x10 /* HP 35450A DAT drive */
356 #define MT_ISMFOUR 0x11 /* M4 Data 1/2 9track drive */
357 #define MT_ISTK50 0x12 /* DEC SCSI TK50 */
358 #define MT_ISMT02 0x13 /* Emulex MT02 SCSI tape controller */
361 #define MTIOCTOP _IOW('m', 1, struct mtop) /* do a mag tape op */
362 #define MTIOCGET _IOR('m', 2, struct mtget) /* get tape status */
364 #define MTIOCIEOT _IO('m', 3) /* ignore EOT error */
365 #define MTIOCEEOT _IO('m', 4) /* enable EOT error */
372 #define MTIOCRDSPOS _IOR('m', 5, uint32_t) /* get logical blk addr */
373 #define MTIOCRDHPOS _IOR('m', 6, uint32_t) /* get hardware blk addr */
374 #define MTIOCSLOCATE _IOW('m', 5, uint32_t) /* seek to logical blk addr */
375 #define MTIOCHLOCATE _IOW('m', 6, uint32_t) /* seek to hardware blk addr */
376 #define MTIOCERRSTAT _IOR('m', 7, union mterrstat) /* get tape errors */
381 #define MTIOCSETEOTMODEL _IOW('m', 8, uint32_t)
383 #define MTIOCGETEOTMODEL _IOR('m', 8, uint32_t)
384 #define MTIOCRBLIM _IOR('m', 9, struct mtrblim) /* get block limits */
385 #define MTIOCEXTLOCATE _IOW('m', 10, struct mtlocate) /* seek to position */
386 #define MTIOCEXTGET _IOWR('m', 11, struct mtextget) /* get tape status */
387 #define MTIOCPARAMGET _IOWR('m', 12, struct mtextget) /* get tape params */
388 #define MTIOCPARAMSET _IOWR('m', 13, struct mtparamset) /* set tape params */
389 #define MTIOCSETLIST _IOWR('m', 14, struct mtsetlist) /* set N params */
392 #define DEFTAPE "/dev/nsa0"