Home
last modified time | relevance | path

Searched refs:cluster_size (Results 1 – 11 of 11) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dbootsect.c252 vol->cluster_size = sectors_per_cluster * vol->sector_size; in ntfs_boot_sector_parse()
253 if (vol->cluster_size & (vol->cluster_size - 1)) { in ntfs_boot_sector_parse()
255 vol->cluster_size); in ntfs_boot_sector_parse()
258 vol->cluster_size_bits = ffs(vol->cluster_size) - 1; in ntfs_boot_sector_parse()
265 ntfs_log_debug("ClusterSize = 0x%x\n", (unsigned)vol->cluster_size); in ntfs_boot_sector_parse()
304 if (vol->cluster_size <= 4 * vol->mft_record_size) in ntfs_boot_sector_parse()
307 vol->mftmirr_size = vol->cluster_size / vol->mft_record_size; in ntfs_boot_sector_parse()
H A Dvolume.c611 mft_lcn = (8192 + 2 * vol->cluster_size - 1) / vol->cluster_size; in ntfs_volume_startup()
612 if (mft_lcn * vol->cluster_size < 16 * 1024) in ntfs_volume_startup()
613 mft_lcn = (16 * 1024 + vol->cluster_size - 1) / in ntfs_volume_startup()
614 vol->cluster_size; in ntfs_volume_startup()
H A Dvolume.h198 u32 cluster_size; /* Byte size of a cluster. */ member
H A Dioctl.c280 if (minlen > vol->cluster_size) { in fstrim()
H A Dattrib.c239 + vol->cluster_size - 1) in ntfs_get_attribute_value()
505 && (ni->vol->cluster_size <= MAX_COMPRESSION_CLUSTER_SIZE)) in ntfs_attr_open()
2233 u32 bsize = vol->cluster_size;
4634 && (ni->vol->cluster_size <= MAX_COMPRESSION_CLUSTER_SIZE)
5129 new_allocated_size = (le32_to_cpu(a->value_length) + vol->cluster_size
5130 - 1) & ~(vol->cluster_size - 1);
5701 && (na->ni->vol->cluster_size <= MAX_COMPRESSION_CLUSTER_SIZE)
5977 | (na->ni->vol->cluster_size - 1)) + 1)
6382 first_free_vcn = (newsize + vol->cluster_size - 1) >>
6532 first_free_vcn = (newsize + vol->cluster_size - 1) >>
H A Ddir.c387 if (vol->cluster_size <= index_block_size) { in ntfs_inode_lookup_by_name()
1207 if (vol->cluster_size <= index_block_size) { in ntfs_readdir()
1555 && (dir_ni->vol->cluster_size <= MAX_COMPRESSION_CLUSTER_SIZE) in __ntfs_create()
1591 if (ni->vol->cluster_size <= ni->vol->indx_record_size) in __ntfs_create()
H A Drunlist.c962 vol->cluster_size - 1) >> in ntfs_mapping_pairs_decompress_i()
2144 vol.cluster_size = 2048; in test_rl_frag()
H A Dmft.c847 mftbmp_na->allocated_size += vol->cluster_size; in ntfs_mft_bitmap_extend_allocation_i()
862 mftbmp_na->allocated_size += vol->cluster_size; in ntfs_mft_bitmap_extend_allocation_i()
H A Dindex.c801 if (ni->vol->cluster_size <= icx->block_size) in ntfs_index_lookup()
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c222 long cluster_size; /* -c, format with this cluster-size */ member
460 opts2->cluster_size = -1; in mkntfs_init_options()
607 length = rl[i].length * g_vol->cluster_size; in ntfs_rlwrite()
626 if (dev->d_ops->seek(dev, rl[i].lcn * g_vol->cluster_size, in ntfs_rlwrite()
1213 if (highest_vcn * g_vol->cluster_size < val_len) { in insert_positioned_attr_in_mft_record()
1260 a->allocated_size = cpu_to_sle64(highest_vcn * g_vol->cluster_size); in insert_positioned_attr_in_mft_record()
1378 g_vol->cluster_size - 1) / g_vol->cluster_size); in insert_non_resident_attr_in_mft_record()
1455 a->allocated_size = cpu_to_sle64((val_len + (g_vol->cluster_size - 1)) & in insert_non_resident_attr_in_mft_record()
1456 ~(g_vol->cluster_size - 1)); in insert_non_resident_attr_in_mft_record()
1990 if (index_block_size >= g_vol->cluster_size) { in add_attr_index_root()
[all …]
/haiku/src/add-ons/kernel/file_systems/ntfs/
H A Dkernel_interface.cpp276 info->block_size = volume->ntfs->cluster_size; in fs_read_fs_info()