Lines Matching refs:part_info

109 /* this flag needs to be set in part_info struct mask_flags
140 extern void jffs2_free_cache(struct part_info *part);
154 static struct part_info* mtd_part_info(struct mtd_device *dev, unsigned int part_num);
232 struct part_info *part;
328 static int part_validate_eraseblock(struct mtdids *id, struct part_info *part)
415 static int part_validate(struct mtdids *id, struct part_info *part)
451 static int part_del(struct mtd_device *dev, struct part_info *part)
464 struct part_info *curr_pi;
498 struct part_info *part_tmp;
502 part_tmp = list_entry(entry, struct part_info, link);
516 static int part_sort_add(struct mtd_device *dev, struct part_info *part)
519 struct part_info *new_pi, *curr_pi;
532 new_pi = list_entry(&part->link, struct part_info, link);
540 struct part_info *pi;
542 pi = list_entry(entry, struct part_info, link);
579 static int part_add(struct mtd_device *dev, struct part_info *part)
601 static int part_parse(const char *const partdef, const char **ret, struct part_info **retpart)
603 struct part_info *part;
679 part = (struct part_info *)malloc(sizeof(struct part_info) + name_len);
684 memset(part, 0, sizeof(struct part_info) + name_len);
843 struct part_info *part;
890 part = list_entry(dev->parts.prev, struct part_info, link);
952 part = list_entry(entry, struct part_info, link);
1088 struct part_info *part, *prev_part;
1118 part = list_entry(pentry, struct part_info, link);
1231 static uint64_t net_part_size(struct mtd_info *mtd, struct part_info *part)
1250 struct part_info *part;
1273 part = list_entry(pentry, struct part_info, link);
1287 part = list_entry(pentry, struct part_info, link);
1306 struct part_info *part;
1348 u8 *part_num, struct part_info **part)
1360 *part = list_entry(pentry, struct part_info, link);
1411 struct part_info *part;
1444 static void spread_partition(struct mtd_info *mtd, struct part_info *part,
1487 struct part_info *part;
1501 part = list_entry(pentry, struct part_info, link);
1843 struct part_info *p;
1868 * Return: pointer to the part_info, NULL otherwise
1870 static struct part_info* mtd_part_info(struct mtd_device *dev, unsigned int part_num)
1873 struct part_info *part;
1893 part = list_entry(entry, struct part_info, link);
1922 struct part_info *part;
2000 struct part_info *p;
2030 p = list_entry(dev->parts.next, struct part_info, link);