Scroll to navigation

CHECK_SHORT_PATTERN(9) Internal Functions Provided CHECK_SHORT_PATTERN(9)

NAME

check_short_pattern - [GENERIC] check if a pattern is in the buffer

SYNOPSIS

int check_short_pattern(uint8_t * buf, struct nand_bbt_descr * td);

ARGUMENTS

uint8_t * buf

the buffer to search

struct nand_bbt_descr * td

search pattern descriptor

DESCRIPTION

Check for a pattern at the given place. Used to search bad block tables and good / bad block identifiers. Same as check_pattern, but no optional empty check.

AUTHOR

Thomas Gleixner <tglx@linutronix.de>

Author.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.12