Lines Matching defs:inode
2 * bb_inode.c --- routines to update the bad block inode.
5 * this routine returns an error, the bad block inode may be in an
54 * Given a bad blocks bitmap, update the bad blocks inode to reflect
61 struct ext2_inode inode;
100 * block inode (!).
120 * Update the bad block inode's mod time and block count
123 retval = ext2fs_read_inode(fs, EXT2_BAD_INO, &inode);
127 inode.i_atime = inode.i_mtime = fs->now ? fs->now : time(0);
128 if (!inode.i_ctime)
129 inode.i_ctime = fs->now ? fs->now : time(0);
130 ext2fs_iblk_set(fs, &inode, rec.bad_block_count);
131 inode.i_size = rec.bad_block_count * fs->blocksize;
133 retval = ext2fs_write_inode(fs, EXT2_BAD_INO, &inode);
146 * Clear the bad blocks in the bad block inode, while saving the
204 * Set the block list in the bad block inode, using the supplied bitmap.