Searched refs:write_block (Results 1 – 1 of 1) sorted by relevance
406 static int write_block(MtdWriteContext *ctx, const char *data) in write_block() function493 if (write_block(ctx, ctx->buffer)) return -1; in mtd_write_data()499 if (write_block(ctx, data + wrote)) return -1; in mtd_write_data()513 if (write_block(ctx, ctx->buffer)) return -1; in mtd_erase_blocks()