Searched refs:mtd (Results 1 – 2 of 2) sorted by relevance
101 const MtdPartition* mtd; in MountFn() local102 mtd = mtd_find_partition_by_name(location); in MountFn()103 if (mtd == NULL) { in MountFn()109 if (mtd_mount_partition(mtd, mount_point, fs_type, 0 /* rw */) != 0) { in MountFn()238 const MtdPartition* mtd = mtd_find_partition_by_name(location); in FormatFn() local239 if (mtd == NULL) { in FormatFn()245 MtdWriteContext* ctx = mtd_write_partition(mtd); in FormatFn()757 const MtdPartition* mtd = mtd_find_partition_by_name(partition); in WriteRawImageFn() local758 if (mtd == NULL) { in WriteRawImageFn()764 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()