Lines Matching refs:cpc
874 static void do_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc) in do_checkpoint() argument
943 if (__remain_node_summaries(cpc->reason)) in do_checkpoint()
952 if (cpc->reason == CP_UMOUNT) in do_checkpoint()
957 if (cpc->reason == CP_FASTBOOT) in do_checkpoint()
1003 if (__remain_node_summaries(cpc->reason)) { in do_checkpoint()
1046 void write_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc) in write_checkpoint() argument
1054 (cpc->reason == CP_FASTBOOT || cpc->reason == CP_SYNC)) in write_checkpoint()
1061 trace_f2fs_write_checkpoint(sbi->sb, cpc->reason, "start block_ops"); in write_checkpoint()
1066 trace_f2fs_write_checkpoint(sbi->sb, cpc->reason, "finish block_ops"); in write_checkpoint()
1082 flush_sit_entries(sbi, cpc); in write_checkpoint()
1085 do_checkpoint(sbi, cpc); in write_checkpoint()
1090 if (cpc->reason == CP_RECOVERY) in write_checkpoint()
1095 trace_f2fs_write_checkpoint(sbi->sb, cpc->reason, "finish checkpoint"); in write_checkpoint()