Home
last modified time | relevance | path

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

/external/f2fs-tools/mkfs/
Df2fs_format.c338 set_sb(main_blkaddr, get_sb(segment0_blkaddr) + total_meta_zones * in f2fs_prepare_super_block()
346 unsigned long main_blkzone = get_sb(main_blkaddr) / c.zone_blocks; in f2fs_prepare_super_block()
693 get_sb(main_blkaddr) + in f2fs_write_check_point_pack()
703 get_sb(main_blkaddr) + in f2fs_write_check_point_pack()
932 get_sb(log_blocks_per_seg)) + get_sb(main_blkaddr); in discard_obsolete_dnode()
933 u_int64_t start_inode_pos = get_sb(main_blkaddr); in discard_obsolete_dnode()
948 if (offset < get_sb(main_blkaddr) || offset >= end_blkaddr) in discard_obsolete_dnode()
990 get_sb(main_blkaddr) + in f2fs_write_root_inode()
1029 data_blk_nor = get_sb(main_blkaddr) + in f2fs_write_root_inode()
1041 main_area_node_seg_blk_offset = get_sb(main_blkaddr); in f2fs_write_root_inode()
[all …]
/external/f2fs-tools/fsck/
Df2fs.h113 block_t main_blkaddr; member
294 block_t end = SM_I(sbi)->main_blkaddr; in __end_block_addr()
322 GET_SEGNO_FROM_SEG0(sbi, SM_I(sbi)->main_blkaddr)
325 #define START_BLOCK(sbi, segno) (SM_I(sbi)->main_blkaddr + \
368 addr < SM_I(sbi)->main_blkaddr) { in IS_VALID_BLK_ADDR()
394 ASSERT(blk_addr >= SM_I(sbi)->main_blkaddr); in BLKOFF_FROM_MAIN()
395 return blk_addr - SM_I(sbi)->main_blkaddr; in BLKOFF_FROM_MAIN()
Dresize.c102 set_sb(main_blkaddr, get_sb(ssa_blkaddr) + get_sb(segment_count_ssa) * in get_new_sb()
208 block_t end_sum_blkaddr = get_newsb(main_blkaddr); in migrate_ssa()
589 old_main_blkaddr = get_sb(main_blkaddr); in f2fs_resize()
590 new_main_blkaddr = get_newsb(main_blkaddr); in f2fs_resize()
593 get_sb(log_blocks_per_seg)) + get_sb(main_blkaddr); in f2fs_resize()
Dmount.c338 DISP_u32(sb, main_blkaddr); in print_raw_sb_info()
482 u32 main_blkaddr = get_sb(main_blkaddr); in sanity_check_area_boundary() local
490 u64 main_end_blkaddr = main_blkaddr + in sanity_check_area_boundary()
526 main_blkaddr) { in sanity_check_area_boundary()
528 ssa_blkaddr, main_blkaddr, in sanity_check_area_boundary()
535 main_blkaddr, in sanity_check_area_boundary()
549 main_blkaddr, in sanity_check_area_boundary()
1670 sm_info->main_blkaddr = get_sb(main_blkaddr); in build_segment_manager()
1900 get_sb(log_blocks_per_seg)) + get_sb(main_blkaddr); in find_next_free_block()
1905 while (*to >= SM_I(sbi)->main_blkaddr && *to < end_blkaddr) { in find_next_free_block()
Dmain.c606 if (c.defrag_start < SM_I(sbi)->main_blkaddr) in do_defrag()
607 c.defrag_start = SM_I(sbi)->main_blkaddr; in do_defrag()
621 if (c.defrag_target < SM_I(sbi)->main_blkaddr || in do_defrag()
Ddump.c205 sbi->sm_info->main_blkaddr); in ssa_dump()
607 } else if (blk_addr < SM_I(sbi)->main_blkaddr) { in dump_info_from_blkaddr()
617 SM_I(sbi)->main_blkaddr, in dump_info_from_blkaddr()
Dsload.c321 move_curseg_info(sbi, SM_I(sbi)->main_blkaddr); in f2fs_sload()
Dsegment.c35 blkaddr = SM_I(sbi)->main_blkaddr; in reserve_new_block()
Dfsck.c2181 move_curseg_info(sbi, SM_I(sbi)->main_blkaddr); in fsck_verify()
/external/e2fsprogs/lib/blkid/
Dprobe.h758 __u32 main_blkaddr; /* start block address of main area */ member
/external/f2fs-tools/include/
Df2fs_fs.h592 __le32 main_blkaddr; /* start block address of main area */ member