Home
last modified time | relevance | path

Searched refs:sum_page (Results 1 – 3 of 3) sorted by relevance

/fs/f2fs/
Dgc.c1199 struct page *sum_page; in do_garbage_collect() local
1219 sum_page = f2fs_get_sum_page(sbi, segno++); in do_garbage_collect()
1220 if (IS_ERR(sum_page)) { in do_garbage_collect()
1221 int err = PTR_ERR(sum_page); in do_garbage_collect()
1225 sum_page = find_get_page(META_MAPPING(sbi), in do_garbage_collect()
1227 f2fs_put_page(sum_page, 0); in do_garbage_collect()
1228 f2fs_put_page(sum_page, 0); in do_garbage_collect()
1232 unlock_page(sum_page); in do_garbage_collect()
1240 sum_page = find_get_page(META_MAPPING(sbi), in do_garbage_collect()
1242 f2fs_put_page(sum_page, 0); in do_garbage_collect()
[all …]
Drecovery.c446 struct page *sum_page, *node_page; in check_index_in_prev_nodes() local
467 sum_page = f2fs_get_sum_page(sbi, segno); in check_index_in_prev_nodes()
468 if (IS_ERR(sum_page)) in check_index_in_prev_nodes()
469 return PTR_ERR(sum_page); in check_index_in_prev_nodes()
470 sum_node = (struct f2fs_summary_block *)page_address(sum_page); in check_index_in_prev_nodes()
472 f2fs_put_page(sum_page, 1); in check_index_in_prev_nodes()
Dsegment.c2582 struct page *sum_page; in change_curseg() local
2597 sum_page = f2fs_get_sum_page(sbi, new_segno); in change_curseg()
2598 if (IS_ERR(sum_page)) { in change_curseg()
2603 sum_node = (struct f2fs_summary_block *)page_address(sum_page); in change_curseg()
2605 f2fs_put_page(sum_page, 1); in change_curseg()