Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Df2fs.h168 int cur_cp; member
294 if (sbi->cur_cp == 2) in __start_cp_addr()
Dmount.c868 sbi->cur_cp = 2; in get_valid_checkpoint()
872 sbi->cur_cp = 1; in get_valid_checkpoint()
877 sbi->cur_cp = 1; in get_valid_checkpoint()
881 sbi->cur_cp = 2; in get_valid_checkpoint()
1212 blkaddr = get_sb(segment0_blkaddr) + (sbi->cur_cp << in check_nat_bits()
2380 if (sbi->cur_cp == 2) in write_checkpoint()
2408 write_nat_bits(sbi, sb, cp, sbi->cur_cp); in write_checkpoint()
2676 write_nat_bits(sbi, sb, cp, sbi->cur_cp); in f2fs_do_mount()
Dresize.c529 if (sbi->cur_cp == 2) in rebuild_checkpoint()
568 write_nat_bits(sbi, new_sb, new_cp, sbi->cur_cp == 1 ? 2 : 1); in rebuild_checkpoint()
Dfsck.c2063 if (sbi->cur_cp == 2) in fix_checkpoint()
2092 write_nat_bits(sbi, sb, cp, sbi->cur_cp); in fix_checkpoint()