• Home
  • Raw
  • Download

Lines Matching refs:set_sb

130 	set_sb(extension_count, 0);  in cure_extension_list()
143 set_sb(extension_count, pos); in cure_extension_list()
167 set_sb(extension_count, pos); in cure_extension_list()
214 set_sb(magic, F2FS_SUPER_MAGIC); in f2fs_prepare_super_block()
215 set_sb(major_ver, F2FS_MAJOR_VERSION); in f2fs_prepare_super_block()
216 set_sb(minor_ver, F2FS_MINOR_VERSION); in f2fs_prepare_super_block()
223 set_sb(log_sectorsize, log_sectorsize); in f2fs_prepare_super_block()
224 set_sb(log_sectors_per_block, log_sectors_per_block); in f2fs_prepare_super_block()
226 set_sb(log_blocksize, log_blocksize); in f2fs_prepare_super_block()
227 set_sb(log_blocks_per_seg, log_blks_per_seg); in f2fs_prepare_super_block()
229 set_sb(segs_per_sec, c.segs_per_sec); in f2fs_prepare_super_block()
230 set_sb(secs_per_zone, c.secs_per_zone); in f2fs_prepare_super_block()
238 set_sb(checksum_offset, 0); in f2fs_prepare_super_block()
240 set_sb(block_count, c.total_sectors >> log_sectors_per_block); in f2fs_prepare_super_block()
259 set_sb(segment0_blkaddr, zone_align_start_offset / blk_size_bytes); in f2fs_prepare_super_block()
300 set_sb(segment_count, (c.total_segments / c.segs_per_zone * in f2fs_prepare_super_block()
302 set_sb(segment_count_ckpt, F2FS_NUMBER_OF_CHECKPOINT_PACK); in f2fs_prepare_super_block()
304 set_sb(sit_blkaddr, get_sb(segment0_blkaddr) + in f2fs_prepare_super_block()
311 set_sb(segment_count_sit, sit_segments * 2); in f2fs_prepare_super_block()
313 set_sb(nat_blkaddr, get_sb(sit_blkaddr) + get_sb(segment_count_sit) * in f2fs_prepare_super_block()
326 set_sb(segment_count_nat, nat_segments ? nat_segments : 1); in f2fs_prepare_super_block()
329 set_sb(segment_count_nat, get_sb(segment_count_nat) * 2); in f2fs_prepare_super_block()
331 set_sb(segment_count_nat, SEG_ALIGN(blocks_for_nat)); in f2fs_prepare_super_block()
355 set_sb(cp_payload, F2FS_BLK_ALIGN(diff)); in f2fs_prepare_super_block()
357 set_sb(cp_payload, 0); in f2fs_prepare_super_block()
367 set_sb(cp_payload, F2FS_BLK_ALIGN(max_sit_bitmap_size)); in f2fs_prepare_super_block()
371 set_sb(cp_payload, 0); in f2fs_prepare_super_block()
376 set_sb(segment_count_nat, max_nat_segments); in f2fs_prepare_super_block()
378 set_sb(segment_count_nat, get_sb(segment_count_nat) * 2); in f2fs_prepare_super_block()
381 set_sb(ssa_blkaddr, get_sb(nat_blkaddr) + get_sb(segment_count_nat) * in f2fs_prepare_super_block()
393 set_sb(segment_count_ssa, SEG_ALIGN(blocks_for_ssa)); in f2fs_prepare_super_block()
401 set_sb(segment_count_ssa, get_sb(segment_count_ssa) + in f2fs_prepare_super_block()
407 set_sb(main_blkaddr, get_sb(segment0_blkaddr) + total_meta_zones * in f2fs_prepare_super_block()
429 set_sb(section_count, total_zones * c.secs_per_zone); in f2fs_prepare_super_block()
431 set_sb(segment_count_main, get_sb(section_count) * c.segs_per_sec); in f2fs_prepare_super_block()
471 set_sb(node_ino, 1); in f2fs_prepare_super_block()
472 set_sb(meta_ino, 2); in f2fs_prepare_super_block()
473 set_sb(root_ino, 3); in f2fs_prepare_super_block()
538 set_sb(s_encoding, c.s_encoding); in f2fs_prepare_super_block()
539 set_sb(s_encoding_flags, c.s_encoding_flags); in f2fs_prepare_super_block()
545 set_sb(checksum_offset, SB_CHKSUM_OFFSET); in f2fs_prepare_super_block()
546 set_sb(crc, f2fs_cal_crc32(F2FS_SUPER_MAGIC, sb, in f2fs_prepare_super_block()