Home
last modified time | relevance | path

Searched refs:segment_count_nat (Results 1 – 6 of 6) sorted by relevance

/third_party/f2fs-tools/fsck/
Dresize.c58 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 …]
Dmount.c405 DISP_u32(sb, segment_count_nat); in print_raw_sb_info()
709 u32 segment_count_nat = get_sb(segment_count_nat); in sanity_check_area_boundary() local
741 if (nat_blkaddr + (segment_count_nat << log_blocks_per_seg) != in sanity_check_area_boundary()
745 segment_count_nat << log_blocks_per_seg); in sanity_check_area_boundary()
1001 sbi->total_node_count = (get_sb(segment_count_nat) / 2) * in init_sb_info()
1245 nat_segs = get_sb(segment_count_nat); in sanity_check_ckpt()
1279 get_sb(segment_count_nat) + in sanity_check_ckpt()
1456 nat_bits_bytes = get_sb(segment_count_nat) << 5; in update_nat_bits_flags()
1473 u_int32_t nat_blocks = get_sb(segment_count_nat) << in write_nat_bits()
1546 u_int32_t nat_blocks = get_sb(segment_count_nat) << in check_nat_bits()
[all …]
Df2fs.h502 le32_to_cpu(F2FS_RAW_SUPER(sbi)->segment_count_nat) in IS_VALID_NID()
/third_party/f2fs-tools/mkfs/
Df2fs_format.c326 set_sb(segment_count_nat, nat_segments ? nat_segments : 1); in f2fs_prepare_super_block()
327 max_nat_bitmap_size = (get_sb(segment_count_nat) << 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()
375 if (get_sb(segment_count_nat) > max_nat_segments) 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()
387 get_sb(segment_count_nat))) * in f2fs_prepare_super_block()
397 get_sb(segment_count_nat) + in f2fs_prepare_super_block()
[all …]
/third_party/e2fsprogs/lib/blkid/
Dprobe.h750 __u32 segment_count_nat; /* # of segments for NAT */ member
/third_party/f2fs-tools/include/
Df2fs_fs.h651 __le32 segment_count_nat; /* # of segments for NAT */ member