HomeSort by relevance Sort by last modified time
    Searched defs:MtdReadContext (Results 1 - 2 of 2) sorted by null

  /bootable/recovery/mtdutils/
mtdutils.h 42 typedef struct MtdReadContext MtdReadContext;
45 MtdReadContext *mtd_read_partition(const MtdPartition *);
46 ssize_t mtd_read_data(MtdReadContext *, char *data, size_t data_len);
47 void mtd_read_close(MtdReadContext *);
48 void mtd_read_skip_to(const MtdReadContext *, size_t offset);
mtdutils.c 38 struct MtdReadContext {
257 MtdReadContext *mtd_read_partition(const MtdPartition *partition)
259 MtdReadContext *ctx = (MtdReadContext*) malloc(sizeof(MtdReadContext));
284 void mtd_read_skip_to(const MtdReadContext* ctx, size_t offset) {
329 ssize_t mtd_read_data(MtdReadContext *ctx, char *data, size_t len)
362 void mtd_read_close(MtdReadContext *ctx)

Completed in 27 milliseconds