Linux Kernel
3.7.1
|
#include <fs.h>
struct ubifs_info - UBIFS file-system description data structure (per-superblock). : VFS : backing device info object to make VFS happy and disable read-ahead
: highest used inode number : current global sequence number : commit number of the last successfully completed commit, protected by : protects and counters : UBIFS on-flash format version : R/O compatibility version : UUID from super block
: log head logical eraseblock number : log head offset : log tail logical eraseblock number (offset is always 0) : protects the log, , , , and : minimum required number of bytes in the log : used during commit to temporarily amount of bytes in committed buds
: tree of all buds indexed by bud LEB number : how many bytes of flash is used by buds : protects the tree, , and per-journal head bud lists : count of journal heads : journal heads (head zero is base head) : maximum number of bytes allowed in buds : number of bud bytes when background commit is initiated : buds to be released after commit ends : maximum number of buds
: synchronizes committer with other processes : commit state : commit state lock : wait queue to sleep on if the log is full and a commit is running
: flag that LPT is too big to write whole during commit : flag indicating that free space in LEBs needs to be cleaned up : do not check CRCs when reading data nodes (except during recovery) : enable bulk-reads : default compression algorithm (UBIFS_COMPR_LZO, etc) : the media is not R/W compatible
: protects the Tree Node Cache (TNC), , , , and : zbranch which points to the root index node and znode : next znode to commit : next znode to commit to empty space : array of LEBs used by the in-gaps commit method : commit buffer : buffer for commit in-the-gaps method : length of data in ileb_buf : LEB number of index head : offset of index head : pre-allocated index LEBs : number of pre-allocated index LEBs : next pre-allocated index LEBs : tree of index nodes obsoleted since the last commit start : a buffer which is used by 'dirty_cow_bottom_up()' in tnc.c
: master node : offset of valid master node : protects the master node area, , and
: maximum bulk-read buffer length : protects the pre-allocated bulk-read buffer and ->bu : pre-allocated bulk-read information
: protects : on the write path we allocate memory, which might sometimes be unavailable, in which case we use this write reserve buffer
: number of logical eraseblocks in the log : log size in bytes : last LEB of the log : number of LEBs used for lprops table : first LEB of the lprops table area : last LEB of the lprops table area : number of LEBs used for the orphan area : first LEB of the orphan area : last LEB of the orphan area : count of LEBs in the main area : first LEB of the main area : main area size in bytes
: type of the key hash : direntry key hash function : key format : key length : fanout of the index tree (number of links per indexing node)
: minimal input/output unit size : number of bits in minus one : maximum amount of bytes the underlying flash can write at a time (MTD write buffer size) : number of bits in minus one : logical eraseblock size in bytes : starting offset of logical eraseblocks within physical eraseblocks : half LEB size : how many bytes of an LEB are effectively available when it is used to store indexing nodes ( - ) : count of logical eraseblocks : maximum count of logical eraseblocks : count of logical eraseblocks before re-size : the underlying UBI volume is read-only : the file-system was mounted as read-only : UBIFS switched to R/O mode because an error happened
: number of dirty pages (not used) : number of dirty znodes : number of clean znodes
: protects and : lprops statistics : budgeting information : temporary variable which is used to calculate new index size (contains accurate new index size at end of TNC commit start)
: size of the LEB reference node aligned to the min. flash I/O unit : master node aligned size : minimum indexing node aligned on 8-bytes boundary : maximum indexing node aligned on 8-bytes boundary : maximum possible inode size in bytes : size of znode in bytes
: how many bytes are wasted in an LEB when it is filled with data nodes of maximum size - used in free space reporting : LEB dead space watermark : LEB dark space watermark : count of 4KiB blocks on the FS
: UBIFS node length ranges : UBI volume descriptor : UBI device information : UBI volume information
: rb-tree of orphan inode numbers : list of orphan inode numbers in order added : list of orphan inode numbers added since last commit : next orphan to commit : next orphan to delete : lock for orph_tree and orph_new : buffer for orphan nodes : number of orphans since last commit : number of orphans being committed : number of orphans in the rb_tree : maximum number of orphans allowed : orphan head LEB number : orphan head offset : non-zero if there are no orphans
: UBIFS background thread : background thread name : if background thread should run : if write-buffers have to be synchronized
: LEB number used for garbage collection : a buffer of LEB size used by GC and replay for scanning : list of index LEBs that have been garbage collected : number of elements on the idx_gc list : incremented for every non-index LEB garbage collected : last non-index LEB that was garbage collected
: links all 'ubifs_info' objects : serializes shrinker and un-mount : shrinker run number
: number of bits needed to record free or dirty space : number of bits needed to record a LEB number in the LPT : number of bits needed to record an offset in the LPT : number of bits needed to space in the LPT : number of bits needed to record pnode or nnode number : number of bits needed to record LEB number : size of on-flash nnode : size of on-flash pnode : size of on-flash LPT lprops table : size of on-flash LPT save table : number of pnodes : number of nnodes : height of the LPT : number of pnodes in memory
: protects lprops table and all the other lprops-related fields : LEB number of the root nnode of the LPT : offset of the root nnode of the LPT : LEB number of LPT head : offset of LPT head : dirty flags for LPT special nodes e.g. ltab : number of dirty nnodes : number of dirty pnodes : flag that indicates LPT GC may be needed : LPT size : buffer for an on-flash nnode or pnode : buffer of LEB size used by LPT : address in memory of the root nnode of the LPT : next LPT node to commit : array of heaps of categorized lprops : a (reverse sorted) copy of the LPROPS_DIRTY_IDX heap as at previous commit start : list of un-categorized LEBs : list of empty LEBs : list of freeable non-index LEBs (free + dirty == ) : list of freeable index LEBs (free + dirty == ) : number of freeable LEBs in : count of lprops which are in a certain category, which basically meants that they were loaded from the flash
: LEB number of LPT's own lprops table : offset of LPT's own lprops table : LPT's own lprops table : LPT's own lprops table (commit copy) : number of LEB numbers in LPT's save table : LEB number of LPT's save table : offset of LPT's save table : LPT's save table : LEB number of last LPT scan
: size of the reserved pool in bytes : size of the reserved pool reported to user-space : reserved pool user ID : reserved pool group ID
: %1 if the UBI device is empty : %1 if the file-system needs recovery : %1 during journal replay : %1 while mounting : %1 while re-mounting from R/O mode to R/W mode : temporary list used during journal replay : list of buds to replay : sequence number of first node in the log (commit start node) : sequence number of node currently being replayed : LEBs to recover when re-mounting R/O mounted FS to R/W mode : recovered master node to write when re-mounting R/O mounted FS to R/W mode : inode size information for recovery : UBIFS-specific mount options
: debugging-related information
spinlock_t s_inode_lru_lock ____cacheline_aligned_in_smp |
struct dquot_operations* dq_op |
struct hlist_bl_head s_anon |
struct block_device* s_bdev |
struct backing_dev_info* s_bdi |
struct dentry_operations* s_d_op |
struct quota_info s_dquot |
struct export_operations* s_export_op |
struct hlist_node s_instances |
struct super_operations* s_op |
struct quotactl_ops* s_qcop |
atomic_long_t s_remove_count |
struct file_system_type* s_type |
struct rw_semaphore s_umount |
struct sb_writers s_writers |
struct xattr_handler** s_xattr |