Searched refs:bytes_per_sector (Results 1 – 12 of 12) sorted by relevance
/third_party/ntfs-3g/libntfs-3g/ |
D | bootsect.c | 76 if (le16_to_cpu(b->bpb.bytes_per_sector) < 256 || in ntfs_boot_sector_is_ntfs() 77 le16_to_cpu(b->bpb.bytes_per_sector) > 4096) { in ntfs_boot_sector_is_ntfs() 79 le16_to_cpu(b->bpb.bytes_per_sector)); in ntfs_boot_sector_is_ntfs() 107 i = (u32)le16_to_cpu(b->bpb.bytes_per_sector) * sectors_per_cluster; in ntfs_boot_sector_is_ntfs() 202 vol->sector_size = le16_to_cpu(bs->bpb.bytes_per_sector); in ntfs_boot_sector_parse()
|
/third_party/ntfs-3g/ntfsprogs/ |
D | ntfsclone.c | 709 static void rescue_sector(void *fd, u32 bytes_per_sector, off_t pos, void *buff) argument 723 if (read_all(fd, buff, bytes_per_sector) == -1) { 726 memset(buff, '?', bytes_per_sector); 735 static void read_rescue(void *fd, char *buff, u32 csize, u32 bytes_per_sector, argument 748 for (i = 0; i < csize; i += bytes_per_sector) 749 rescue_sector(fd, bytes_per_sector, 768 static u16 bytes_per_sector = NTFS_SECTOR_SIZE; local 772 bytes_per_sector = vol->sector_size; 801 for (i = 0; i < csize; i += bytes_per_sector) 802 rescue_sector(fd, bytes_per_sector, [all …]
|
D | ntfsck.c | 120 static short bytes_per_sector, sectors_per_cluster; variable 215 bytes_per_sector = le16_to_cpu(ntfs_boot->bpb.bytes_per_sector); in verify_boot_sector() 216 if (!bytes_per_sector) { in verify_boot_sector() 219 if (bytes_per_sector%512) { in verify_boot_sector()
|
D | ntfsfix.c | 1252 if (!memcmp(§or_size_le, &bs->bpb.bytes_per_sector,2) in try_fix_boot()
|
D | ntfsresize.c | 4378 &bs->bpb.bytes_per_sector,2) in get_volume_data()
|
D | mkntfs.c | 4646 bs->bpb.bytes_per_sector = cpu_to_le16(opts.sector_size); in mkntfs_create_root_structures()
|
/third_party/FreeBSD/sbin/newfs_msdos/ |
D | mkfs_msdos.h | 48 AOPT('S', uint16_t, bytes_per_sector, 1, "Bytes per sector") \
|
D | newfs_msdos.c | 122 o.bytes_per_sector = argto2(optarg, 1, "bytes/sector"); in main()
|
D | mkfs_msdos.c | 326 if (o.bytes_per_sector) in mkfs_msdos() 327 bpb.bpbBytesPerSec = o.bytes_per_sector; in mkfs_msdos() 333 o.bytes_per_sector && o.size && o.hidden_sectors_set))) { in mkfs_msdos()
|
/third_party/e2fsprogs/lib/blkid/ |
D | probe.c | 691 int bytes_per_sector, sectors_per_cluster; in probe_ntfs() local 701 bytes_per_sector = ns->bios_parameter_block[0] + in probe_ntfs() 705 if ((bytes_per_sector < 512) || (sectors_per_cluster == 0)) in probe_ntfs() 712 sectors_per_cluster * bytes_per_sector; in probe_ntfs() 720 bytes_per_sector * sectors_per_cluster; in probe_ntfs() 729 off = blkid_le64(ns->mft_cluster_location) * bytes_per_sector * in probe_ntfs()
|
/third_party/ntfs-3g/include/ntfs-3g/ |
D | layout.h | 50 le16 bytes_per_sector; /* Size of a sector in bytes. */ member
|
/third_party/libuv/src/win/ |
D | fs.c | 2712 DWORD bytes_per_sector; in fs__statfs() local 2721 &bytes_per_sector, in fs__statfs() 2780 stat_fs->f_bsize = bytes_per_sector * sectors_per_cluster; in fs__statfs()
|