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

# read\_abs\_bbt(9)

\[GENERIC\] Read the bad block table starting at a given page

## NAME

read\_abs\_bbt - \[GENERIC\] Read the bad block table starting at a given page

## SYNOPSIS

**int read\_abs\_bbt(struct mtd\_info \*** *mtd***, uint8\_t \*** *buf***, struct nand\_bbt\_descr \*** *td***, int** *chip***);**

## ARGUMENTS

*mtd*

MTD device structure

*buf*

temporary buffer

*td*

descriptor for the bad block table

*chip*

read the table for a specific chip, -1 read all chips; applies only if NAND\_BBT\_PERCHIP option is set

## DESCRIPTION

Read the bad block table for all chips starting at a given page. We assume that the bbt bits are in consecutive order.

## AUTHOR

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

Author.

## COPYRIGHT
