HomeSort by relevance Sort by last modified time
    Searched full:mtdinfo (Results 1 - 1 of 1) sorted by null

  /system/core/toolbox/
nandread.c 44 struct mtd_info_user mtdinfo; local
124 ret = ioctl(fd, MEMGETINFO, &mtdinfo);
132 printf("size: %u\n", mtdinfo.size);
133 printf("erase size: %u\n", mtdinfo.erasesize);
134 printf("write size: %u\n", mtdinfo.writesize);
135 printf("oob size: %u\n", mtdinfo.oobsize);
138 buffer = malloc(mtdinfo.writesize + mtdinfo.oobsize + spare_size);
141 mtdinfo.writesize + mtdinfo.oobsize)
    [all...]

Completed in 30 milliseconds