Searched refs:sectors_per_cluster (Results 1 – 9 of 9) 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 …]
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") \
268 if (o.block_size && o.sectors_per_cluster) { in mkfs_msdos()398 if (o.sectors_per_cluster) { in mkfs_msdos()399 if (!powerof2(o.sectors_per_cluster)) { in mkfs_msdos()401 o.sectors_per_cluster); in mkfs_msdos()404 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()
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()