1PANIC_NAND_WRITE(9) Internal Functions Provided PANIC_NAND_WRITE(9)
2
3
4
6 panic_nand_write - [MTD Interface] NAND write with ECC
7
9 int panic_nand_write(struct mtd_info * mtd, loff_t to, size_t len,
10 size_t * retlen, const uint8_t * buf);
11
13 mtd
14 MTD device structure
15
16 to
17 offset to write to
18
19 len
20 number of bytes to write
21
22 retlen
23 pointer to variable to store the number of written bytes
24
25 buf
26 the data to write
27
29 NAND write with ECC. Used when performing writes in interrupt context,
30 this may for example be called by mtdoops when writing an oops while in
31 panic.
32
34 Thomas Gleixner <tglx@linutronix.de>
35 Author.
36
38Kernel Hackers Manual 3.10 June 2019 PANIC_NAND_WRITE(9)