to_mpd             48 drivers/infiniband/hw/mlx4/ah.c 	ah->av.ib.port_pd = cpu_to_be32(to_mpd(ib_ah->pd)->pdn |
to_mpd            118 drivers/infiniband/hw/mlx4/ah.c 	ah->av.eth.port_pd = cpu_to_be32(to_mpd(ib_ah->pd)->pdn |
to_mpd           1196 drivers/infiniband/hw/mlx4/main.c 	struct mlx4_ib_pd *pd = to_mpd(ibpd);
to_mpd           1213 drivers/infiniband/hw/mlx4/main.c 	mlx4_pd_free(to_mdev(pd->device)->dev, to_mpd(pd)->pdn);
to_mpd             67 drivers/infiniband/hw/mlx4/mr.c 	err = mlx4_mr_alloc(to_mdev(pd->device)->dev, to_mpd(pd)->pdn, 0,
to_mpd            427 drivers/infiniband/hw/mlx4/mr.c 	err = mlx4_mr_alloc(dev->dev, to_mpd(pd)->pdn, virt_addr, length,
to_mpd            481 drivers/infiniband/hw/mlx4/mr.c 					   to_mpd(pd)->pdn);
to_mpd            625 drivers/infiniband/hw/mlx4/mr.c 	err = mlx4_mw_alloc(dev->dev, to_mpd(pd)->pdn,
to_mpd            672 drivers/infiniband/hw/mlx4/mr.c 	err = mlx4_mr_alloc(dev->dev, to_mpd(pd)->pdn, 0, 0, 0,
to_mpd            712 drivers/infiniband/hw/mlx4/mr.c 	err = mlx4_fmr_alloc(dev->dev, to_mpd(pd)->pdn, convert_access(acc),
to_mpd           1360 drivers/infiniband/hw/mlx4/qp.c 		return to_mpd(to_mxrcd(qp->ibqp.xrcd)->pd);
to_mpd           1362 drivers/infiniband/hw/mlx4/qp.c 		return to_mpd(qp->ibqp.pd);
to_mpd           2163 drivers/infiniband/hw/mlx4/qp.c 		pd	    = to_mpd(ibwq->pd);
to_mpd            179 drivers/infiniband/hw/mlx4/srq.c 	err = mlx4_srq_alloc(dev->dev, to_mpd(ib_srq->pd)->pdn, cqn, xrcdn,
to_mpd           2469 drivers/infiniband/hw/mlx5/main.c 	struct mlx5_ib_pd *pd = to_mpd(ibpd);
to_mpd           2503 drivers/infiniband/hw/mlx5/main.c 	struct mlx5_ib_pd *mpd = to_mpd(pd);
to_mpd           4348 drivers/infiniband/hw/mlx5/main.c 		to_mpd(ibqp->pd)->uid : 0;
to_mpd           4370 drivers/infiniband/hw/mlx5/main.c 		to_mpd(ibqp->pd)->uid : 0;
to_mpd            712 drivers/infiniband/hw/mlx5/mr.c 	MLX5_SET(mkc, mkc, pd, to_mpd(pd)->pdn);
to_mpd            880 drivers/infiniband/hw/mlx5/mr.c 	mr->mmkey.pd = to_mpd(pd)->pdn;
to_mpd           1101 drivers/infiniband/hw/mlx5/mr.c 	MLX5_SET(mkc, mkc, pd, to_mpd(pd)->pdn);
to_mpd           1179 drivers/infiniband/hw/mlx5/mr.c 	MLX5_SET(mkc, mkc, pd, to_mpd(pd)->pdn);
to_mpd           1276 drivers/infiniband/hw/mlx5/mr.c 		mr = mlx5_ib_alloc_implicit_mr(to_mpd(pd), udata, access_flags);
to_mpd           1474 drivers/infiniband/hw/mlx5/mr.c 		mr->mmkey.pd = to_mpd(pd)->pdn;
to_mpd           1651 drivers/infiniband/hw/mlx5/mr.c 	MLX5_SET(mkc, mkc, pd, to_mpd(pd)->pdn);
to_mpd           1764 drivers/infiniband/hw/mlx5/mr.c 	err = mlx5_core_create_psv(dev->mdev, to_mpd(pd)->pdn, 2, psv_index);
to_mpd           1929 drivers/infiniband/hw/mlx5/mr.c 	MLX5_SET(mkc, mkc, pd, to_mpd(pd)->pdn);
to_mpd            937 drivers/infiniband/hw/mlx5/qp.c 	       attr->qp_type != IB_QPT_XRC_INI) ? to_mpd(pd)->uid : 0;
to_mpd           1198 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(create_tis_in, in, uid, to_mpd(pd)->uid);
to_mpd           1209 drivers/infiniband/hw/mlx5/qp.c 	mlx5_cmd_destroy_tis(dev->mdev, sq->tisn, to_mpd(pd)->uid);
to_mpd           1250 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(create_sq_in, in, uid, to_mpd(pd)->uid);
to_mpd           1339 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(create_rq_in, in, uid, to_mpd(pd)->uid);
to_mpd           1395 drivers/infiniband/hw/mlx5/qp.c 	mlx5_cmd_destroy_tir(dev->mdev, rq->tirn, to_mpd(pd)->uid);
to_mpd           1415 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(create_tir_in, in, uid, to_mpd(pd)->uid);
to_mpd           1463 drivers/infiniband/hw/mlx5/qp.c 	u16 uid = to_mpd(pd)->uid;
to_mpd           1583 drivers/infiniband/hw/mlx5/qp.c 			     to_mpd(qp->ibqp.pd)->uid);
to_mpd           1684 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(create_tir_in, in, uid, to_mpd(pd)->uid);
to_mpd           1802 drivers/infiniband/hw/mlx5/qp.c 					     to_mpd(pd)->uid);
to_mpd           2177 drivers/infiniband/hw/mlx5/qp.c 		MLX5_SET(qpc, qpc, pd, to_mpd(pd ? pd : devr->p0)->pdn);
to_mpd           2390 drivers/infiniband/hw/mlx5/qp.c 	return to_mpd(qp->ibqp.pd);
to_mpd           2569 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(create_dct_in, qp->dct.in, uid, to_mpd(pd)->uid);
to_mpd           2572 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(dctc, dctc, pd, to_mpd(pd)->pdn);
to_mpd           2868 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(modify_tis_in, in, uid, to_mpd(pd)->uid);
to_mpd           2895 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(modify_tis_in, in, uid, to_mpd(pd)->uid);
to_mpd           3164 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(modify_rq_in, in, uid, to_mpd(pd)->uid);
to_mpd           3210 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(modify_sq_in, in, uid, to_mpd(pd)->uid);
to_mpd           3566 drivers/infiniband/hw/mlx5/qp.c 	context->flags_pd = cpu_to_be32(pd ? pd->pdn : to_mpd(dev->devr.p0)->pdn);
to_mpd           4380 drivers/infiniband/hw/mlx5/qp.c 		seg->flags_pd = cpu_to_be32(to_mpd(umrwr->pd)->pdn);
to_mpd           4814 drivers/infiniband/hw/mlx5/qp.c 	struct mlx5_ib_pd *pd = to_mpd(qp->ibqp.pd);
to_mpd           5937 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(create_rq_in, in, uid, to_mpd(pd)->uid);
to_mpd           5968 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(wq, wq, pd, to_mpd(pd)->pdn);
to_mpd           6244 drivers/infiniband/hw/mlx5/qp.c 	rwq_ind_tbl->uid = to_mpd(init_attr->ind_tbl[0]->pd)->uid;
to_mpd           6327 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(modify_rq_in, in, uid, to_mpd(wq->pd)->uid);
to_mpd            115 drivers/infiniband/hw/mlx5/srq.c 	in->uid = (in->type != IB_SRQT_XRC) ?  to_mpd(pd)->uid : 0;
to_mpd            299 drivers/infiniband/hw/mlx5/srq.c 	in.pd = to_mpd(ib_srq->pd)->pdn;
to_mpd            369 drivers/infiniband/hw/mthca/mthca_provider.c 	struct mthca_pd *pd = to_mpd(ibpd);
to_mpd            388 drivers/infiniband/hw/mthca/mthca_provider.c 	mthca_pd_free(to_mdev(pd->device), to_mpd(pd));
to_mpd            397 drivers/infiniband/hw/mthca/mthca_provider.c 	return mthca_create_ah(to_mdev(ibah->device), to_mpd(ibah->pd), ah_attr,
to_mpd            434 drivers/infiniband/hw/mthca/mthca_provider.c 	err = mthca_alloc_srq(to_mdev(ibsrq->device), to_mpd(ibsrq->pd),
to_mpd            521 drivers/infiniband/hw/mthca/mthca_provider.c 		err = mthca_alloc_qp(to_mdev(pd->device), to_mpd(pd),
to_mpd            554 drivers/infiniband/hw/mthca/mthca_provider.c 		err = mthca_alloc_sqp(to_mdev(pd->device), to_mpd(pd),
to_mpd            841 drivers/infiniband/hw/mthca/mthca_provider.c 				     to_mpd(pd)->pd_num,
to_mpd            932 drivers/infiniband/hw/mthca/mthca_provider.c 	err = mthca_mr_alloc(dev, to_mpd(pd)->pd_num, PAGE_SHIFT, virt, length,
to_mpd            973 drivers/infiniband/hw/mthca/mthca_provider.c 	err = mthca_fmr_alloc(to_mdev(pd->device), to_mpd(pd)->pd_num,
to_mpd            709 drivers/infiniband/hw/mthca/mthca_qp.c 	qp_context->pd         = cpu_to_be32(to_mpd(ibqp->pd)->pd_num);
to_mpd           1489 drivers/infiniband/hw/mthca/mthca_qp.c 		atomic_dec(&(to_mpd(qp->ibqp.pd)->sqp_count));
to_mpd           1559 drivers/infiniband/hw/mthca/mthca_qp.c 	data->lkey       = cpu_to_be32(to_mpd(sqp->qp.ibqp.pd)->ntmr.ibmr.lkey);