Searched refs:ecclayout (Results 1 - 1 of 1) sorted by relevance

/system/core/toolbox/
H A Dnandread.c47 struct nand_ecclayout ecclayout; local
150 ret = ioctl(fd, ECCGETLAYOUT, &ecclayout);
157 printf("ecc bytes: %u\n", ecclayout.eccbytes);
158 printf("oobavail: %u\n", ecclayout.oobavail);
160 if (ecclayout.oobavail > spare_size)
161 printf("oobavail, %d > image spare size, %d\n", ecclayout.oobavail, spare_size);
231 int len = ecclayout.oobfree[i].length;
235 memcpy(oob_fixed, oobbuf.ptr + ecclayout.oobfree[i].offset, len);

Completed in 3 milliseconds