Lines Matching refs:ino
183 unsigned long ino; in ext4_free_inode() local
211 ino = inode->i_ino; in ext4_free_inode()
212 ext4_debug("freeing inode %lu\n", ino); in ext4_free_inode()
234 if (ino < EXT4_FIRST_INO(sb) || ino > le32_to_cpu(es->s_inodes_count)) { in ext4_free_inode()
236 "reserved or nonexistent inode %lu", ino); in ext4_free_inode()
239 block_group = (ino - 1) / EXT4_INODES_PER_GROUP(sb); in ext4_free_inode()
240 bit = (ino - 1) % EXT4_INODES_PER_GROUP(sb); in ext4_free_inode()
256 "bit already cleared for inode %lu", ino); in ext4_free_inode()
612 unsigned long ino, ext4_group_t group, int mode) in ext4_claim_inode() argument
619 if (ext4_set_bit(ino, inode_bitmap_bh->b_data)) { in ext4_claim_inode()
624 ino++; in ext4_claim_inode()
625 if ((group == 0 && ino < EXT4_FIRST_INO(sb)) || in ext4_claim_inode()
626 ino > EXT4_INODES_PER_GROUP(sb)) { in ext4_claim_inode()
631 ino + group * EXT4_INODES_PER_GROUP(sb)); in ext4_claim_inode()
659 if (ino > free) in ext4_claim_inode()
661 (EXT4_INODES_PER_GROUP(sb) - ino)); in ext4_claim_inode()
691 unsigned long ino = 0; in ext4_new_inode() local
757 ino = 0; in ext4_new_inode()
760 ino = ext4_find_next_zero_bit((unsigned long *) in ext4_new_inode()
762 EXT4_INODES_PER_GROUP(sb), ino); in ext4_new_inode()
764 if (ino < EXT4_INODES_PER_GROUP(sb)) { in ext4_new_inode()
778 ino, group, mode)) { in ext4_new_inode()
788 ino++; in ext4_new_inode()
795 if (++ino < EXT4_INODES_PER_GROUP(sb)) in ext4_new_inode()
877 inode->i_ino = ino + group * EXT4_INODES_PER_GROUP(sb); in ext4_new_inode()
972 struct inode *ext4_orphan_get(struct super_block *sb, unsigned long ino) in ext4_orphan_get() argument
982 if (ino > max_ino) { in ext4_orphan_get()
984 "bad orphan ino %lu! e2fsck was run?", ino); in ext4_orphan_get()
988 block_group = (ino - 1) / EXT4_INODES_PER_GROUP(sb); in ext4_orphan_get()
989 bit = (ino - 1) % EXT4_INODES_PER_GROUP(sb); in ext4_orphan_get()
993 "inode bitmap error for orphan %lu", ino); in ext4_orphan_get()
1004 inode = ext4_iget(sb, ino); in ext4_orphan_get()
1026 "bad orphan inode %lu! e2fsck was run?", ino); in ext4_orphan_get()