Lines Matching refs:ino
107 unsigned long ino; in ext2_free_inode() local
113 ino = inode->i_ino; in ext2_free_inode()
114 ext2_debug ("freeing inode %lu\n", ino); in ext2_free_inode()
127 if (ino < EXT2_FIRST_INO(sb) || in ext2_free_inode()
128 ino > le32_to_cpu(es->s_inodes_count)) { in ext2_free_inode()
130 "reserved or nonexistent inode %lu", ino); in ext2_free_inode()
133 block_group = (ino - 1) / EXT2_INODES_PER_GROUP(sb); in ext2_free_inode()
134 bit = (ino - 1) % EXT2_INODES_PER_GROUP(sb); in ext2_free_inode()
143 "bit already cleared for inode %lu", ino); in ext2_free_inode()
437 ino_t ino = 0; in ext2_new_inode() local
474 ino = 0; in ext2_new_inode()
477 ino = ext2_find_next_zero_bit((unsigned long *)bitmap_bh->b_data, in ext2_new_inode()
478 EXT2_INODES_PER_GROUP(sb), ino); in ext2_new_inode()
479 if (ino >= EXT2_INODES_PER_GROUP(sb)) { in ext2_new_inode()
493 ino, bitmap_bh->b_data)) { in ext2_new_inode()
495 if (++ino >= EXT2_INODES_PER_GROUP(sb)) { in ext2_new_inode()
518 ino += group * EXT2_INODES_PER_GROUP(sb) + 1; in ext2_new_inode()
519 if (ino < EXT2_FIRST_INO(sb) || ino > le32_to_cpu(es->s_inodes_count)) { in ext2_new_inode()
523 (unsigned long) ino); in ext2_new_inode()
552 inode->i_ino = ino; in ext2_new_inode()
575 (unsigned long) ino); in ext2_new_inode()