Searched refs:segment_count_nat (Results 1 – 5 of 5) sorted by relevance
/third_party/f2fs-tools/fsck/ |
D | resize.c | 58 set_sb(segment_count_nat, nat_segments ? nat_segments : 1); in get_new_sb() 60 max_nat_bitmap_size = (get_sb(segment_count_nat) << 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() 104 if (get_sb(segment_count_nat) > max_nat_segments) in get_new_sb() 105 set_sb(segment_count_nat, max_nat_segments); in get_new_sb() 107 set_sb(segment_count_nat, get_sb(segment_count_nat) * 2); in get_new_sb() 111 get_sb(segment_count_nat) * blks_per_seg); in get_new_sb() 116 get_sb(segment_count_nat))) * blks_per_seg; in get_new_sb() 124 get_sb(segment_count_nat) + in get_new_sb() [all …]
|
D | mount.c | 411 DISP_u32(sb, segment_count_nat); in print_raw_sb_info() 715 u32 segment_count_nat = get_sb(segment_count_nat); in sanity_check_area_boundary() local 747 if (nat_blkaddr + (segment_count_nat << log_blocks_per_seg) != in sanity_check_area_boundary() 751 segment_count_nat << log_blocks_per_seg); in sanity_check_area_boundary() 1085 sbi->total_node_count = (get_sb(segment_count_nat) / 2) * in init_sb_info() 1331 nat_segs = get_sb(segment_count_nat); in sanity_check_ckpt() 1367 get_sb(segment_count_nat) + in sanity_check_ckpt() 1544 nat_bits_bytes = get_sb(segment_count_nat) << 5; in update_nat_bits_flags() 1561 uint32_t nat_blocks = get_sb(segment_count_nat) << in write_nat_bits() 1634 uint32_t nat_blocks = get_sb(segment_count_nat) << in check_nat_bits() [all …]
|
D | f2fs.h | 516 le32_to_cpu(F2FS_RAW_SUPER(sbi)->segment_count_nat) in IS_VALID_NID()
|
/third_party/f2fs-tools/mkfs/ |
D | f2fs_format.c | 352 set_sb(segment_count_nat, nat_segments ? nat_segments : 1); in f2fs_prepare_super_block() 353 max_nat_bitmap_size = (get_sb(segment_count_nat) << 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() 401 if (get_sb(segment_count_nat) > max_nat_segments) 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() 413 get_sb(segment_count_nat))) * in f2fs_prepare_super_block() 426 get_sb(segment_count_nat) + in f2fs_prepare_super_block() [all …]
|
/third_party/f2fs-tools/include/ |
D | f2fs_fs.h | 776 __le32 segment_count_nat; /* # of segments for NAT */ member
|