Lines Matching refs:dindir_buf
79 __u32 *dindir_buf, *gdt_buf; in ext2fs_create_resize_inode() local
89 retval = ext2fs_get_array(2, fs->blocksize, &dindir_buf); in ext2fs_create_resize_inode()
92 gdt_buf = (__u32 *)((char *)dindir_buf + fs->blocksize); in ext2fs_create_resize_inode()
113 retval = ext2fs_read_ind_block(fs, dindir_blk, dindir_buf); in ext2fs_create_resize_inode()
128 memset(dindir_buf, 0, fs->blocksize); in ext2fs_create_resize_inode()
150 if (!dindir_buf[gdt_off]) { in ext2fs_create_resize_inode()
164 dindir_buf[gdt_off] = gdt_blk; in ext2fs_create_resize_inode()
170 } else if (dindir_buf[gdt_off] == gdt_blk) { in ext2fs_create_resize_inode()
180 dindir_buf[gdt_off], gdt_blk,dindir_blk,gdt_off); in ext2fs_create_resize_inode()
220 retval2 = ext2fs_write_ind_block(fs, dindir_blk, dindir_buf); in ext2fs_create_resize_inode()
236 ext2fs_free_mem(&dindir_buf); in ext2fs_create_resize_inode()