Lines Matching refs:le32_to_cpu
160 le32_to_cpu(super_block.segment0_blkaddr));
166 le32_to_cpu(super_block.segment0_blkaddr) +
167 (le32_to_cpu(super_block.segment_count_ckpt) *
170 blocks_for_sit = (le32_to_cpu(super_block.segment_count) +
179 le32_to_cpu(super_block.sit_blkaddr) +
180 (le32_to_cpu(super_block.segment_count_sit) *
183 total_valid_blks_available = (le32_to_cpu(super_block.segment_count) -
184 (le32_to_cpu(super_block.segment_count_ckpt) +
185 le32_to_cpu(super_block.segment_count_sit))) *
199 sit_bitmap_size = ((le32_to_cpu(super_block.segment_count_sit) / 2) <<
223 if (le32_to_cpu(super_block.segment_count_nat) > max_nat_segments)
227 le32_to_cpu(super_block.segment_count_nat) * 2);
230 le32_to_cpu(super_block.nat_blkaddr) +
231 le32_to_cpu(super_block.segment_count_nat) *
234 total_valid_blks_available = (le32_to_cpu(super_block.segment_count) -
235 (le32_to_cpu(super_block.segment_count_ckpt) +
236 le32_to_cpu(super_block.segment_count_sit) +
237 le32_to_cpu(super_block.segment_count_nat))) *
247 total_meta_segments = le32_to_cpu(super_block.segment_count_ckpt) +
248 le32_to_cpu(super_block.segment_count_sit) +
249 le32_to_cpu(super_block.segment_count_nat) +
250 le32_to_cpu(super_block.segment_count_ssa);
255 le32_to_cpu(super_block.segment_count_ssa) +
260 le32_to_cpu(super_block.ssa_blkaddr) +
261 (le32_to_cpu(super_block.segment_count_ssa) *
265 le32_to_cpu(super_block.segment_count) -
266 (le32_to_cpu(super_block.segment_count_ckpt)
267 + le32_to_cpu(super_block.segment_count_sit) +
268 le32_to_cpu(super_block.segment_count_nat) +
269 le32_to_cpu(super_block.segment_count_ssa)));
272 le32_to_cpu(super_block.segment_count_main)
276 le32_to_cpu(super_block.section_count) *
279 if ((le32_to_cpu(super_block.segment_count_main) - 2) <
284 (le32_to_cpu(super_block.segment_count_main) - 2));
296 total_zones = le32_to_cpu(super_block.segment_count_main) /
363 blk_size = 1 << le32_to_cpu(super_block.log_blocksize);
364 seg_size = (1 << le32_to_cpu(super_block.log_blocks_per_seg)) *
373 sit_seg_addr = le32_to_cpu(super_block.sit_blkaddr);
378 index < (le32_to_cpu(super_block.segment_count_sit) / 2);
399 blk_size = 1 << le32_to_cpu(super_block.log_blocksize);
400 seg_size = (1 << le32_to_cpu(super_block.log_blocks_per_seg)) *
409 nat_seg_addr = le32_to_cpu(super_block.nat_blkaddr);
414 index < (le32_to_cpu(super_block.segment_count_nat) / 2);
480 (le32_to_cpu(super_block.segment_count_main) -
481 le32_to_cpu(ckp->rsvd_segment_count)) *
484 le32_to_cpu(ckp->overprov_segment_count) +
485 le32_to_cpu(ckp->rsvd_segment_count));
489 le32_to_cpu(super_block.segment_count_main) - 6);
491 ((le32_to_cpu(ckp->free_segment_count) + 6 -
492 le32_to_cpu(ckp->overprov_segment_count)) *
495 cpu_to_le32(8 + le32_to_cpu(super_block.cp_payload));
497 ckp->cp_pack_start_sum = cpu_to_le32(1 + le32_to_cpu(super_block.cp_payload));
501 le32_to_cpu(super_block.root_ino) + 1);
503 ((le32_to_cpu(super_block.segment_count_sit) / 2) <<
504 le32_to_cpu(super_block.log_blocks_per_seg)) / 8);
507 ((le32_to_cpu(super_block.segment_count_nat) / 2) <<
508 le32_to_cpu(super_block.log_blocks_per_seg)) / 8);
516 blk_size_bytes = 1 << le32_to_cpu(super_block.log_blocksize);
517 cp_seg_blk_offset = le32_to_cpu(super_block.segment0_blkaddr);
526 for (i = 0; i < le32_to_cpu(super_block.cp_payload); i++) {
641 cp_seg_blk_offset = (le32_to_cpu(super_block.segment0_blkaddr) +
650 for (i = 0; i < le32_to_cpu(super_block.cp_payload); i++) {
660 cp_seg_blk_offset += blk_size_bytes * (le32_to_cpu(ckp->cp_pack_total_block_count)
661 - le32_to_cpu(super_block.cp_payload) - 1);
712 le32_to_cpu(super_block.main_blkaddr) +
721 blk_size_bytes = 1 << le32_to_cpu(super_block.log_blocksize);
737 data_blk_nor = le32_to_cpu(super_block.main_blkaddr) +
745 main_area_node_seg_blk_offset = le32_to_cpu(super_block.main_blkaddr);
759 main_area_node_seg_blk_offset = le32_to_cpu(super_block.main_blkaddr);
785 nat_blk->entries[le32_to_cpu(super_block.root_ino)].block_addr = cpu_to_le32(
786 le32_to_cpu(super_block.main_blkaddr) +
788 nat_blk->entries[le32_to_cpu(super_block.root_ino)].ino = super_block.root_ino;
791 nat_blk->entries[le32_to_cpu(super_block.node_ino)].block_addr = cpu_to_le32(1);
792 nat_blk->entries[le32_to_cpu(super_block.node_ino)].ino = super_block.node_ino;
795 nat_blk->entries[le32_to_cpu(super_block.meta_ino)].block_addr = cpu_to_le32(1);
796 nat_blk->entries[le32_to_cpu(super_block.meta_ino)].ino = super_block.meta_ino;
798 blk_size_bytes = 1 << le32_to_cpu(super_block.log_blocksize);
799 nat_seg_blk_offset = le32_to_cpu(super_block.nat_blkaddr);
837 blk_size_bytes = 1 << le32_to_cpu(super_block.log_blocksize);
838 data_blk_offset = le32_to_cpu(super_block.main_blkaddr);