Lines Matching refs:fs
29 errcode_t ext2fs_iblk_add_blocks(ext2_filsys fs, struct ext2_inode *inode,
34 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_HUGE_FILE)
37 if (!(fs->super->s_feature_ro_compat &
40 num_blocks *= fs->blocksize / 512;
41 num_blocks *= EXT2FS_CLUSTER_RATIO(fs);
45 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_HUGE_FILE)
53 errcode_t ext2fs_iblk_sub_blocks(ext2_filsys fs, struct ext2_inode *inode,
58 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_HUGE_FILE)
61 if (!(fs->super->s_feature_ro_compat &
64 num_blocks *= fs->blocksize / 512;
65 num_blocks *= EXT2FS_CLUSTER_RATIO(fs);
72 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_HUGE_FILE)
78 errcode_t ext2fs_iblk_set(ext2_filsys fs, struct ext2_inode *inode, blk64_t b)
80 if (!(fs->super->s_feature_ro_compat &
83 b *= fs->blocksize / 512;
84 b *= EXT2FS_CLUSTER_RATIO(fs);
87 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_HUGE_FILE)