OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MtdWriteContext
(Results
1 - 7
of
7
) sorted by null
/bootable/recovery/mtdutils/
mtdutils.h
47
typedef struct
MtdWriteContext
MtdWriteContext
;
54
MtdWriteContext
*mtd_write_partition(const MtdPartition *);
55
ssize_t mtd_write_data(
MtdWriteContext
*, const char *data, size_t data_len);
56
off_t mtd_erase_blocks(
MtdWriteContext
*, int blocks); /* 0 ok, -1 for all */
57
off_t mtd_find_write_start(
MtdWriteContext
*ctx, off_t pos);
58
int mtd_write_close(
MtdWriteContext
*);
mtdutils.c
45
struct
MtdWriteContext
{
369
MtdWriteContext
*mtd_write_partition(const MtdPartition *partition)
371
MtdWriteContext
*ctx = (
MtdWriteContext
*) malloc(sizeof(
MtdWriteContext
));
398
static void add_bad_block_offset(
MtdWriteContext
*ctx, off_t pos) {
407
static int write_block(
MtdWriteContext
*ctx, const char *data)
476
ssize_t mtd_write_data(
MtdWriteContext
*ctx, const char *data, size_t len)
505
off_t mtd_erase_blocks(
MtdWriteContext
*ctx, int blocks)
546
int mtd_write_close(
MtdWriteContext
*ctx
[
all
...]
flash_image.c
53
MtdWriteContext
*write;
95
MtdWriteContext
*out = mtd_write_partition(partition);
/bootable/recovery/
roots.cpp
178
MtdWriteContext
*write = mtd_write_partition(partition);
bootloader.cpp
122
MtdWriteContext
*write = mtd_write_partition(part);
/bootable/recovery/updater/
install.c
241
MtdWriteContext
* ctx = mtd_write_partition(mtd);
721
int r = mtd_write_data((
MtdWriteContext
*)ctx, (const char *)data, data_len);
760
MtdWriteContext
* ctx = mtd_write_partition(mtd);
[
all
...]
/bootable/recovery/applypatch/
applypatch.c
396
MtdWriteContext
* ctx = mtd_write_partition(mtd);
[
all
...]
Completed in 805 milliseconds