Lines Matching refs:set_sb

109 	set_sb(extension_count, 0);  in cure_extension_list()
122 set_sb(extension_count, pos); in cure_extension_list()
146 set_sb(extension_count, pos); in cure_extension_list()
193 set_sb(magic, F2FS_SUPER_MAGIC); in f2fs_prepare_super_block()
194 set_sb(major_ver, F2FS_MAJOR_VERSION); in f2fs_prepare_super_block()
195 set_sb(minor_ver, F2FS_MINOR_VERSION); in f2fs_prepare_super_block()
202 set_sb(log_sectorsize, log_sectorsize); in f2fs_prepare_super_block()
203 set_sb(log_sectors_per_block, log_sectors_per_block); in f2fs_prepare_super_block()
205 set_sb(log_blocksize, log_blocksize); in f2fs_prepare_super_block()
206 set_sb(log_blocks_per_seg, log_blks_per_seg); in f2fs_prepare_super_block()
208 set_sb(segs_per_sec, c.segs_per_sec); in f2fs_prepare_super_block()
209 set_sb(secs_per_zone, c.secs_per_zone); in f2fs_prepare_super_block()
217 set_sb(checksum_offset, 0); in f2fs_prepare_super_block()
219 set_sb(block_count, c.total_sectors >> log_sectors_per_block); in f2fs_prepare_super_block()
238 set_sb(segment0_blkaddr, zone_align_start_offset / blk_size_bytes); in f2fs_prepare_super_block()
279 set_sb(segment_count, (c.total_segments / c.segs_per_zone * in f2fs_prepare_super_block()
281 set_sb(segment_count_ckpt, F2FS_NUMBER_OF_CHECKPOINT_PACK); in f2fs_prepare_super_block()
283 set_sb(sit_blkaddr, get_sb(segment0_blkaddr) + in f2fs_prepare_super_block()
290 set_sb(segment_count_sit, sit_segments * 2); in f2fs_prepare_super_block()
292 set_sb(nat_blkaddr, get_sb(sit_blkaddr) + get_sb(segment_count_sit) * in f2fs_prepare_super_block()
305 set_sb(segment_count_nat, nat_segments ? nat_segments : 1); in f2fs_prepare_super_block()
308 set_sb(segment_count_nat, get_sb(segment_count_nat) * 2); in f2fs_prepare_super_block()
310 set_sb(segment_count_nat, SEG_ALIGN(blocks_for_nat)); in f2fs_prepare_super_block()
334 set_sb(cp_payload, F2FS_BLK_ALIGN(diff)); in f2fs_prepare_super_block()
336 set_sb(cp_payload, 0); in f2fs_prepare_super_block()
347 set_sb(cp_payload, F2FS_BLK_ALIGN(max_sit_bitmap_size)); in f2fs_prepare_super_block()
352 set_sb(cp_payload, 0); in f2fs_prepare_super_block()
357 set_sb(segment_count_nat, max_nat_segments); in f2fs_prepare_super_block()
359 set_sb(segment_count_nat, get_sb(segment_count_nat) * 2); in f2fs_prepare_super_block()
362 set_sb(ssa_blkaddr, get_sb(nat_blkaddr) + get_sb(segment_count_nat) * in f2fs_prepare_super_block()
374 set_sb(segment_count_ssa, SEG_ALIGN(blocks_for_ssa)); in f2fs_prepare_super_block()
382 set_sb(segment_count_ssa, get_sb(segment_count_ssa) + in f2fs_prepare_super_block()
388 set_sb(main_blkaddr, get_sb(segment0_blkaddr) + total_meta_zones * in f2fs_prepare_super_block()
410 set_sb(section_count, total_zones * c.secs_per_zone); in f2fs_prepare_super_block()
412 set_sb(segment_count_main, get_sb(section_count) * c.segs_per_sec); in f2fs_prepare_super_block()
439 set_sb(node_ino, 1); in f2fs_prepare_super_block()
440 set_sb(meta_ino, 2); in f2fs_prepare_super_block()
441 set_sb(root_ino, 3); in f2fs_prepare_super_block()
508 set_sb(checksum_offset, SB_CHKSUM_OFFSET); in f2fs_prepare_super_block()
509 set_sb(crc, f2fs_cal_crc32(F2FS_SUPER_MAGIC, sb, in f2fs_prepare_super_block()