Home
last modified time | relevance | path

Searched refs:zft_unit (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/char/ftape/zftape/
Dzftape-init.c151 if (!busy_flag || MINOR(ino->i_rdev) != zft_unit) { in zft_close()
176 if (!busy_flag || MINOR(ino->i_rdev) != zft_unit || ft_failure) { in zft_ioctl()
197 MINOR(filep->f_dentry->d_inode->i_rdev) != zft_unit || in zft_mmap()
228 if (!busy_flag || MINOR(ino->i_rdev) != zft_unit || ft_failure) { in zft_read()
251 if (!busy_flag || MINOR(ino->i_rdev) != zft_unit || ft_failure) { in zft_write()
Dzftape-ctl.c55 unsigned int zft_unit; variable
581 if ((zft_unit & ZFT_ZIP_MODE) == 0) { in mt_compression()
709 zft_unit = tape_unit; in _zft_open()
720 (FTAPE_SEL(zft_unit) != FTAPE_SEL(dev_minor)) || in _zft_open()
721 (zft_unit & ZFT_RAW_MODE) != (dev_minor & ZFT_RAW_MODE)) { in _zft_open()
726 zft_unit = dev_minor; in _zft_open()
728 zft_set_flags(zft_unit); /* decode the minor bits */ in _zft_open()
804 !(zft_unit & FTAPE_NO_REWIND))) { in _zft_close()
814 if (!(zft_unit & FTAPE_NO_REWIND)) { in _zft_close()
Dzftape-ctl.h44 extern unsigned int zft_unit;
Dzftape-rw.c370 zft_set_flags (zft_unit); in zft_erase()
Dzftape-read.c93 zft_set_flags(zft_unit); in zft_read_header_segments()