struct_nand_bbt_descr man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

STRUCT NAND_BBT_DESC(9)		  Structures	       STRUCT NAND_BBT_DESC(9)

NAME
       struct_nand_bbt_descr - bad block table descriptor

SYNOPSIS
       struct nand_bbt_descr {
	 int options;
	 int pages[NAND_MAX_CHIPS];
	 int offs;
	 int veroffs;
	 uint8_t version[NAND_MAX_CHIPS];
	 int len;
	 int maxblocks;
	 int reserved_block_code;
	 uint8_t * pattern;
       };

MEMBERS
       options
	   options for this descriptor

       pages[NAND_MAX_CHIPS]
	   the page(s) where we find the bbt, used with option BBT_ABSPAGE
	   when bbt is searched, then we store the found bbts pages here. Its
	   an array and supports up to 8 chips now

       offs
	   offset of the pattern in the oob area of the page

       veroffs
	   offset of the bbt version counter in the oob are of the page

       version[NAND_MAX_CHIPS]
	   version read from the bbt page during scan

       len
	   length of the pattern, if 0 no pattern check is performed

       maxblocks
	   maximum number of blocks to search for a bbt. This number of blocks
	   is reserved at the end of the device where the tables are written.

       reserved_block_code
	   if non-0, this pattern denotes a reserved (rather than bad) block
	   in the stored bbt

       pattern
	   pattern to identify bad block table or factory marked good / bad
	   blocks, can be NULL, if len = 0

DESCRIPTION
       Descriptor for the bad block table marker and the descriptor for the
       pattern which identifies good and bad blocks. The assumption is made
       that the pattern and the version count are always located in the oob
       area of the first block.

AUTHOR
       Thomas Gleixner <tglx@linutronix.de>
	   Author.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013	       STRUCT NAND_BBT_DESC(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net