Lines Matching full:bad
3 * Bad Block Table support for the OneNAND driver
26 * Check for a pattern at the given place. Used to search bad block
27 * tables and good / bad block identifiers. Same as check_pattern, but
46 * create_bbt - [GENERIC] Create a bad block table by scanning the device
49 * @bd: descriptor for the good/bad block search pattern
53 * Create a bad block table by scanning the device
54 * for the given good/bad block identify pattern
67 printk(KERN_INFO "Scanning device for bad blocks\n"); in create_bbt()
97 /* If it is a initial bad block, just ignore it */ in create_bbt()
105 "initial bad block\n", i >> 1); in create_bbt()
124 * onenand_memory_bbt - [GENERIC] create a memory based bad block table
126 * @bd: descriptor for the good/bad block search pattern
129 * for manufacturer / software marked good / bad blocks
139 * onenand_isbad_bbt - [OneNAND Interface] Check if a block is bad
142 * @allowbbt: allow access to bad block table region
168 * onenand_scan_bbt - [OneNAND Interface] scan, find, read and maybe create bad block table(s)
170 * @bd: descriptor for the good/bad block search pattern
172 * The function checks, if a bad block table(s) is/are already
174 * marked good / bad blocks and writes the bad block table(s) to
177 * The bad block table memory is allocated here. It is freed
188 /* Allocate memory (2bit per block) and clear the memory bad block table */ in onenand_scan_bbt()
199 /* Scan the device to build a memory based bad block table */ in onenand_scan_bbt()
210 * Define some generic bad / good block scan pattern which are used
211 * while scanning a device for factory marked good / bad blocks.
223 * onenand_default_bbt - [OneNAND Interface] Select a default bad block table for the device
226 * This function selects the default bad block table