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

#include <logfs_abi.h>

Data Fields

__be32 ec_level
 
__be32 valid
 

Detailed Description

struct logfs_segment_entry - segment file entry

: erase count and level : number of valid bytes

Segment file contains one entry for every segment. ec_level contains the erasecount in the upper 28 bits and the level in the lower 4 bits. An ec_level of BADSEG (-1) identifies bad segments. valid contains the number of valid bytes or RESERVED (-1 again) if the segment is used for either the superblock or the journal, or when the segment is bad.

Definition at line 410 of file logfs_abi.h.

Field Documentation

__be32 ec_level

Definition at line 411 of file logfs_abi.h.

__be32 valid

Definition at line 412 of file logfs_abi.h.


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