Lines Matching refs:bpb
592 if (le16_to_cpu(b->bpb.bytes_per_sector) < 0x100 || in is_boot_sector_ntfs()
593 le16_to_cpu(b->bpb.bytes_per_sector) > 0x1000) in is_boot_sector_ntfs()
596 switch (b->bpb.sectors_per_cluster) { in is_boot_sector_ntfs()
603 if ((u32)le16_to_cpu(b->bpb.bytes_per_sector) * in is_boot_sector_ntfs()
604 b->bpb.sectors_per_cluster > NTFS_MAX_CLUSTER_SIZE) in is_boot_sector_ntfs()
607 if (le16_to_cpu(b->bpb.reserved_sectors) || in is_boot_sector_ntfs()
608 le16_to_cpu(b->bpb.root_entries) || in is_boot_sector_ntfs()
609 le16_to_cpu(b->bpb.sectors) || in is_boot_sector_ntfs()
610 le16_to_cpu(b->bpb.sectors_per_fat) || in is_boot_sector_ntfs()
611 le32_to_cpu(b->bpb.large_sectors) || b->bpb.fats) in is_boot_sector_ntfs()
758 vol->sector_size = le16_to_cpu(b->bpb.bytes_per_sector); in parse_ntfs_boot_sector()
771 ntfs_debug("sectors_per_cluster = 0x%x", b->bpb.sectors_per_cluster); in parse_ntfs_boot_sector()
772 sectors_per_cluster_bits = ffs(b->bpb.sectors_per_cluster) - 1; in parse_ntfs_boot_sector()
775 nr_hidden_sects = le32_to_cpu(b->bpb.hidden_sectors); in parse_ntfs_boot_sector()