Searched refs:mtd (Results 1 – 2 of 2) sorted by relevance
184 const MtdPartition* mtd = mtd_find_partition_by_name(partition); in LoadPartitionContents() local185 if (mtd == NULL) { in LoadPartitionContents()191 ctx = mtd_read_partition(mtd); in LoadPartitionContents()379 const MtdPartition* mtd = mtd_find_partition_by_name(partition); in WriteToPartition() local380 if (mtd == NULL) { in WriteToPartition()386 MtdWriteContext* ctx = mtd_write_partition(mtd); in WriteToPartition()
152 const MtdPartition* mtd; in MountFn() local153 mtd = mtd_find_partition_by_name(location); in MountFn()154 if (mtd == NULL) { in MountFn()160 if (mtd_mount_partition(mtd, mount_point, fs_type, 0 /* rw */) != 0) { in MountFn()310 const MtdPartition* mtd = mtd_find_partition_by_name(location); in FormatFn() local311 if (mtd == NULL) { in FormatFn()317 MtdWriteContext* ctx = mtd_write_partition(mtd); in FormatFn()1066 const MtdPartition* mtd = mtd_find_partition_by_name(partition); in WriteRawImageFn() local1067 if (mtd == NULL) { in WriteRawImageFn()1073 MtdWriteContext* ctx = mtd_write_partition(mtd); in WriteRawImageFn()