Lines Matching refs:pinfo
98 struct part_info *pinfo = &dinfo->part_lst[dinfo->num_parts]; in load_partitions() local
104 pinfo->name = strdup(partnode->name); in load_partitions()
107 pinfo->flags |= PART_ACTIVE_FLAG; in load_partitions()
110 ALOGE("Partition type required: %s", pinfo->name); in load_partitions()
116 pinfo->type = PC_PART_TYPE_LINUX; in load_partitions()
118 pinfo->type = PC_PART_TYPE_FAT32; in load_partitions()
128 pinfo->len_kb = (uint32_t) len; in load_partitions()
130 pinfo->len_kb = 0; in load_partitions()
505 struct part_info *pinfo; in find_part() local
509 pinfo = &dinfo->part_lst[cnt]; in find_part()
510 if (!strcmp(pinfo->name, name)) in find_part()
511 return pinfo; in find_part()