Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ntfs3/
Dsuper.c687 u32 mb, gb, boot_sector_size, sct_per_clst, record_size; in ntfs_init_from_boot() local
711 boot_sector_size = (u32)boot->bytes_per_sector[1] << 8; in ntfs_init_from_boot()
712 if (boot->bytes_per_sector[0] || boot_sector_size < SECTOR_SIZE || in ntfs_init_from_boot()
713 !is_power_of_2(boot_sector_size)) { in ntfs_init_from_boot()
748 sbi->volume.size = sectors * boot_sector_size; in ntfs_init_from_boot()
750 gb = format_size_gb(sbi->volume.size + boot_sector_size, &mb); in ntfs_init_from_boot()
757 if (boot_sector_size != sector_size) { in ntfs_init_from_boot()
761 boot_sector_size, sector_size); in ntfs_init_from_boot()
765 sbi->cluster_size = boot_sector_size * sct_per_clst; in ntfs_init_from_boot()
772 if (sbi->cluster_size < boot_sector_size) in ntfs_init_from_boot()
[all …]