Home
last modified time | relevance | path

Searched refs:log_blocks_per_seg (Results 1 – 8 of 8) sorted by relevance

/external/f2fs-tools/fsck/
Dresize.c21 get_sb(log_blocks_per_seg)); in get_new_sb()
22 u_int32_t blks_per_seg = 1 << get_sb(log_blocks_per_seg); in get_new_sb()
52 get_sb(log_blocks_per_seg)) / 8; in get_new_sb()
73 get_sb(log_blocks_per_seg); in get_new_sb()
263 nat_blocks = nat_blocks << get_sb(log_blocks_per_seg); in shrink_nats()
268 seg_off = block_off >> sbi->log_blocks_per_seg; in shrink_nats()
270 (seg_off << sbi->log_blocks_per_seg << 1) + in shrink_nats()
271 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in shrink_nats()
311 seg_off = block_off >> sbi->log_blocks_per_seg; in migrate_nat()
313 (seg_off << sbi->log_blocks_per_seg << 1) + in migrate_nat()
[all …]
Dmount.c160 DISP_u32(sb, log_blocks_per_seg); in print_raw_sb_info()
306 u32 log_blocks_per_seg = get_sb(log_blocks_per_seg); in sanity_check_area_boundary() local
308 (segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
310 (segment_count << log_blocks_per_seg); in sanity_check_area_boundary()
318 if (cp_blkaddr + (segment_count_ckpt << log_blocks_per_seg) != in sanity_check_area_boundary()
322 segment_count_ckpt << log_blocks_per_seg); in sanity_check_area_boundary()
326 if (sit_blkaddr + (segment_count_sit << log_blocks_per_seg) != in sanity_check_area_boundary()
330 segment_count_sit << log_blocks_per_seg); in sanity_check_area_boundary()
334 if (nat_blkaddr + (segment_count_nat << log_blocks_per_seg) != in sanity_check_area_boundary()
338 segment_count_nat << log_blocks_per_seg); in sanity_check_area_boundary()
[all …]
Df2fs.h183 unsigned int log_blocks_per_seg; /* log2 blocks per segment */ member
317 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) >> sbi->log_blocks_per_seg)
327 ((segno) << sbi->log_blocks_per_seg))
363 << (sbi->log_blocks_per_seg - 1))); in IS_VALID_NID()
411 >> sbi->log_blocks_per_seg); in GET_SEGNO()
417 % (1 << sbi->log_blocks_per_seg)); in OFFSET_IN_SEG()
Ddump.c45 (sbi->log_blocks_per_seg - 1); in nat_dump()
52 seg_off = block_off >> sbi->log_blocks_per_seg; in nat_dump()
54 (seg_off << sbi->log_blocks_per_seg << 1) + in nat_dump()
55 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in nat_dump()
Dfsck.c1655 fsck->nr_main_blks = sm_i->main_segments << sbi->log_blocks_per_seg; in fsck_init()
1770 cp_blk_no += 1 << get_sb(log_blocks_per_seg); in fix_checkpoint()
/external/f2fs-tools/mkfs/
Df2fs_format.c167 set_sb(log_blocks_per_seg, log_blks_per_seg); in f2fs_prepare_super_block()
435 seg_size = (1 << get_sb(log_blocks_per_seg)) * blk_size; in f2fs_init_sit_area()
469 seg_size = (1 << get_sb(log_blocks_per_seg)) * blk_size; in f2fs_init_nat_area()
580 (1 << get_sb(log_blocks_per_seg)) - nat_bits_blocks) in f2fs_write_check_point_pack()
592 get_sb(log_blocks_per_seg)) / 8); in f2fs_write_check_point_pack()
595 get_sb(log_blocks_per_seg)) / 8); in f2fs_write_check_point_pack()
760 get_sb(log_blocks_per_seg)) - nat_bits_blocks; in f2fs_write_check_point_pack()
/external/e2fsprogs/lib/blkid/
Dprobe.h741 __u32 log_blocks_per_seg; /* log2 # of blocks per segment */ member
/external/f2fs-tools/include/
Df2fs_fs.h483 __le32 log_blocks_per_seg; /* log2 # of blocks per segment */ member