Searched refs:mtd_info (Results 1 – 1 of 1) sorted by relevance
246 struct mtd_info_user mtd_info; in mtd_partition_info() local247 int ret = ioctl(fd, MEMGETINFO, &mtd_info); in mtd_partition_info()251 if (total_size != NULL) *total_size = mtd_info.size; in mtd_partition_info()252 if (erase_size != NULL) *erase_size = mtd_info.erasesize; in mtd_partition_info()253 if (write_size != NULL) *write_size = mtd_info.writesize; in mtd_partition_info()