Lines Matching refs:pvd
58 struct pvd {
109 * Description: Returns pvd on success, NULL on error.
110 * Allocates space for pvd and fill it with disk blocks at @lba
111 * Notes: remember to free pvd when you're done!
113 static struct pvd *alloc_pvd(struct parsed_partitions *state, u32 lba)
115 size_t count = sizeof(struct pvd);
116 struct pvd *p;
164 struct pvd *pvd = NULL;
218 /* pvd loops depend on n[].name and lvip[].pps_per_lv */
219 pvd = alloc_pvd(state, vgda_sector + 17);
223 if (pvd) {
224 int numpps = be16_to_cpu(pvd->pp_count);
225 int psn_part1 = be32_to_cpu(pvd->psn_part1);
232 struct ppe *p = pvd->ppe + i;
277 kfree(pvd);