/development/ndk/platforms/android-3/include/linux/mtd/ |
blktrans.h | 26 struct mtd_info *mtd; member in struct:mtd_blktrans_dev 53 void (*add_mtd)(struct mtd_blktrans_ops *tr, struct mtd_info *mtd);
|
mtd.h | 15 #error This is a kernel header. Perhaps include mtd-user.h instead? 22 #include <linux/mtd/compatmac.h> 23 #include <mtd/mtd-abi.h> 36 struct mtd_info *mtd; member in struct:erase_info 85 #define MTD_PROGREGION_CTRLMODE_VALID(mtd) (mtd)->oobsize 86 #define MTD_PROGREGION_CTRLMODE_INVALID(mtd) (mtd)->ecctype 98 int (*erase) (struct mtd_info *mtd, struct erase_info *instr) [all...] |
/bootable/recovery/applypatch/ |
applypatch.c | 55 // A special 'filename' beginning with "MTD:" or "EMMC:" means to 57 if (strncmp(filename, "MTD:", 4) == 0 || 107 // Load the contents of an MTD or EMMC partition into the provided 109 // "MTD:<partition_name>:<size_1>:<sha1_1>:<size_2>:<sha1_2>:..." (or 122 enum PartitionType { MTD, EMMC }; 130 if (strcmp(magic, "MTD") == 0) { 131 type = MTD; 178 case MTD: 184 const MtdPartition* mtd = mtd_find_partition_by_name(partition); local 185 if (mtd == NULL) 379 const MtdPartition* mtd = mtd_find_partition_by_name(partition); local [all...] |
/bootable/recovery/updater/ |
install.c | 91 // fs_type="yaffs2" partition_type="MTD" location=partition 150 if (strcmp(partition_type, "MTD") == 0) { 152 const MtdPartition* mtd; local 153 mtd = mtd_find_partition_by_name(location); 154 if (mtd == NULL) { 155 uiPrintf(state, "%s: no mtd partition named \"%s\"", 160 if (mtd_mount_partition(mtd, mount_point, fs_type, 0 /* rw */) != 0) { 161 uiPrintf(state, "mtd mount of %s failed: %s\n", 268 // fs_type="yaffs2" partition_type="MTD" location=partition fs_size=<bytes> mount_point=<location> 308 if (strcmp(partition_type, "MTD") == 0) 310 const MtdPartition* mtd = mtd_find_partition_by_name(location); local 1066 const MtdPartition* mtd = mtd_find_partition_by_name(partition); local [all...] |
/dalvik/dx/etc/ |
jasmin.jar | |