Lines Matching refs:le32_to_cpu

105 	if (le32_to_cpu(es->s_rev_level) > EXT2_GOOD_OLD_REV)  in ext2_update_dynamic_rev()
231 def_mount_opts = le32_to_cpu(es->s_default_mount_opts); in ext2_show_options()
346 if (ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) in ext2_nfs_get_inode()
622 if (le32_to_cpu(es->s_rev_level) > EXT2_MAX_SUPP_REV) { in ext2_setup_super()
644 else if (le32_to_cpu(es->s_checkinterval) && in ext2_setup_super()
645 (le32_to_cpu(es->s_lastcheck) + in ext2_setup_super()
646 le32_to_cpu(es->s_checkinterval) <= get_seconds())) in ext2_setup_super()
678 last_block = le32_to_cpu(sbi->s_es->s_blocks_count) - 1; in ext2_check_descriptors()
683 if (le32_to_cpu(gdp->bg_block_bitmap) < first_block || in ext2_check_descriptors()
684 le32_to_cpu(gdp->bg_block_bitmap) > last_block) in ext2_check_descriptors()
689 i, (unsigned long) le32_to_cpu(gdp->bg_block_bitmap)); in ext2_check_descriptors()
692 if (le32_to_cpu(gdp->bg_inode_bitmap) < first_block || in ext2_check_descriptors()
693 le32_to_cpu(gdp->bg_inode_bitmap) > last_block) in ext2_check_descriptors()
698 i, (unsigned long) le32_to_cpu(gdp->bg_inode_bitmap)); in ext2_check_descriptors()
701 if (le32_to_cpu(gdp->bg_inode_table) < first_block || in ext2_check_descriptors()
702 le32_to_cpu(gdp->bg_inode_table) + sbi->s_itb_per_group - 1 > in ext2_check_descriptors()
708 i, (unsigned long) le32_to_cpu(gdp->bg_inode_table)); in ext2_check_descriptors()
770 first_meta_bg = le32_to_cpu(sbi->s_es->s_first_meta_bg); in descriptor_loc()
856 def_mount_opts = le32_to_cpu(es->s_default_mount_opts); in ext2_fill_super()
892 if (le32_to_cpu(es->s_rev_level) == EXT2_GOOD_OLD_REV && in ext2_fill_super()
908 le32_to_cpu(features)); in ext2_fill_super()
915 le32_to_cpu(features)); in ext2_fill_super()
919 blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in ext2_fill_super()
963 if (le32_to_cpu(es->s_rev_level) == EXT2_GOOD_OLD_REV) { in ext2_fill_super()
968 sbi->s_first_ino = le32_to_cpu(es->s_first_ino); in ext2_fill_super()
980 le32_to_cpu(es->s_log_frag_size); in ext2_fill_super()
985 sbi->s_blocks_per_group = le32_to_cpu(es->s_blocks_per_group); in ext2_fill_super()
986 sbi->s_frags_per_group = le32_to_cpu(es->s_frags_per_group); in ext2_fill_super()
987 sbi->s_inodes_per_group = le32_to_cpu(es->s_inodes_per_group); in ext2_fill_super()
1043 sbi->s_groups_count = ((le32_to_cpu(es->s_blocks_count) - in ext2_fill_super()
1044 le32_to_cpu(es->s_first_data_block) - 1) in ext2_fill_super()
1340 le32_to_cpu(ret)); in ext2_remount()
1380 else if (sbi->s_blocks_last != le32_to_cpu(es->s_blocks_count)) { in ext2_statfs()
1394 overhead = le32_to_cpu(es->s_first_data_block); in ext2_statfs()
1413 sbi->s_blocks_last = le32_to_cpu(es->s_blocks_count); in ext2_statfs()
1418 buf->f_blocks = le32_to_cpu(es->s_blocks_count) - sbi->s_overhead_last; in ext2_statfs()
1421 buf->f_bavail = buf->f_bfree - le32_to_cpu(es->s_r_blocks_count); in ext2_statfs()
1422 if (buf->f_bfree < le32_to_cpu(es->s_r_blocks_count)) in ext2_statfs()
1424 buf->f_files = le32_to_cpu(es->s_inodes_count); in ext2_statfs()