Searched refs:cur_cp (Results 1 – 4 of 4) sorted by relevance
/third_party/f2fs-tools/fsck/ |
D | f2fs.h | 255 int cur_cp; member 407 if (sbi->cur_cp == 2) in __start_cp_addr()
|
D | mount.c | 1242 sbi->cur_cp = 2; in get_valid_checkpoint() 1246 sbi->cur_cp = 1; in get_valid_checkpoint() 1251 sbi->cur_cp = 1; in get_valid_checkpoint() 1255 sbi->cur_cp = 2; in get_valid_checkpoint() 1652 blkaddr = get_sb(segment0_blkaddr) + (sbi->cur_cp << in check_nat_bits() 3020 if (sbi->cur_cp == 1) { in duplicate_checkpoint() 3094 if (sbi->cur_cp == 2) in write_checkpoint() 3124 write_nat_bits(sbi, sb, cp, sbi->cur_cp); in write_checkpoint() 3144 sbi->cur_cp = 1; in write_checkpoints() 3684 write_nat_bits(sbi, sb, cp, sbi->cur_cp); in f2fs_do_mount()
|
D | resize.c | 543 if (sbi->cur_cp == 2) in rebuild_checkpoint() 582 write_nat_bits(sbi, new_sb, new_cp, sbi->cur_cp == 1 ? 2 : 1); in rebuild_checkpoint()
|
D | fsck.c | 2358 if (sbi->cur_cp == 2) in fix_checkpoint() 2384 write_nat_bits(sbi, sb, cp, sbi->cur_cp); in fix_checkpoint() 2402 sbi->cur_cp = 1; in fix_checkpoints()
|