Searched refs:mtd (Results 1 – 2 of 2) sorted by relevance
97 const MtdPartition* mtd; in MountFn() local98 mtd = mtd_find_partition_by_name(location); in MountFn()99 if (mtd == NULL) { in MountFn()105 if (mtd_mount_partition(mtd, mount_point, fs_type, 0 /* rw */) != 0) { in MountFn()234 const MtdPartition* mtd = mtd_find_partition_by_name(location); in FormatFn() local235 if (mtd == NULL) { in FormatFn()241 MtdWriteContext* ctx = mtd_write_partition(mtd); in FormatFn()753 const MtdPartition* mtd = mtd_find_partition_by_name(partition); in WriteRawImageFn() local754 if (mtd == NULL) { in WriteRawImageFn()760 MtdWriteContext* ctx = mtd_write_partition(mtd); in WriteRawImageFn()
200 const MtdPartition* mtd = mtd_find_partition_by_name(partition); in LoadPartitionContents() local201 if (mtd == NULL) { in LoadPartitionContents()207 ctx = mtd_read_partition(mtd); in LoadPartitionContents()389 const MtdPartition* mtd = mtd_find_partition_by_name(partition); in WriteToPartition() local390 if (mtd == NULL) { in WriteToPartition()396 MtdWriteContext* ctx = mtd_write_partition(mtd); in WriteToPartition()