Lines Matching refs:index_block_size
2270 const u32 index_block_size) in add_attr_index_root() argument
2290 r->index_block_size = cpu_to_le32(index_block_size); in add_attr_index_root()
2291 if (index_block_size >= g_vol->cluster_size) { in add_attr_index_root()
2292 if (index_block_size % g_vol->cluster_size) { in add_attr_index_root()
2298 r->clusters_per_index_block = index_block_size / in add_attr_index_root()
2301 if (index_block_size & (index_block_size - 1)) { in add_attr_index_root()
2307 if (index_block_size < (u32)opts.sector_size) { in add_attr_index_root()
2313 r->clusters_per_index_block = index_block_size in add_attr_index_root()
2436 int i, err, index_block_size; in upgrade_to_large_index() local
2471 index_block_size = le32_to_cpu(r->index_block_size); in upgrade_to_large_index()
2478 ia_val = ntfs_calloc(index_block_size); in upgrade_to_large_index()
2486 if (index_block_size >= NTFS_BLOCK_SIZE) { in upgrade_to_large_index()
2487 ia_val->usa_count = cpu_to_le16(index_block_size / in upgrade_to_large_index()
2507 ia_val->index.allocated_size = cpu_to_le32(index_block_size - in upgrade_to_large_index()
2546 err = ntfs_mst_pre_write_fixup((NTFS_RECORD*)ia_val, index_block_size); in upgrade_to_large_index()
2554 index_block_size); in upgrade_to_large_index()