Searched refs:sectors_per_cluster (Results 1 – 12 of 12) sorted by relevance
65 u16 sectors_per_cluster; in ntfs_boot_sector_is_ntfs() local84 switch (b->bpb.sectors_per_cluster) { in ntfs_boot_sector_is_ntfs()88 if ((b->bpb.sectors_per_cluster < 240) in ntfs_boot_sector_is_ntfs()89 || (b->bpb.sectors_per_cluster > 253)) { in ntfs_boot_sector_is_ntfs()90 if (b->bpb.sectors_per_cluster > 128) in ntfs_boot_sector_is_ntfs()93 b->bpb.sectors_per_cluster); in ntfs_boot_sector_is_ntfs()97 b->bpb.sectors_per_cluster); in ntfs_boot_sector_is_ntfs()103 if (b->bpb.sectors_per_cluster > 128) in ntfs_boot_sector_is_ntfs()104 sectors_per_cluster = 1 << (256 - b->bpb.sectors_per_cluster); in ntfs_boot_sector_is_ntfs()106 sectors_per_cluster = b->bpb.sectors_per_cluster; in ntfs_boot_sector_is_ntfs()[all …]
24 unsigned sectors_per_cluster; member
23 unsigned sectors_per_cluster; member
129 o.sectors_per_cluster = 0; in main()132 o.sectors_per_cluster = argto1(optarg, 1, "sectors/cluster"); in main()
52 AOPT('c', uint8_t, sectors_per_cluster, 1, "Sectors per cluster") \
265 if (o.block_size && o.sectors_per_cluster) { in mkfs_msdos()400 if (o.sectors_per_cluster) { in mkfs_msdos()401 if (!powerof2(o.sectors_per_cluster)) { in mkfs_msdos()403 o.sectors_per_cluster); in mkfs_msdos()406 bpb.bpbSecPerClust = o.sectors_per_cluster; in mkfs_msdos()
120 static short bytes_per_sector, sectors_per_cluster; variable223 sectors_per_cluster = ntfs_boot->bpb.sectors_per_cluster; in verify_boot_sector()
4394 int sectors_per_cluster; in mkntfs_create_root_structures() local4647 sectors_per_cluster = g_vol->cluster_size / opts.sector_size; in mkntfs_create_root_structures()4648 if (sectors_per_cluster > 128) in mkntfs_create_root_structures()4649 bs->bpb.sectors_per_cluster = 257 - ffs(sectors_per_cluster); in mkntfs_create_root_structures()4651 bs->bpb.sectors_per_cluster = sectors_per_cluster; in mkntfs_create_root_structures()
2767 if (bs->bpb.sectors_per_cluster > 128) in update_bootsector()2769 << (256 - bs->bpb.sectors_per_cluster)); in update_bootsector()2772 bs->bpb.sectors_per_cluster); in update_bootsector()
690 int bytes_per_sector, sectors_per_cluster; in probe_ntfs() local702 sectors_per_cluster = ns->bios_parameter_block[2]; in probe_ntfs()704 if ((bytes_per_sector < 512) || (sectors_per_cluster == 0)) in probe_ntfs()711 sectors_per_cluster * bytes_per_sector; in probe_ntfs()712 nr_clusters = blkid_le64(ns->number_of_sectors) / sectors_per_cluster; in probe_ntfs()719 bytes_per_sector * sectors_per_cluster; in probe_ntfs()729 sectors_per_cluster; in probe_ntfs()
51 u8 sectors_per_cluster; /* Size of a cluster in sectors. */ member
2711 DWORD sectors_per_cluster; in fs__statfs() local2720 §ors_per_cluster, in fs__statfs()2780 stat_fs->f_bsize = bytes_per_sector * sectors_per_cluster; in fs__statfs()