Lines Matching defs:ino
55 u32 ino;
59 pr_debug("AFFS: readdir(ino=%lu,f_pos=%lx)\n",inode->i_ino,(unsigned long)filp->f_pos);
97 ino = (u32)(long)filp->private_data;
98 if (ino && filp->f_version == inode->i_version) {
99 pr_debug("AFFS: readdir() left off=%d\n", ino);
103 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]);
104 for (i = 0; ino && i < chain_pos; i++) {
105 fh_bh = affs_bread(sb, ino);
110 ino = be32_to_cpu(AFFS_TAIL(sb, fh_bh)->hash_chain);
114 if (ino)
119 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]);
120 if (!ino)
125 fh_bh = affs_bread(sb, ino);
127 affs_error(sb, "readdir","Cannot read block %d", ino);
133 pr_debug("AFFS: readdir(): filldir(\"%.*s\", ino=%u), hash=%d, f_pos=%x\n",
134 namelen, name, ino, hash_pos, f_pos);
135 if (filldir(dirent, name, namelen, f_pos, ino, DT_UNKNOWN) < 0)
139 ino = be32_to_cpu(AFFS_TAIL(sb, fh_bh)->hash_chain);
142 } while (ino);
147 filp->private_data = (void *)(long)ino;