Lines Matching refs:superblock
542 struct hpfs_super_block *superblock; in hpfs_fill_super() local
591 if (!(superblock = hpfs_map_sector(s, 16, &bh1, 1))) goto bail2; in hpfs_fill_super()
596 ||*/ le32_to_cpu(superblock->magic) != SB_MAGIC in hpfs_fill_super()
604 if (!sb_rdonly(s) && superblock->funcversion != 2 && superblock->funcversion != 3) { in hpfs_fill_super()
606 (int)superblock->version, (int)superblock->funcversion); in hpfs_fill_super()
620 sbi->sb_root = le32_to_cpu(superblock->root); in hpfs_fill_super()
621 sbi->sb_fs_size = le32_to_cpu(superblock->n_sectors); in hpfs_fill_super()
622 sbi->sb_bitmaps = le32_to_cpu(superblock->bitmaps); in hpfs_fill_super()
623 sbi->sb_dirband_start = le32_to_cpu(superblock->dir_band_start); in hpfs_fill_super()
624 sbi->sb_dirband_size = le32_to_cpu(superblock->n_dir_band); in hpfs_fill_super()
625 sbi->sb_dmap = le32_to_cpu(superblock->dir_band_bitmap); in hpfs_fill_super()
652 if (!(sbi->sb_bmp_dir = hpfs_load_bitmap_directory(s, le32_to_cpu(superblock->bitmaps)))) in hpfs_fill_super()
682 …if (le32_to_cpu(superblock->dir_band_end) - le32_to_cpu(superblock->dir_band_start) + 1 != le32_to… in hpfs_fill_super()
683 …le32_to_cpu(superblock->dir_band_end) < le32_to_cpu(superblock->dir_band_start) || le32_to_cpu(sup… in hpfs_fill_super()
685 …le32_to_cpu(superblock->dir_band_start), le32_to_cpu(superblock->dir_band_end), le32_to_cpu(superb… in hpfs_fill_super()
690 …if (hpfs_chk_sectors(s, le32_to_cpu(superblock->dir_band_start), le32_to_cpu(superblock->n_dir_ban… in hpfs_fill_super()
691 hpfs_chk_sectors(s, le32_to_cpu(superblock->dir_band_bitmap), 4, "dir_band_bitmap") || in hpfs_fill_super()
692 hpfs_chk_sectors(s, le32_to_cpu(superblock->bitmaps), 4, "bitmaps")) { in hpfs_fill_super()