Lines Matching refs:cur_page
886 struct page *cp1, *cp2, *cur_page; in f2fs_get_valid_checkpoint() local
913 cur_page = cp2; in f2fs_get_valid_checkpoint()
915 cur_page = cp1; in f2fs_get_valid_checkpoint()
917 cur_page = cp1; in f2fs_get_valid_checkpoint()
919 cur_page = cp2; in f2fs_get_valid_checkpoint()
925 cp_block = (struct f2fs_checkpoint *)page_address(cur_page); in f2fs_get_valid_checkpoint()
928 if (cur_page == cp1) in f2fs_get_valid_checkpoint()
943 if (cur_page == cp2) in f2fs_get_valid_checkpoint()
950 cur_page = f2fs_get_meta_page(sbi, cp_blk_no + i); in f2fs_get_valid_checkpoint()
951 if (IS_ERR(cur_page)) { in f2fs_get_valid_checkpoint()
952 err = PTR_ERR(cur_page); in f2fs_get_valid_checkpoint()
955 sit_bitmap_ptr = page_address(cur_page); in f2fs_get_valid_checkpoint()
957 f2fs_put_page(cur_page, 1); in f2fs_get_valid_checkpoint()