Lines Matching refs:php
230 struct c4iw_pd *php = to_c4iw_pd(pd);
231 struct c4iw_dev *rhp = php->rhp;
233 CTR3(KTR_IW_CXGBE, "%s: pd %p, pdid 0x%x", __func__, pd, php->pdid);
235 c4iw_put_resource(&rhp->rdev.resource.pdid_table, php->pdid);
239 kfree(php);
248 struct c4iw_pd *php;
258 php = kzalloc(sizeof(*php), GFP_KERNEL);
259 if (!php) {
263 php->pdid = pdid;
264 php->rhp = rhp;
266 if (ib_copy_to_udata(udata, &php->pdid, sizeof(u32))) {
267 c4iw_deallocate_pd(&php->ibpd);
279 ibdev, context, udata, pdid, php);
280 return (&php->ibpd);