Home
last modified time | relevance | path

Searched refs:cmt_state (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/fs/ubifs/
Dcommit.c207 c->cmt_state = COMMIT_RESTING; in do_commit()
218 c->cmt_state = COMMIT_BROKEN; in do_commit()
239 if (c->cmt_state != COMMIT_BACKGROUND && in run_bg_commit()
240 c->cmt_state != COMMIT_REQUIRED) in run_bg_commit()
246 if (c->cmt_state == COMMIT_REQUIRED) in run_bg_commit()
247 c->cmt_state = COMMIT_RUNNING_REQUIRED; in run_bg_commit()
248 else if (c->cmt_state == COMMIT_BACKGROUND) in run_bg_commit()
249 c->cmt_state = COMMIT_RUNNING_BACKGROUND; in run_bg_commit()
329 switch (c->cmt_state) { in ubifs_commit_required()
332 dbg_cmt("old: %s, new: %s", dbg_cstate(c->cmt_state), in ubifs_commit_required()
[all …]
Dshrinker.c239 if (!dirty_zn_cnt || c->cmt_state == COMMIT_BROKEN || in kick_a_thread()
245 if (c->cmt_state != COMMIT_RESTING) { in kick_a_thread()
Ddebug.h238 const char *dbg_cstate(int cmt_state);
Ddebug.c177 const char *dbg_cstate(int cmt_state) in dbg_cstate() argument
179 switch (cmt_state) { in dbg_cstate()
666 pr_err("\tcommit state %d\n", c->cmt_state); in ubifs_dump_budg()
2551 } else if (c->cmt_state == COMMIT_RUNNING_BACKGROUND || in power_cut_emulated()
2552 c->cmt_state == COMMIT_RUNNING_REQUIRED) { in power_cut_emulated()
Dlog.c218 c->cmt_state == COMMIT_RESTING) { in ubifs_add_bud_to_log()
Dubifs.h1285 int cmt_state; member
Dtnc.c3048 ubifs_assert(c, c->cmt_state == COMMIT_BROKEN); in tnc_destroy_cnext()