Searched refs:read_block (Results 1 – 1 of 1) sorted by relevance
288 static int read_block(const MtdPartition *partition, int fd, char *data) in read_block() function344 if (read_block(ctx->partition, ctx->fd, data + read)) return -1; in mtd_read_data()354 if (read_block(ctx->partition, ctx->fd, ctx->buffer)) return -1; in mtd_read_data()