Lines Matching refs:MtdPartition
31 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()
238 mtd_partition_info(const MtdPartition *partition, in mtd_partition_info()
257 MtdReadContext *mtd_read_partition(const MtdPartition *partition) in mtd_read_partition()
282 static int read_block(const MtdPartition *partition, int fd, char *data) in read_block()
368 MtdWriteContext *mtd_write_partition(const MtdPartition *partition) in mtd_write_partition()
408 const MtdPartition *partition = ctx->partition; in write_block()