Query: check_pattern
OS: centos
Section: 9
Links: centos man pages all man pages
Forums: forum home forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CHECK_PATTERN(9) Internal Functions Provided CHECK_PATTERN(9)NAMEcheck_pattern - [GENERIC] check if a pattern is in the bufferSYNOPSISint check_pattern(uint8_t * buf, int len, int paglen, struct nand_bbt_descr * td);ARGUMENTSbuf the buffer to search len the length of buffer to search paglen the pagelength td search pattern descriptorDESCRIPTIONCheck for a pattern at the given place. Used to search bad block tables and good / bad block identifiers. If the SCAN_EMPTY option is set then check, if all bytes except the pattern area contain 0xff.AUTHORThomas Gleixner <tglx@linutronix.de> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 CHECK_PATTERN(9)