Lines Matching defs:pd
71 struct ib_srq *mlx4_ib_create_srq(struct ib_pd *pd,
75 struct mlx4_ib_dev *dev = to_mdev(pd->device);
108 if (pd->uobject) {
116 srq->umem = ib_umem_get(pd->uobject->context, ucmd.buf_addr,
132 err = mlx4_ib_db_map_user(to_mucontext(pd->uobject->context),
184 err = mlx4_srq_alloc(dev->dev, to_mpd(pd)->pdn, cqn, xrcdn, &srq->mtt,
192 if (pd->uobject)
203 if (pd->uobject)
204 mlx4_ib_db_unmap_user(to_mucontext(pd->uobject->context), &srq->db);
212 if (pd->uobject)
218 if (!pd->uobject)