• Home
  • Raw
  • Download

Lines Matching refs:le32_to_cpu

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