Home
last modified time | relevance | path

Searched refs:MtdPartition (Results 1 – 7 of 7) sorted by relevance

/bootable/recovery/mtdutils/
Dmtdutils.h26 typedef struct MtdPartition MtdPartition; typedef
30 const MtdPartition *mtd_find_partition_by_name(const char *name);
35 int mtd_mount_partition(const MtdPartition *partition, const char *mount_point,
40 int mtd_partition_info(const MtdPartition *partition,
49 MtdReadContext *mtd_read_partition(const MtdPartition *);
53 MtdWriteContext *mtd_write_partition(const MtdPartition *);
Dmtdutils.c31 struct MtdPartition { struct
39 const MtdPartition *partition; argument
46 const MtdPartition *partition;
57 MtdPartition *partitions;
81 MtdPartition *partitions = malloc(nump * sizeof(*partitions)); in mtd_scan_partitions()
97 MtdPartition *p = &g_mtd_state.partitions[i]; in mtd_scan_partitions()
143 MtdPartition *p = &g_mtd_state.partitions[mtdnum]; in mtd_scan_partitions()
175 const MtdPartition *
181 MtdPartition *p = &g_mtd_state.partitions[i]; in mtd_find_partition_by_name()
193 mtd_mount_partition(const MtdPartition *partition, const char *mount_point, in mtd_mount_partition()
[all …]
Dflash_image.c55 const MtdPartition *ptn; in main()
66 const MtdPartition *partition = mtd_find_partition_by_name(argv[1]); in main()
/bootable/recovery/
Dbootloader.cpp80 const MtdPartition* part = mtd_find_partition_by_name(v->blk_device); in get_bootloader_message_mtd()
106 const MtdPartition* part = mtd_find_partition_by_name(v->blk_device); in set_bootloader_message_mtd()
Droots.cpp108 const MtdPartition* partition; in ensure_path_mounted_at()
201 const MtdPartition* partition = mtd_find_partition_by_name(v->blk_device); in format_volume()
/bootable/recovery/applypatch/
Dapplypatch.cpp158 const MtdPartition* mtd = mtd_find_partition_by_name(partition); in LoadPartitionContents()
335 const MtdPartition* mtd = mtd_find_partition_by_name(partition); in WriteToPartition()
/bootable/recovery/updater/
Dinstall.cpp176 const MtdPartition* mtd; in MountFn()
339 const MtdPartition* mtd = mtd_find_partition_by_name(location); in FormatFn()
1095 const MtdPartition* mtd; in WriteRawImageFn()