Lines Matching refs:cp_reason
195 enum cp_reason_type cp_reason = CP_NO_NEEDED; in need_do_checkpoint() local
198 cp_reason = CP_NON_REGULAR; in need_do_checkpoint()
200 cp_reason = CP_COMPRESSED; in need_do_checkpoint()
202 cp_reason = CP_HARDLINK; in need_do_checkpoint()
204 cp_reason = CP_SB_NEED_CP; in need_do_checkpoint()
206 cp_reason = CP_WRONG_PINO; in need_do_checkpoint()
208 cp_reason = CP_NO_SPC_ROLL; in need_do_checkpoint()
210 cp_reason = CP_NODE_NEED_CP; in need_do_checkpoint()
212 cp_reason = CP_FASTBOOT_MODE; in need_do_checkpoint()
214 cp_reason = CP_SPEC_LOG_NUM; in need_do_checkpoint()
219 cp_reason = CP_RECOVER_DIR; in need_do_checkpoint()
221 return cp_reason; in need_do_checkpoint()
256 enum cp_reason_type cp_reason = 0; in f2fs_do_sync_file() local
279 trace_f2fs_sync_file_exit(inode, cp_reason, datasync, ret); in f2fs_do_sync_file()
322 cp_reason = need_do_checkpoint(inode); in f2fs_do_sync_file()
325 if (cp_reason) { in f2fs_do_sync_file()
385 trace_f2fs_sync_file_exit(inode, cp_reason, datasync, ret); in f2fs_do_sync_file()