Lines Matching refs:le32_to_cpu

105 	if (le32_to_cpu(es->s_rev_level) > EXT2_GOOD_OLD_REV)  in ext2_update_dynamic_rev()
228 def_mount_opts = le32_to_cpu(es->s_default_mount_opts); in ext2_show_options()
343 if (ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) in ext2_nfs_get_inode()
617 if (le32_to_cpu(es->s_rev_level) > EXT2_MAX_SUPP_REV) { in ext2_setup_super()
639 else if (le32_to_cpu(es->s_checkinterval) && in ext2_setup_super()
640 (le32_to_cpu(es->s_lastcheck) + in ext2_setup_super()
641 le32_to_cpu(es->s_checkinterval) <= get_seconds())) in ext2_setup_super()
673 last_block = le32_to_cpu(sbi->s_es->s_blocks_count) - 1; in ext2_check_descriptors()
678 if (le32_to_cpu(gdp->bg_block_bitmap) < first_block || in ext2_check_descriptors()
679 le32_to_cpu(gdp->bg_block_bitmap) > last_block) in ext2_check_descriptors()
684 i, (unsigned long) le32_to_cpu(gdp->bg_block_bitmap)); in ext2_check_descriptors()
687 if (le32_to_cpu(gdp->bg_inode_bitmap) < first_block || in ext2_check_descriptors()
688 le32_to_cpu(gdp->bg_inode_bitmap) > last_block) in ext2_check_descriptors()
693 i, (unsigned long) le32_to_cpu(gdp->bg_inode_bitmap)); in ext2_check_descriptors()
696 if (le32_to_cpu(gdp->bg_inode_table) < first_block || in ext2_check_descriptors()
697 le32_to_cpu(gdp->bg_inode_table) + sbi->s_itb_per_group - 1 > in ext2_check_descriptors()
703 i, (unsigned long) le32_to_cpu(gdp->bg_inode_table)); in ext2_check_descriptors()
765 first_meta_bg = le32_to_cpu(sbi->s_es->s_first_meta_bg); in descriptor_loc()
851 def_mount_opts = le32_to_cpu(es->s_default_mount_opts); in ext2_fill_super()
886 if (le32_to_cpu(es->s_rev_level) == EXT2_GOOD_OLD_REV && in ext2_fill_super()
902 le32_to_cpu(features)); in ext2_fill_super()
909 le32_to_cpu(features)); in ext2_fill_super()
913 blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in ext2_fill_super()
957 if (le32_to_cpu(es->s_rev_level) == EXT2_GOOD_OLD_REV) { in ext2_fill_super()
962 sbi->s_first_ino = le32_to_cpu(es->s_first_ino); in ext2_fill_super()
974 le32_to_cpu(es->s_log_frag_size); in ext2_fill_super()
979 sbi->s_blocks_per_group = le32_to_cpu(es->s_blocks_per_group); in ext2_fill_super()
980 sbi->s_frags_per_group = le32_to_cpu(es->s_frags_per_group); in ext2_fill_super()
981 sbi->s_inodes_per_group = le32_to_cpu(es->s_inodes_per_group); in ext2_fill_super()
1037 sbi->s_groups_count = ((le32_to_cpu(es->s_blocks_count) - in ext2_fill_super()
1038 le32_to_cpu(es->s_first_data_block) - 1) in ext2_fill_super()
1334 le32_to_cpu(ret)); in ext2_remount()
1374 else if (sbi->s_blocks_last != le32_to_cpu(es->s_blocks_count)) { in ext2_statfs()
1388 overhead = le32_to_cpu(es->s_first_data_block); in ext2_statfs()
1407 sbi->s_blocks_last = le32_to_cpu(es->s_blocks_count); in ext2_statfs()
1412 buf->f_blocks = le32_to_cpu(es->s_blocks_count) - sbi->s_overhead_last; in ext2_statfs()
1415 buf->f_bavail = buf->f_bfree - le32_to_cpu(es->s_r_blocks_count); in ext2_statfs()
1416 if (buf->f_bfree < le32_to_cpu(es->s_r_blocks_count)) in ext2_statfs()
1418 buf->f_files = le32_to_cpu(es->s_inodes_count); in ext2_statfs()