Searched refs:consumed (Results 1 – 1 of 1) sorted by relevance
41 size_t consumed; member278 ctx->consumed = partition->erase_size; in mtd_read_partition()332 if (ctx->consumed < ctx->partition->erase_size) { in mtd_read_data()333 size_t avail = ctx->partition->erase_size - ctx->consumed; in mtd_read_data()335 memcpy(data + read, ctx->buffer + ctx->consumed, copy); in mtd_read_data()336 ctx->consumed += copy; in mtd_read_data()341 while (ctx->consumed == ctx->partition->erase_size && in mtd_read_data()352 if (ctx->consumed == ctx->partition->erase_size && read < len) { in mtd_read_data()354 ctx->consumed = 0; in mtd_read_data()