Home
last modified time | relevance | path

Searched refs:oobbuf (Results 1 – 1 of 1) sorted by relevance

/system/core/toolbox/
Dnandread.c47 struct mtd_oob_buf oobbuf; in nandread_main() local
146 oobbuf.length = mtdinfo.oobsize; in nandread_main()
149 oobbuf.ptr = (uint8_t *)oob_data + spare_size; in nandread_main()
201 oobbuf.start = pos; in nandread_main()
202 ret = ioctl(fd, MEMREADOOB, &oobbuf); in nandread_main()
233 if (oob_fixed + len > oobbuf.ptr) in nandread_main()
234 len = oobbuf.ptr - oob_fixed; in nandread_main()
236 memcpy(oob_fixed, oobbuf.ptr + ecclayout.oobfree[i].offset, len); in nandread_main()
266 "%08x %08x %08x %08x\n", pos, oobbuf.start, in nandread_main()