Home
last modified time | relevance | path

Searched refs:set_sb (Results 1 – 4 of 4) sorted by relevance

/third_party/f2fs-tools/fsck/
Dresize.c26 set_sb(block_count, c.target_sectors >> in get_new_sb()
36 set_sb(segment_count, (c.target_sectors * c.sector_size - in get_new_sb()
45 set_sb(segment_count_sit, sit_segments * 2); in get_new_sb()
46 set_sb(nat_blkaddr, get_sb(sit_blkaddr) + in get_new_sb()
58 set_sb(segment_count_nat, nat_segments ? nat_segments : 1); in get_new_sb()
62 set_sb(segment_count_nat, get_sb(segment_count_nat) * 2); in get_new_sb()
64 set_sb(segment_count_nat, SEG_ALIGN(blocks_for_nat)); in get_new_sb()
82 set_sb(cp_payload, F2FS_BLK_ALIGN(diff)); in get_new_sb()
84 set_sb(cp_payload, 0); in get_new_sb()
94 set_sb(cp_payload, F2FS_BLK_ALIGN(max_sit_bitmap_size)); in get_new_sb()
[all …]
Dmount.c752 set_sb(crc, new_crc); in update_superblock()
836 set_sb(segment_count, (main_end_blkaddr - in sanity_check_area_boundary()
1028 set_sb(s_encoding, c.s_encoding); in check_and_set_features()
1029 set_sb(s_encoding_flags, c.s_encoding_flags); in check_and_set_features()
1475 set_sb(cp_payload, cp_pack_start_sum - 1); in sanity_check_ckpt()
3360 set_sb(log_sectorsize, log_sectorsize); in check_sector_size()
3361 set_sb(log_sectors_per_block, log_sectors_per_block); in check_sector_size()
/third_party/f2fs-tools/mkfs/
Df2fs_format.c145 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()
[all …]
/third_party/f2fs-tools/include/
Df2fs_fs.h591 #define set_sb(member, val) \ macro