Home
last modified time | relevance | path

Searched refs:sectors_per_cluster (Results 1 – 12 of 12) 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/mingw-w64/mingw-w64-headers/crt/
Ddos.h24 unsigned sectors_per_cluster; member
Ddirect.h23 unsigned sectors_per_cluster; member
/third_party/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.c265 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()
/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/e2fsprogs/lib/blkid/
Dprobe.c690 int bytes_per_sector, sectors_per_cluster; in probe_ntfs() local
702 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()
/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()