Lines Matching refs:le32_to_cpu

86 	bitmap_blk = le32_to_cpu(desc->bg_block_bitmap);  in ext2_valid_block_bitmap()
93 bitmap_blk = le32_to_cpu(desc->bg_inode_bitmap); in ext2_valid_block_bitmap()
100 bitmap_blk = le32_to_cpu(desc->bg_inode_table); in ext2_valid_block_bitmap()
133 bitmap_blk = le32_to_cpu(desc->bg_block_bitmap); in read_block_bitmap()
139 block_group, le32_to_cpu(desc->bg_block_bitmap)); in read_block_bitmap()
150 block_group, le32_to_cpu(desc->bg_block_bitmap)); in read_block_bitmap()
491 if (block < le32_to_cpu(es->s_first_data_block) || in ext2_free_blocks()
493 block + count > le32_to_cpu(es->s_blocks_count)) { in ext2_free_blocks()
504 block_group = (block - le32_to_cpu(es->s_first_data_block)) / in ext2_free_blocks()
506 bit = (block - le32_to_cpu(es->s_first_data_block)) % in ext2_free_blocks()
525 if (in_range (le32_to_cpu(desc->bg_block_bitmap), block, count) || in ext2_free_blocks()
526 in_range (le32_to_cpu(desc->bg_inode_bitmap), block, count) || in ext2_free_blocks()
527 in_range (block, le32_to_cpu(desc->bg_inode_table), in ext2_free_blocks()
529 in_range (block + count - 1, le32_to_cpu(desc->bg_inode_table), in ext2_free_blocks()
1186 root_blocks = le32_to_cpu(sbi->s_es->s_r_blocks_count); in ext2_has_free_blocks()
1272 if (goal < le32_to_cpu(es->s_first_data_block) || in ext2_new_blocks()
1273 goal >= le32_to_cpu(es->s_blocks_count)) in ext2_new_blocks()
1274 goal = le32_to_cpu(es->s_first_data_block); in ext2_new_blocks()
1275 group_no = (goal - le32_to_cpu(es->s_first_data_block)) / in ext2_new_blocks()
1294 grp_target_blk = ((goal - le32_to_cpu(es->s_first_data_block)) % in ext2_new_blocks()
1372 if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) || in ext2_new_blocks()
1373 in_range(le32_to_cpu(gdp->bg_inode_bitmap), ret_block, num) || in ext2_new_blocks()
1374 in_range(ret_block, le32_to_cpu(gdp->bg_inode_table), in ext2_new_blocks()
1376 in_range(ret_block + num - 1, le32_to_cpu(gdp->bg_inode_table), in ext2_new_blocks()
1392 if (ret_block + num - 1 >= le32_to_cpu(es->s_blocks_count)) { in ext2_new_blocks()
1396 le32_to_cpu(es->s_blocks_count), group_no, es); in ext2_new_blocks()
1476 (long)le32_to_cpu(es->s_free_blocks_count), in ext2_count_free_blocks()