Lines Matching refs:part_info

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);
229 struct part_info *part; in index_partitions()
325 static int part_validate_eraseblock(struct mtdids *id, struct part_info *part) in part_validate_eraseblock()
412 static int part_validate(struct mtdids *id, struct part_info *part) in part_validate()
448 static int part_del(struct mtd_device *dev, struct part_info *part) in part_del()
461 struct part_info *curr_pi; in part_del()
495 struct part_info *part_tmp; in part_delall()
499 part_tmp = list_entry(entry, struct part_info, link); in part_delall()
513 static int part_sort_add(struct mtd_device *dev, struct part_info *part) in part_sort_add()
516 struct part_info *new_pi, *curr_pi; in part_sort_add()
529 new_pi = list_entry(&part->link, struct part_info, link); in part_sort_add()
537 struct part_info *pi; in part_sort_add()
539 pi = list_entry(entry, struct part_info, link); in part_sort_add()
576 static int part_add(struct mtd_device *dev, struct part_info *part) in part_add()
598 static int part_parse(const char *const partdef, const char **ret, struct part_info **retpart) in part_parse()
600 struct part_info *part; in part_parse()
676 part = (struct part_info *)malloc(sizeof(struct part_info) + name_len); in part_parse()
681 memset(part, 0, sizeof(struct part_info) + name_len); in part_parse()
840 struct part_info *part; in device_parse()
887 part = list_entry(dev->parts.prev, struct part_info, link); in device_parse()
949 part = list_entry(entry, struct part_info, link); in device_parse()
1082 struct part_info *part, *prev_part; in generate_mtdparts()
1115 part = list_entry(pentry, struct part_info, link); in generate_mtdparts()
1228 static uint64_t net_part_size(struct mtd_info *mtd, struct part_info *part) in net_part_size()
1247 struct part_info *part;
1270 part = list_entry(pentry, struct part_info, link);
1284 part = list_entry(pentry, struct part_info, link);
1303 struct part_info *part;
1345 u8 *part_num, struct part_info **part)
1357 *part = list_entry(pentry, struct part_info, link);
1408 struct part_info *part;
1441 static void spread_partition(struct mtd_info *mtd, struct part_info *part,
1484 struct part_info *part;
1498 part = list_entry(pentry, struct part_info, link);
1842 struct part_info *p;
1869 static struct part_info* mtd_part_info(struct mtd_device *dev, unsigned int part_num)
1872 struct part_info *part;
1892 part = list_entry(entry, struct part_info, link);
1920 struct part_info *part;
1998 struct part_info *p;
2028 p = list_entry(dev->parts.next, struct part_info, link);