Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ubifs_debug_info Struct Reference

#include <debug.h>

Data Fields

struct ubifs_zbranch old_zroot
 
int old_zroot_level
 
unsigned long long old_zroot_sqnum
 
int pc_happened
 
int pc_delay
 
unsigned long pc_timeout
 
unsigned int pc_cnt
 
unsigned int pc_cnt_max
 
long long chk_lpt_sz
 
long long chk_lpt_sz2
 
long long chk_lpt_wastage
 
int chk_lpt_lebs
 
int new_nhead_offs
 
int new_ihead_lnum
 
int new_ihead_offs
 
struct ubifs_lp_stats saved_lst
 
struct ubifs_budg_info saved_bi
 
long long saved_free
 
int saved_idx_gc_cnt
 
unsigned int chk_gen:1
 
unsigned int chk_index:1
 
unsigned int chk_orph:1
 
unsigned int chk_lprops:1
 
unsigned int chk_fs:1
 
unsigned int tst_rcvry:1
 
char dfs_dir_name [UBIFS_DFS_DIR_LEN+1]
 
struct dentrydfs_dir
 
struct dentrydfs_dump_lprops
 
struct dentrydfs_dump_budg
 
struct dentrydfs_dump_tnc
 
struct dentrydfs_chk_gen
 
struct dentrydfs_chk_index
 
struct dentrydfs_chk_orph
 
struct dentrydfs_chk_lprops
 
struct dentrydfs_chk_fs
 
struct dentrydfs_tst_rcvry
 
struct dentrydfs_ro_error
 

Detailed Description

ubifs_debug_info - per-FS debugging information. : old index root - used by 'dbg_check_old_index()' : old index root level - used by 'dbg_check_old_index()' : old index root sqnum - used by 'dbg_check_old_index()'

: non-zero if an emulated power cut happened : 0=>don't delay, 1=>delay a time, 2=>delay a number of calls : time in jiffies when delay of failure mode expires : current number of calls to failure mode I/O functions : number of calls by which to delay failure mode

: used by LPT tree size checker : used by LPT tree size checker : used by LPT tree size checker : used by LPT tree size checker : used by LPT tree size checker : used by debugging to check ->ihead_lnum : used by debugging to check ->ihead_offs

: saved lprops statistics (used by 'dbg_save_space_info()') : saved budgeting information : saved amount of free space : saved value of ->idx_gc_cnt

: if general extra checks are enabled : if index xtra checks are enabled : if orphans extra checks are enabled : if lprops extra checks are enabled : if UBIFS contents extra checks are enabled : if UBIFS recovery testing mode enabled

: name of debugfs directory containing this file-system's files : direntry object of the file-system debugfs directory : "dump lprops" debugfs knob : "dump budgeting information" debugfs knob : "dump TNC" debugfs knob : debugfs knob to enable UBIFS general extra checks : debugfs knob to enable UBIFS index extra checks : debugfs knob to enable UBIFS orphans extra checks : debugfs knob to enable UBIFS LEP properties extra checks : debugfs knob to enable UBIFS contents extra checks : debugfs knob to enable UBIFS recovery testing : debugfs knob to switch UBIFS to R/O mode (different to re-mounting to R/O mode because it does not flush any buffers and UBIFS just starts returning -EROFS on all write operations)

Definition at line 87 of file debug.h.

Field Documentation

unsigned int chk_fs

Definition at line 115 of file debug.h.

unsigned int chk_gen

Definition at line 111 of file debug.h.

unsigned int chk_index

Definition at line 112 of file debug.h.

unsigned int chk_lprops

Definition at line 114 of file debug.h.

int chk_lpt_lebs

Definition at line 101 of file debug.h.

long long chk_lpt_sz

Definition at line 98 of file debug.h.

long long chk_lpt_sz2

Definition at line 99 of file debug.h.

long long chk_lpt_wastage

Definition at line 100 of file debug.h.

unsigned int chk_orph

Definition at line 113 of file debug.h.

struct dentry* dfs_chk_fs

Definition at line 127 of file debug.h.

struct dentry* dfs_chk_gen

Definition at line 123 of file debug.h.

struct dentry* dfs_chk_index

Definition at line 124 of file debug.h.

struct dentry* dfs_chk_lprops

Definition at line 126 of file debug.h.

struct dentry* dfs_chk_orph

Definition at line 125 of file debug.h.

struct dentry* dfs_dir

Definition at line 119 of file debug.h.

char dfs_dir_name[UBIFS_DFS_DIR_LEN+1]

Definition at line 118 of file debug.h.

struct dentry* dfs_dump_budg

Definition at line 121 of file debug.h.

struct dentry* dfs_dump_lprops

Definition at line 120 of file debug.h.

struct dentry* dfs_dump_tnc

Definition at line 122 of file debug.h.

struct dentry* dfs_ro_error

Definition at line 129 of file debug.h.

struct dentry* dfs_tst_rcvry

Definition at line 128 of file debug.h.

int new_ihead_lnum

Definition at line 103 of file debug.h.

int new_ihead_offs

Definition at line 104 of file debug.h.

int new_nhead_offs

Definition at line 102 of file debug.h.

struct ubifs_zbranch old_zroot

Definition at line 88 of file debug.h.

int old_zroot_level

Definition at line 89 of file debug.h.

unsigned long long old_zroot_sqnum

Definition at line 90 of file debug.h.

unsigned int pc_cnt

Definition at line 95 of file debug.h.

unsigned int pc_cnt_max

Definition at line 96 of file debug.h.

int pc_delay

Definition at line 93 of file debug.h.

int pc_happened

Definition at line 92 of file debug.h.

unsigned long pc_timeout

Definition at line 94 of file debug.h.

Definition at line 107 of file debug.h.

long long saved_free

Definition at line 108 of file debug.h.

int saved_idx_gc_cnt

Definition at line 109 of file debug.h.

Definition at line 106 of file debug.h.

unsigned int tst_rcvry

Definition at line 116 of file debug.h.


The documentation for this struct was generated from the following file: