Searched refs:MtdPartition (Results 1 – 7 of 7) sorted by relevance
26 typedef struct MtdPartition MtdPartition; typedef30 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 *);
31 struct MtdPartition { struct39 const MtdPartition *partition; argument46 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 …]
55 const MtdPartition *ptn; in main()66 const MtdPartition *partition = mtd_find_partition_by_name(argv[1]); in main()
80 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()
108 const MtdPartition* partition; in ensure_path_mounted_at()201 const MtdPartition* partition = mtd_find_partition_by_name(v->blk_device); in format_volume()
158 const MtdPartition* mtd = mtd_find_partition_by_name(partition); in LoadPartitionContents()335 const MtdPartition* mtd = mtd_find_partition_by_name(partition); in WriteToPartition()
176 const MtdPartition* mtd; in MountFn()339 const MtdPartition* mtd = mtd_find_partition_by_name(location); in FormatFn()1095 const MtdPartition* mtd; in WriteRawImageFn()