Lines Matching refs:ino
109 unsigned long ino; in ext2_free_inode() local
115 ino = inode->i_ino; in ext2_free_inode()
116 ext2_debug ("freeing inode %lu\n", ino); in ext2_free_inode()
129 if (ino < EXT2_FIRST_INO(sb) || in ext2_free_inode()
130 ino > le32_to_cpu(es->s_inodes_count)) { in ext2_free_inode()
132 "reserved or nonexistent inode %lu", ino); in ext2_free_inode()
135 block_group = (ino - 1) / EXT2_INODES_PER_GROUP(sb); in ext2_free_inode()
136 bit = (ino - 1) % EXT2_INODES_PER_GROUP(sb); in ext2_free_inode()
145 "bit already cleared for inode %lu", ino); in ext2_free_inode()
435 ino_t ino = 0; in ext2_new_inode() local
477 ino = 0; in ext2_new_inode()
480 ino = ext2_find_next_zero_bit((unsigned long *)bitmap_bh->b_data, in ext2_new_inode()
481 EXT2_INODES_PER_GROUP(sb), ino); in ext2_new_inode()
482 if (ino >= EXT2_INODES_PER_GROUP(sb)) { in ext2_new_inode()
496 ino, bitmap_bh->b_data)) { in ext2_new_inode()
498 if (++ino >= EXT2_INODES_PER_GROUP(sb)) { in ext2_new_inode()
522 ino += group * EXT2_INODES_PER_GROUP(sb) + 1; in ext2_new_inode()
523 if (ino < EXT2_FIRST_INO(sb) || ino > le32_to_cpu(es->s_inodes_count)) { in ext2_new_inode()
527 (unsigned long) ino); in ext2_new_inode()
556 inode->i_ino = ino; in ext2_new_inode()
579 (unsigned long) ino); in ext2_new_inode()