Home
last modified time | relevance | path

Searched refs:mtd_write_data (Results 1 – 6 of 6) sorted by relevance

/bootable/recovery/mtdutils/
Dflash_image.c100 int wrote = mtd_write_data(out, buf, headerlen); in main()
105 wrote = mtd_write_data(out, buf, len); in main()
117 wrote = mtd_write_data(out, header, headerlen); in main()
133 if (mtd_write_data(out, buf, len) != len) in main()
Dmtdutils.h55 ssize_t mtd_write_data(MtdWriteContext *, const char *data, size_t data_len);
Dmtdutils.c476 ssize_t mtd_write_data(MtdWriteContext *ctx, const char *data, size_t len) in mtd_write_data() function
/bootable/recovery/
Dbootloader.cpp127 if (mtd_write_data(write, data, size) != size) { in set_bootloader_message_mtd()
/bootable/recovery/updater/
Dinstall.c721 int r = mtd_write_data((MtdWriteContext*)ctx, (const char *)data, data_len); in write_raw_image_cb()
785 int wrote = mtd_write_data(ctx, buffer, read); in WriteRawImageFn()
792 ssize_t wrote = mtd_write_data(ctx, contents->data, contents->size); in WriteRawImageFn()
/bootable/recovery/applypatch/
Dapplypatch.c403 size_t written = mtd_write_data(ctx, (char*)data, len); in WriteToPartition()