Lines Matching refs:ino
87 static int zft_open (struct inode *ino, struct file *filep);
88 static int zft_close(struct inode *ino, struct file *filep);
89 static int zft_ioctl(struct inode *ino, struct file *filep,
110 static int zft_open(struct inode *ino, struct file *filep) in zft_open() argument
115 TRACE(ft_t_flow, "called for minor %d", MINOR(ino->i_rdev)); in zft_open()
120 if ((MINOR(ino->i_rdev) & ~(ZFT_MINOR_OP_MASK | FTAPE_NO_REWIND)) in zft_open()
128 result = _zft_open(MINOR(ino->i_rdev), filep->f_flags & O_ACCMODE); in zft_open()
145 static int zft_close(struct inode *ino, struct file *filep) in zft_close() argument
151 if (!busy_flag || MINOR(ino->i_rdev) != zft_unit) { in zft_close()
169 static int zft_ioctl(struct inode *ino, struct file *filep, in zft_ioctl() argument
176 if (!busy_flag || MINOR(ino->i_rdev) != zft_unit || ft_failure) { in zft_ioctl()
224 struct inode *ino = fp->f_dentry->d_inode; in zft_read() local
228 if (!busy_flag || MINOR(ino->i_rdev) != zft_unit || ft_failure) { in zft_read()
247 struct inode *ino = fp->f_dentry->d_inode; in zft_write() local
251 if (!busy_flag || MINOR(ino->i_rdev) != zft_unit || ft_failure) { in zft_write()