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

  /bootable/recovery/mtdutils/
mtdutils.c 34 unsigned int erase_size; member in struct:MtdPartition
146 p->erase_size = mtderasesize;
239 size_t *total_size, size_t *erase_size, size_t *write_size)
252 if (erase_size != NULL) *erase_size = mtd_info.erasesize;
262 ctx->buffer = malloc(partition->erase_size);
278 ctx->consumed = partition->erase_size;
298 ssize_t size = partition->erase_size;
322 pos += partition->erase_size;
333 if (ctx->consumed < ctx->partition->erase_size) {
    [all...]
mtdutils.h 41 size_t *total_size, size_t *erase_size, size_t *write_size);
  /external/qemu/hw/android/goldfish/
nand.c 65 uint32_t erase_size; /* size of the data buffer mentioned above */ member in struct:__anon33373
390 size_t read_len = dev->erase_size;
397 if(read_len < dev->erase_size) {
398 memset(dev->data, 0xff, dev->erase_size);
399 read_len = dev->erase_size;
417 size_t write_len = dev->erase_size;
441 size_t write_len = dev->erase_size;
445 memset(dev->data, 0xff, dev->erase_size);
646 return dev->erase_size;
868 dev->erase_size = erase_pages * (page_size + extra_size)
    [all...]

Completed in 1792 milliseconds