Home
last modified time | relevance | path

Searched refs:main_blkaddr (Results 1 – 11 of 11) sorted by relevance

/external/f2fs-tools/fsck/
Df2fs.h189 block_t main_blkaddr; member
415 block_t end = SM_I(sbi)->main_blkaddr; in __end_block_addr()
431 (SM_I(sbi) ? SM_I(sbi)->main_blkaddr : \
432 le32_to_cpu(F2FS_RAW_SUPER(sbi)->main_blkaddr))
455 GET_SEGNO_FROM_SEG0(sbi, SM_I(sbi)->main_blkaddr)
462 #define START_BLOCK(sbi, segno) (SM_I(sbi)->main_blkaddr + \
522 addr < SM_I(sbi)->main_blkaddr) { in IS_VALID_BLK_ADDR()
545 ASSERT(blk_addr >= SM_I(sbi)->main_blkaddr); in BLKOFF_FROM_MAIN()
546 return blk_addr - SM_I(sbi)->main_blkaddr; in BLKOFF_FROM_MAIN()
Dresize.c132 set_sb(main_blkaddr, get_sb(ssa_blkaddr) + get_sb(segment_count_ssa) * in get_new_sb()
239 block_t end_sum_blkaddr = get_newsb(main_blkaddr); in migrate_ssa()
620 old_main_blkaddr = get_sb(main_blkaddr); in f2fs_resize_grow()
621 new_main_blkaddr = get_newsb(main_blkaddr); in f2fs_resize_grow()
624 get_sb(log_blocks_per_seg)) + get_sb(main_blkaddr); in f2fs_resize_grow()
689 old_main_blkaddr = get_sb(main_blkaddr); in f2fs_resize_shrink()
690 new_main_blkaddr = get_newsb(main_blkaddr); in f2fs_resize_shrink()
693 get_sb(log_blocks_per_seg)) + get_sb(main_blkaddr); in f2fs_resize_shrink()
695 get_newsb(log_blocks_per_seg)) + get_newsb(main_blkaddr); in f2fs_resize_shrink()
Dmount.c38 seg_start_blkaddr = SM_I(sbi)->main_blkaddr + in get_device_idx()
65 unsigned int sec_off = SM_I(sbi)->main_blkaddr >> in is_usable_seg()
420 DISP_u32(sb, main_blkaddr); in print_raw_sb_info()
716 u32 main_blkaddr = get_sb(main_blkaddr); in sanity_check_area_boundary() local
724 u64 main_end_blkaddr = main_blkaddr + in sanity_check_area_boundary()
760 main_blkaddr) { in sanity_check_area_boundary()
762 ssa_blkaddr, main_blkaddr, in sanity_check_area_boundary()
769 main_blkaddr, in sanity_check_area_boundary()
780 main_blkaddr, in sanity_check_area_boundary()
2392 sm_info->main_blkaddr = get_sb(main_blkaddr); in early_build_segment_manager()
[all …]
Ddump.c186 sbi->sm_info->main_blkaddr); in ssa_dump()
712 } else if (blk_addr < SM_I(sbi)->main_blkaddr) { in dump_info_from_blkaddr()
722 SM_I(sbi)->main_blkaddr, in dump_info_from_blkaddr()
Dmain.c925 if (c.defrag_start < SM_I(sbi)->main_blkaddr) in do_defrag()
926 c.defrag_start = SM_I(sbi)->main_blkaddr; in do_defrag()
940 if (c.defrag_target < SM_I(sbi)->main_blkaddr || in do_defrag()
Dsload.c368 move_curseg_info(sbi, SM_I(sbi)->main_blkaddr, 0); in f2fs_sload()
Dsegment.c57 blkaddr = SM_I(sbi)->main_blkaddr; in reserve_new_block()
/external/f2fs-tools/mkfs/
Df2fs_format.c426 set_sb(main_blkaddr, get_sb(segment0_blkaddr) + total_meta_zones * in f2fs_prepare_super_block()
434 unsigned long main_blkzone = get_sb(main_blkaddr) / c.zone_blocks; in f2fs_prepare_super_block()
851 get_sb(main_blkaddr) + in f2fs_write_check_point_pack()
861 get_sb(main_blkaddr) + in f2fs_write_check_point_pack()
872 get_sb(main_blkaddr) + in f2fs_write_check_point_pack()
1138 get_sb(log_blocks_per_seg)) + get_sb(main_blkaddr); in f2fs_discard_obsolete_dnode()
1139 u_int64_t start_inode_pos = get_sb(main_blkaddr); in f2fs_discard_obsolete_dnode()
1152 offset = get_sb(main_blkaddr); in f2fs_discard_obsolete_dnode()
1159 if (offset < get_sb(main_blkaddr) || offset >= end_blkaddr) in f2fs_discard_obsolete_dnode()
1204 get_sb(main_blkaddr) + in f2fs_write_root_inode()
[all …]
/external/f2fs-tools/lib/
Dlibf2fs_zoned.c516 usable_segs -= (get_sb(main_blkaddr) - get_sb(segment0_blkaddr)) >> in f2fs_get_usable_segments()
/external/e2fsprogs/lib/blkid/
Dprobe.h758 __u32 main_blkaddr; /* start block address of main area */ member
/external/f2fs-tools/include/
Df2fs_fs.h758 __le32 main_blkaddr; /* start block address of main area */ member