Lines Matching refs:file_inode
1207 static void alloc_single_indirect_block(struct ext2_inode *file_inode, in alloc_single_indirect_block() argument
1260 file_inode->b.blocks.indir_block = cpu_to_le32(si_blockno); in alloc_single_indirect_block()
1266 static void alloc_double_indirect_block(struct ext2_inode *file_inode, in alloc_double_indirect_block() argument
1367 file_inode->b.blocks.double_indir_block = cpu_to_le32(di_blockno_parent); in alloc_double_indirect_block()
1373 static void alloc_triple_indirect_block(struct ext2_inode *file_inode, in alloc_triple_indirect_block() argument
1483 file_inode->b.blocks.triple_indir_block = cpu_to_le32(ti_gp_blockno); in alloc_triple_indirect_block()
1493 void ext4fs_allocate_blocks(struct ext2_inode *file_inode, in ext4fs_allocate_blocks() argument
1508 file_inode->b.blocks.dir_blocks[i] = cpu_to_le32(direct_blockno); in ext4fs_allocate_blocks()
1514 alloc_single_indirect_block(file_inode, &total_remaining_blocks, in ext4fs_allocate_blocks()
1516 alloc_double_indirect_block(file_inode, &total_remaining_blocks, in ext4fs_allocate_blocks()
1518 alloc_triple_indirect_block(file_inode, &total_remaining_blocks, in ext4fs_allocate_blocks()