Searched refs:cmt_state (Results 1 – 7 of 7) sorted by relevance
219 c->cmt_state = COMMIT_RESTING; in do_commit()230 c->cmt_state = COMMIT_BROKEN; in do_commit()251 if (c->cmt_state != COMMIT_BACKGROUND && in run_bg_commit()252 c->cmt_state != COMMIT_REQUIRED) in run_bg_commit()258 if (c->cmt_state == COMMIT_REQUIRED) in run_bg_commit()259 c->cmt_state = COMMIT_RUNNING_REQUIRED; in run_bg_commit()260 else if (c->cmt_state == COMMIT_BACKGROUND) in run_bg_commit()261 c->cmt_state = COMMIT_RUNNING_BACKGROUND; in run_bg_commit()341 switch (c->cmt_state) { in ubifs_commit_required()344 dbg_cmt("old: %s, new: %s", dbg_cstate(c->cmt_state), in ubifs_commit_required()[all …]
251 if (!dirty_zn_cnt || c->cmt_state == COMMIT_BROKEN || in kick_a_thread()257 if (c->cmt_state != COMMIT_RESTING) { in kick_a_thread()
248 const char *dbg_cstate(int cmt_state);
186 const char *dbg_cstate(int cmt_state) in dbg_cstate() argument188 switch (cmt_state) { in dbg_cstate()631 pr_err("\tcommit state %d\n", c->cmt_state); in ubifs_dump_budg()2533 } else if (c->cmt_state == COMMIT_RUNNING_BACKGROUND || in power_cut_emulated()2534 c->cmt_state == COMMIT_RUNNING_REQUIRED) { in power_cut_emulated()
230 c->cmt_state == COMMIT_RESTING) { in ubifs_add_bud_to_log()
1246 int cmt_state; member
2863 ubifs_assert(c->cmt_state == COMMIT_BROKEN); in tnc_destroy_cnext()