---
name: "nand_create_badblock_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/nand_create_badblock_pattern"
---

# nand\_create\_badblock\_pattern(9)

\[INTERN\] Creates a BBT descriptor structure

## NAME

nand\_create\_badblock\_pattern - \[INTERN\] Creates a BBT descriptor structure

## SYNOPSIS

**int nand\_create\_badblock\_pattern(struct nand\_chip \*** *this***);**

## ARGUMENTS

*this*

NAND chip to create descriptor for

## DESCRIPTION

This function allocates and initializes a nand\_bbt\_descr for BBM detection based on the properties of *this*. The new descriptor is stored in this-\>badblock\_pattern. Thus, this-\>badblock\_pattern should be NULL when passed to this function.

## AUTHOR

**Thomas Gleixner** \<tglx@linutronix.de\>

Author.

## COPYRIGHT
