Lines Matching +full:ubi +full:- +full:volume +full:-

1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2006-2008 Nokia Corporation.
21 * The UBIFS debugfs directory name pattern and maximum name length (3 for "ubi"
22 * + 1 for "_" and 2 for UBI device numbers and 3 for volume number and 1 for
25 #define UBIFS_DFS_DIR_NAME "ubi%d_%d"
29 * ubifs_debug_info - per-FS debugging information.
30 * @old_zroot: old index root - used by 'dbg_check_old_index()'
31 * @old_zroot_level: old index root level - used by 'dbg_check_old_index()'
32 * @old_zroot_sqnum: old index root sqnum - used by 'dbg_check_old_index()'
34 * @pc_happened: non-zero if an emulated power cut happened
45 * @new_ihead_lnum: used by debugging to check @c->ihead_lnum
46 * @new_ihead_offs: used by debugging to check @c->ihead_offs
51 * @saved_idx_gc_cnt: saved value of @c->idx_gc_cnt
60 * @dfs_dir_name: name of debugfs directory containing this file-system's files
61 * @dfs_dir: direntry object of the file-system debugfs directory
72 * re-mounting to R/O mode because it does not flush any buffers
73 * and UBIFS just starts returning -EROFS on all write
122 * ubifs_global_debug_info - global (not per-FS) UBIFS debugging information.
151 if (unlikely(down_write_trylock(&(c)->commit_sem))) { \
152 up_write(&(c)->commit_sem); \
159 pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid, \
165 pr_debug("UBIFS DBG " type " (pid %d): " fmt "%s\n", current->pid, \
207 return !!(ubifs_dbg.chk_gen || c->dbg->chk_gen); in dbg_is_chk_gen()
211 return !!(ubifs_dbg.chk_index || c->dbg->chk_index); in dbg_is_chk_index()
215 return !!(ubifs_dbg.chk_orph || c->dbg->chk_orph); in dbg_is_chk_orph()
219 return !!(ubifs_dbg.chk_lprops || c->dbg->chk_lprops); in dbg_is_chk_lprops()
223 return !!(ubifs_dbg.chk_fs || c->dbg->chk_fs); in dbg_is_chk_fs()
227 return !!(ubifs_dbg.tst_rcvry || c->dbg->tst_rcvry); in dbg_is_tst_rcvry()
231 return !!c->dbg->pc_happened; in dbg_is_power_cut()
299 /* Debugfs-related stuff */