Home
last modified time | relevance | path

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

/Linux-v5.15/fs/ntfs3/
Dsuper.c684 u32 mb, gb, boot_sector_size, sct_per_clst, record_size; in ntfs_init_from_boot() local
708 boot_sector_size = (u32)boot->bytes_per_sector[1] << 8; in ntfs_init_from_boot()
709 if (boot->bytes_per_sector[0] || boot_sector_size < SECTOR_SIZE || in ntfs_init_from_boot()
710 !is_power_of_2(boot_sector_size)) { in ntfs_init_from_boot()
743 sbi->volume.size = sectors * boot_sector_size; in ntfs_init_from_boot()
745 gb = format_size_gb(sbi->volume.size + boot_sector_size, &mb); in ntfs_init_from_boot()
752 if (boot_sector_size != sector_size) { in ntfs_init_from_boot()
756 boot_sector_size, sector_size); in ntfs_init_from_boot()
760 sbi->cluster_size = boot_sector_size * sct_per_clst; in ntfs_init_from_boot()
767 if (sbi->cluster_size < boot_sector_size) in ntfs_init_from_boot()
[all …]