Lines Matching refs:p
116 struct pvd *p; in alloc_pvd() local
118 p = kmalloc(count, GFP_KERNEL); in alloc_pvd()
119 if (!p) in alloc_pvd()
122 if (read_lba(state, lba, (u8 *) p, count) < count) { in alloc_pvd()
123 kfree(p); in alloc_pvd()
126 return p; in alloc_pvd()
141 struct lvname *p; in alloc_lvn() local
143 p = kmalloc(count, GFP_KERNEL); in alloc_lvn()
144 if (!p) in alloc_lvn()
147 if (read_lba(state, lba, (u8 *) p, count) < count) { in alloc_lvn()
148 kfree(p); in alloc_lvn()
151 return p; in alloc_lvn()
174 struct lvm_rec *p = (struct lvm_rec *)d; in aix_partition() local
175 u16 lvm_version = be16_to_cpu(p->version); in aix_partition()
179 int pp_size_log2 = be16_to_cpu(p->pp_size); in aix_partition()
186 vgda_len = be32_to_cpu(p->vgda_len); in aix_partition()
187 vgda_sector = be32_to_cpu(p->vgda_psn[0]); in aix_partition()
197 struct vgda *p = (struct vgda *)d; in aix_partition() local
199 numlvs = be16_to_cpu(p->numlvs); in aix_partition()
206 struct lvd *p = (struct lvd *)d; in aix_partition() local
214 lvip[i].pps_per_lv = be16_to_cpu(p[i].num_lps); in aix_partition()
232 struct ppe *p = pvd->ppe + i; in aix_partition() local
235 lp_ix = be16_to_cpu(p->lp_ix); in aix_partition()
240 lv_ix = be16_to_cpu(p->lv_ix) - 1; in aix_partition()