---
name: "check_short_pattern"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/check_short_pattern"
---

# check\_short\_pattern(9)

\[GENERIC\] check if a pattern is in the buffer

## 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

*buf*

the buffer to search

*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
