Lines Matching defs:pvd
58 struct pvd {
125 * Description: Returns pvd on success, NULL on error.
126 * Allocates space for pvd and fill it with disk blocks at @lba
127 * Notes: remember to free pvd when you're done!
129 static struct pvd *alloc_pvd(struct parsed_partitions *state, u32 lba)
131 size_t count = sizeof(struct pvd);
132 struct pvd *p;
180 struct pvd *pvd = NULL;
234 /* pvd loops depend on n[].name and lvip[].pps_per_lv */
235 pvd = alloc_pvd(state, vgda_sector + 17);
239 if (pvd) {
240 int numpps = be16_to_cpu(pvd->pp_count);
241 int psn_part1 = be32_to_cpu(pvd->psn_part1);
248 struct ppe *p = pvd->ppe + i;
293 kfree(pvd);