Home
last modified time | relevance | path

Searched refs:MtdReadContext (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/mtdutils/
Dmtdutils.h46 typedef struct MtdReadContext MtdReadContext; typedef
49 MtdReadContext *mtd_read_partition(const MtdPartition *);
50 ssize_t mtd_read_data(MtdReadContext *, char *data, size_t data_len);
51 void mtd_read_close(MtdReadContext *);
Dmtdutils.c38 struct MtdReadContext { struct
257 MtdReadContext *mtd_read_partition(const MtdPartition *partition) in mtd_read_partition()
259 MtdReadContext *ctx = (MtdReadContext*) malloc(sizeof(MtdReadContext)); in mtd_read_partition()
328 ssize_t mtd_read_data(MtdReadContext *ctx, char *data, size_t len) in mtd_read_data()
361 void mtd_read_close(MtdReadContext *ctx) in mtd_read_close()
Dflash_image.c78 MtdReadContext *in = mtd_read_partition(partition); in main()
/bootable/recovery/
Dbootloader.cpp86 MtdReadContext* read = mtd_read_partition(part); in get_bootloader_message_mtd()
112 MtdReadContext* read = mtd_read_partition(part); in set_bootloader_message_mtd()
/bootable/recovery/applypatch/
Dapplypatch.cpp148 MtdReadContext* ctx = NULL; in LoadPartitionContents()