Home
last modified time | relevance | path

Searched refs:cur_cp (Results 1 – 4 of 4) sorted by relevance

/third_party/f2fs-tools/fsck/
Df2fs.h255 int cur_cp; member
407 if (sbi->cur_cp == 2) in __start_cp_addr()
Dmount.c1272 sbi->cur_cp = 2; in get_valid_checkpoint()
1276 sbi->cur_cp = 1; in get_valid_checkpoint()
1281 sbi->cur_cp = 1; in get_valid_checkpoint()
1285 sbi->cur_cp = 2; in get_valid_checkpoint()
1709 blkaddr = get_sb(segment0_blkaddr) + (sbi->cur_cp << in check_nat_bits()
3085 if (sbi->cur_cp == 1) { in duplicate_checkpoint()
3159 if (sbi->cur_cp == 2) in write_checkpoint()
3189 write_nat_bits(sbi, sb, cp, sbi->cur_cp); in write_checkpoint()
3209 sbi->cur_cp = 1; in write_checkpoints()
3797 write_nat_bits(sbi, sb, cp, sbi->cur_cp); in f2fs_do_mount()
Dresize.c555 if (sbi->cur_cp == 2) in rebuild_checkpoint()
594 write_nat_bits(sbi, new_sb, new_cp, sbi->cur_cp == 1 ? 2 : 1); in rebuild_checkpoint()
Dfsck.c2363 if (sbi->cur_cp == 2) in fix_checkpoint()
2389 write_nat_bits(sbi, sb, cp, sbi->cur_cp); in fix_checkpoint()
2407 sbi->cur_cp = 1; in fix_checkpoints()