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

# struct\_nand\_buffers(9)

buffer structure for read/write

## NAME

struct\_nand\_buffers - buffer structure for read/write

## SYNOPSIS

```
struct nand_buffers {
  uint8_t * ecccalc;
  uint8_t * ecccode;
  uint8_t * databuf;
};
```

## MEMBERS

ecccalc

buffer pointer for calculated ECC, size is oobsize.

ecccode

buffer pointer for ECC read from flash, size is oobsize.

databuf

buffer pointer for data, size is (page size + oobsize).

## DESCRIPTION

Do not change the order of buffers. databuf and oobrbuf must be in consecutive order.

## AUTHOR

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

Author.

## COPYRIGHT
