check_pattern9
[generic] check if a pattern is in the buffer
Usage
int check_pattern(uint8_t * buf, int len, int paglen, struct nand_bbt_descr * td);
Arguments
buf
the buffer to search
len
the length of buffer to search
paglen
the pagelength
td
search pattern descriptor
Overview
Check for a pattern at the given place. Used to search bad block tables and good / bad block identifiers.
Releases
6 releases since Debian 4.0 (Etch); the text changed 5 times.