Lines Matching refs:pinfo
100 struct part_info *pinfo = &dinfo->part_lst[dinfo->num_parts]; in load_partitions() local
106 pinfo->name = strdup(partnode->name); in load_partitions()
109 pinfo->flags |= PART_ACTIVE_FLAG; in load_partitions()
112 ALOGE("Partition type required: %s", pinfo->name); in load_partitions()
118 pinfo->type = PC_PART_TYPE_LINUX; in load_partitions()
120 pinfo->type = PC_PART_TYPE_FAT32; in load_partitions()
130 pinfo->len_kb = (uint32_t) len; in load_partitions()
132 pinfo->len_kb = 0; in load_partitions()
507 struct part_info *pinfo; in find_part() local
511 pinfo = &dinfo->part_lst[cnt]; in find_part()
512 if (!strcmp(pinfo->name, name)) in find_part()
513 return pinfo; in find_part()