Home
last modified time | relevance | path

Searched refs:sectors_per_cluster (Results 1 – 9 of 9) sorted by relevance

/third_party/ntfs-3g/libntfs-3g/
Dbootsect.c65 u16 sectors_per_cluster; in ntfs_boot_sector_is_ntfs() local
84 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 …]
/third_party/FreeBSD/sbin/newfs_msdos/
Dnewfs_msdos.c129 o.sectors_per_cluster = 0; in main()
132 o.sectors_per_cluster = argto1(optarg, 1, "sectors/cluster"); in main()
Dmkfs_msdos.h52 AOPT('c', uint8_t, sectors_per_cluster, 1, "Sectors per cluster") \
Dmkfs_msdos.c268 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()
/third_party/ntfs-3g/ntfsprogs/
Dntfsck.c120 static short bytes_per_sector, sectors_per_cluster; variable
223 sectors_per_cluster = ntfs_boot->bpb.sectors_per_cluster; in verify_boot_sector()
Dmkntfs.c4394 int sectors_per_cluster; in mkntfs_create_root_structures() local
4647 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()
Dntfsresize.c2767 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()
/third_party/ntfs-3g/include/ntfs-3g/
Dlayout.h51 u8 sectors_per_cluster; /* Size of a cluster in sectors. */ member
/third_party/libuv/src/win/
Dfs.c2711 DWORD sectors_per_cluster; in fs__statfs() local
2720 &sectors_per_cluster, in fs__statfs()
2780 stat_fs->f_bsize = bytes_per_sector * sectors_per_cluster; in fs__statfs()