Searched refs:erase_size (Results 1 – 2 of 2) sorted by relevance
34 unsigned int erase_size; member146 p->erase_size = mtderasesize; in mtd_scan_partitions()239 size_t *total_size, size_t *erase_size, size_t *write_size) in mtd_partition_info() argument252 if (erase_size != NULL) *erase_size = mtd_info.erasesize; in mtd_partition_info()262 ctx->buffer = malloc(partition->erase_size); in mtd_read_partition()278 ctx->consumed = partition->erase_size; in mtd_read_partition()298 ssize_t size = partition->erase_size; in read_block()322 pos += partition->erase_size; in read_block()333 if (ctx->consumed < ctx->partition->erase_size) { in mtd_read_data()334 size_t avail = ctx->partition->erase_size - ctx->consumed; in mtd_read_data()[all …]
41 size_t *total_size, size_t *erase_size, size_t *write_size);