Lines Matching defs:ino
56 sysv_raw_inode(struct super_block *sb, unsigned ino, struct buffer_head **bh)
62 block += (ino-1) >> sbi->s_inodes_per_block_bits;
67 return res + ((ino-1) & sbi->s_inodes_per_block_1);
75 int i = 0, ino;
77 ino = SYSV_ROOT_INO+1;
78 raw_inode = sysv_raw_inode(sb, ino, &bh);
81 while (ino <= sbi->s_ninodes) {
83 *sv_sb_fic_inode(sb,i++) = cpu_to_fs16(SYSV_SB(sb), ino);
87 if ((ino++ & sbi->s_inodes_per_block_1) == 0) {
89 raw_inode = sysv_raw_inode(sb, ino, &bh);
104 unsigned int ino;
110 ino = inode->i_ino;
111 if (ino <= SYSV_ROOT_INO || ino > sbi->s_ninodes) {
115 raw_inode = sysv_raw_inode(sb, ino, &bh);
124 *sv_sb_fic_inode(sb,count++) = cpu_to_fs16(sbi, ino);
140 sysv_ino_t ino;
161 ino = *sv_sb_fic_inode(sb,--count);
166 inode->i_ino = fs16_to_cpu(sbi, ino);
186 int ino, count, sb_count;
197 ino = SYSV_ROOT_INO+1;
198 raw_inode = sysv_raw_inode(sb, ino, &bh);
201 while (ino <= sbi->s_ninodes) {
204 if ((ino++ & sbi->s_inodes_per_block_1) == 0) {
206 raw_inode = sysv_raw_inode(sb, ino, &bh);