Home
last modified time | relevance | path

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

/external/e2fsprogs/debugfs/
Dset_fields.c45 static struct ext2_super_block set_sb; variable
88 { "inodes_count", &set_sb.s_inodes_count, NULL, 4, parse_uint },
89 { "blocks_count", &set_sb.s_blocks_count, &set_sb.s_blocks_count_hi,
91 { "r_blocks_count", &set_sb.s_r_blocks_count,
92 &set_sb.s_r_blocks_count_hi, 4, parse_uint },
93 { "free_blocks_count", &set_sb.s_free_blocks_count,
94 &set_sb.s_free_blocks_hi, 4, parse_uint },
95 { "free_inodes_count", &set_sb.s_free_inodes_count, NULL, 4, parse_uint },
96 { "first_data_block", &set_sb.s_first_data_block, NULL, 4, parse_uint },
97 { "log_block_size", &set_sb.s_log_block_size, NULL, 4, parse_uint },
[all …]
/external/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.c691 set_sb(crc, new_crc); in update_superblock()
775 set_sb(segment_count, (main_end_blkaddr - in sanity_check_area_boundary()
1345 set_sb(cp_payload, cp_pack_start_sum - 1); in sanity_check_ckpt()
3222 set_sb(log_sectorsize, log_sectorsize); in check_sector_size()
3223 set_sb(log_sectors_per_block, log_sectors_per_block); in check_sector_size()
/external/f2fs-tools/mkfs/
Df2fs_format.c135 set_sb(extension_count, 0); in cure_extension_list()
148 set_sb(extension_count, pos); in cure_extension_list()
172 set_sb(extension_count, pos); in cure_extension_list()
219 set_sb(magic, F2FS_SUPER_MAGIC); in f2fs_prepare_super_block()
220 set_sb(major_ver, F2FS_MAJOR_VERSION); in f2fs_prepare_super_block()
221 set_sb(minor_ver, F2FS_MINOR_VERSION); in f2fs_prepare_super_block()
228 set_sb(log_sectorsize, log_sectorsize); in f2fs_prepare_super_block()
229 set_sb(log_sectors_per_block, log_sectors_per_block); in f2fs_prepare_super_block()
231 set_sb(log_blocksize, log_blocksize); in f2fs_prepare_super_block()
232 set_sb(log_blocks_per_seg, log_blks_per_seg); in f2fs_prepare_super_block()
[all …]
/external/f2fs-tools/include/
Df2fs_fs.h563 #define set_sb(member, val) \ macro