Lines Matching refs:le32_to_cpu

44 	blocknr = blocknr - le32_to_cpu(es->s_first_data_block);  in ext3_get_group_no_and_offset()
106 bitmap_blk = le32_to_cpu(desc->bg_block_bitmap); in ext3_valid_block_bitmap()
113 bitmap_blk = le32_to_cpu(desc->bg_inode_bitmap); in ext3_valid_block_bitmap()
120 bitmap_blk = le32_to_cpu(desc->bg_inode_table); in ext3_valid_block_bitmap()
158 bitmap_blk = le32_to_cpu(desc->bg_block_bitmap); in read_block_bitmap()
164 block_group, le32_to_cpu(desc->bg_block_bitmap)); in read_block_bitmap()
175 block_group, le32_to_cpu(desc->bg_block_bitmap)); in read_block_bitmap()
509 if (block < le32_to_cpu(es->s_first_data_block) || in ext3_free_blocks_sb()
511 block + count > le32_to_cpu(es->s_blocks_count)) { in ext3_free_blocks_sb()
522 block_group = (block - le32_to_cpu(es->s_first_data_block)) / in ext3_free_blocks_sb()
524 bit = (block - le32_to_cpu(es->s_first_data_block)) % in ext3_free_blocks_sb()
542 if (in_range (le32_to_cpu(desc->bg_block_bitmap), block, count) || in ext3_free_blocks_sb()
543 in_range (le32_to_cpu(desc->bg_inode_bitmap), block, count) || in ext3_free_blocks_sb()
544 in_range (block, le32_to_cpu(desc->bg_inode_table), in ext3_free_blocks_sb()
546 in_range (block + count - 1, le32_to_cpu(desc->bg_inode_table), in ext3_free_blocks_sb()
1440 root_blocks = le32_to_cpu(sbi->s_es->s_r_blocks_count); in ext3_has_free_blocks()
1550 if (goal < le32_to_cpu(es->s_first_data_block) || in ext3_new_blocks()
1551 goal >= le32_to_cpu(es->s_blocks_count)) in ext3_new_blocks()
1552 goal = le32_to_cpu(es->s_first_data_block); in ext3_new_blocks()
1553 group_no = (goal - le32_to_cpu(es->s_first_data_block)) / in ext3_new_blocks()
1572 grp_target_blk = ((goal - le32_to_cpu(es->s_first_data_block)) % in ext3_new_blocks()
1659 if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) || in ext3_new_blocks()
1660 in_range(le32_to_cpu(gdp->bg_inode_bitmap), ret_block, num) || in ext3_new_blocks()
1661 in_range(ret_block, le32_to_cpu(gdp->bg_inode_table), in ext3_new_blocks()
1663 in_range(ret_block + num - 1, le32_to_cpu(gdp->bg_inode_table), in ext3_new_blocks()
1708 if (ret_block + num - 1 >= le32_to_cpu(es->s_blocks_count)) { in ext3_new_blocks()
1712 le32_to_cpu(es->s_blocks_count), group_no, es); in ext3_new_blocks()
1813 (ext3_fsblk_t)le32_to_cpu(es->s_free_blocks_count), in ext3_count_free_blocks()
1894 le32_to_cpu(EXT3_SB(sb)->s_es->s_first_meta_bg); in ext3_bg_num_gdb()
2093 le32_to_cpu(EXT3_SB(sb)->s_es->s_first_data_block); in ext3_trim_fs()
2094 ext3_fsblk_t max_blks = le32_to_cpu(es->s_blocks_count); in ext3_trim_fs()