Lines Matching refs:set_sb
145 set_sb(extension_count, 0); in cure_extension_list()
158 set_sb(extension_count, pos); in cure_extension_list()
182 set_sb(extension_count, pos); in cure_extension_list()
229 set_sb(magic, F2FS_SUPER_MAGIC); in f2fs_prepare_super_block()
230 set_sb(major_ver, F2FS_MAJOR_VERSION); in f2fs_prepare_super_block()
231 set_sb(minor_ver, F2FS_MINOR_VERSION); in f2fs_prepare_super_block()
238 set_sb(log_sectorsize, log_sectorsize); in f2fs_prepare_super_block()
239 set_sb(log_sectors_per_block, log_sectors_per_block); in f2fs_prepare_super_block()
241 set_sb(log_blocksize, log_blocksize); in f2fs_prepare_super_block()
242 set_sb(log_blocks_per_seg, log_blks_per_seg); in f2fs_prepare_super_block()
244 set_sb(segs_per_sec, c.segs_per_sec); in f2fs_prepare_super_block()
245 set_sb(secs_per_zone, c.secs_per_zone); in f2fs_prepare_super_block()
253 set_sb(checksum_offset, 0); in f2fs_prepare_super_block()
255 set_sb(block_count, c.total_sectors >> log_sectors_per_block); in f2fs_prepare_super_block()
281 set_sb(segment0_blkaddr, zone_align_start_offset / blk_size_bytes); in f2fs_prepare_super_block()
326 set_sb(segment_count, (c.total_segments / c.segs_per_zone * in f2fs_prepare_super_block()
328 set_sb(segment_count_ckpt, F2FS_NUMBER_OF_CHECKPOINT_PACK); in f2fs_prepare_super_block()
330 set_sb(sit_blkaddr, get_sb(segment0_blkaddr) + in f2fs_prepare_super_block()
337 set_sb(segment_count_sit, sit_segments * 2); in f2fs_prepare_super_block()
339 set_sb(nat_blkaddr, get_sb(sit_blkaddr) + get_sb(segment_count_sit) * in f2fs_prepare_super_block()
352 set_sb(segment_count_nat, nat_segments ? nat_segments : 1); in f2fs_prepare_super_block()
355 set_sb(segment_count_nat, get_sb(segment_count_nat) * 2); in f2fs_prepare_super_block()
357 set_sb(segment_count_nat, SEG_ALIGN(blocks_for_nat)); in f2fs_prepare_super_block()
381 set_sb(cp_payload, F2FS_BLK_ALIGN(diff)); in f2fs_prepare_super_block()
383 set_sb(cp_payload, 0); in f2fs_prepare_super_block()
393 set_sb(cp_payload, F2FS_BLK_ALIGN(max_sit_bitmap_size)); in f2fs_prepare_super_block()
397 set_sb(cp_payload, 0); in f2fs_prepare_super_block()
402 set_sb(segment_count_nat, max_nat_segments); in f2fs_prepare_super_block()
404 set_sb(segment_count_nat, get_sb(segment_count_nat) * 2); in f2fs_prepare_super_block()
407 set_sb(ssa_blkaddr, get_sb(nat_blkaddr) + get_sb(segment_count_nat) * in f2fs_prepare_super_block()
422 set_sb(segment_count_ssa, SEG_ALIGN(blocks_for_ssa)); in f2fs_prepare_super_block()
430 set_sb(segment_count_ssa, get_sb(segment_count_ssa) + in f2fs_prepare_super_block()
436 set_sb(main_blkaddr, get_sb(segment0_blkaddr) + total_meta_zones * in f2fs_prepare_super_block()
473 set_sb(section_count, total_zones * c.secs_per_zone); in f2fs_prepare_super_block()
475 set_sb(segment_count_main, get_sb(section_count) * c.segs_per_sec); in f2fs_prepare_super_block()
521 set_sb(node_ino, 1); in f2fs_prepare_super_block()
522 set_sb(meta_ino, 2); in f2fs_prepare_super_block()
523 set_sb(root_ino, 3); in f2fs_prepare_super_block()
602 set_sb(s_encoding, c.s_encoding); in f2fs_prepare_super_block()
603 set_sb(s_encoding_flags, c.s_encoding_flags); in f2fs_prepare_super_block()
609 set_sb(checksum_offset, SB_CHKSUM_OFFSET); in f2fs_prepare_super_block()
610 set_sb(crc, f2fs_cal_crc32(F2FS_SUPER_MAGIC, sb, in f2fs_prepare_super_block()