pi_mr             616 drivers/infiniband/hw/mlx5/mlx5_ib.h 	struct mlx5_ib_mr      *pi_mr;
pi_mr            2157 drivers/infiniband/hw/mlx5/mr.c 	struct mlx5_ib_mr *pi_mr = mr->mtt_mr;
pi_mr            2160 drivers/infiniband/hw/mlx5/mr.c 	pi_mr->ndescs = 0;
pi_mr            2161 drivers/infiniband/hw/mlx5/mr.c 	pi_mr->meta_ndescs = 0;
pi_mr            2162 drivers/infiniband/hw/mlx5/mr.c 	pi_mr->meta_length = 0;
pi_mr            2164 drivers/infiniband/hw/mlx5/mr.c 	ib_dma_sync_single_for_cpu(ibmr->device, pi_mr->desc_map,
pi_mr            2165 drivers/infiniband/hw/mlx5/mr.c 				   pi_mr->desc_size * pi_mr->max_descs,
pi_mr            2168 drivers/infiniband/hw/mlx5/mr.c 	pi_mr->ibmr.page_size = ibmr->page_size;
pi_mr            2169 drivers/infiniband/hw/mlx5/mr.c 	n = ib_sg_to_pages(&pi_mr->ibmr, data_sg, data_sg_nents, data_sg_offset,
pi_mr            2174 drivers/infiniband/hw/mlx5/mr.c 	pi_mr->data_iova = pi_mr->ibmr.iova;
pi_mr            2175 drivers/infiniband/hw/mlx5/mr.c 	pi_mr->data_length = pi_mr->ibmr.length;
pi_mr            2176 drivers/infiniband/hw/mlx5/mr.c 	pi_mr->ibmr.length = pi_mr->data_length;
pi_mr            2177 drivers/infiniband/hw/mlx5/mr.c 	ibmr->length = pi_mr->data_length;
pi_mr            2181 drivers/infiniband/hw/mlx5/mr.c 		u64 iova = pi_mr->data_iova;
pi_mr            2183 drivers/infiniband/hw/mlx5/mr.c 		n += ib_sg_to_pages(&pi_mr->ibmr, meta_sg, meta_sg_nents,
pi_mr            2186 drivers/infiniband/hw/mlx5/mr.c 		pi_mr->meta_length = pi_mr->ibmr.length;
pi_mr            2193 drivers/infiniband/hw/mlx5/mr.c 		pi_mr->pi_iova = (iova & page_mask) +
pi_mr            2194 drivers/infiniband/hw/mlx5/mr.c 				 pi_mr->ndescs * ibmr->page_size +
pi_mr            2195 drivers/infiniband/hw/mlx5/mr.c 				 (pi_mr->ibmr.iova & ~page_mask);
pi_mr            2203 drivers/infiniband/hw/mlx5/mr.c 		pi_mr->ibmr.length = pi_mr->pi_iova + pi_mr->meta_length - iova;
pi_mr            2204 drivers/infiniband/hw/mlx5/mr.c 		pi_mr->ibmr.iova = iova;
pi_mr            2205 drivers/infiniband/hw/mlx5/mr.c 		ibmr->length += pi_mr->meta_length;
pi_mr            2208 drivers/infiniband/hw/mlx5/mr.c 	ib_dma_sync_single_for_device(ibmr->device, pi_mr->desc_map,
pi_mr            2209 drivers/infiniband/hw/mlx5/mr.c 				      pi_mr->desc_size * pi_mr->max_descs,
pi_mr            2222 drivers/infiniband/hw/mlx5/mr.c 	struct mlx5_ib_mr *pi_mr = mr->klm_mr;
pi_mr            2225 drivers/infiniband/hw/mlx5/mr.c 	pi_mr->ndescs = 0;
pi_mr            2226 drivers/infiniband/hw/mlx5/mr.c 	pi_mr->meta_ndescs = 0;
pi_mr            2227 drivers/infiniband/hw/mlx5/mr.c 	pi_mr->meta_length = 0;
pi_mr            2229 drivers/infiniband/hw/mlx5/mr.c 	ib_dma_sync_single_for_cpu(ibmr->device, pi_mr->desc_map,
pi_mr            2230 drivers/infiniband/hw/mlx5/mr.c 				   pi_mr->desc_size * pi_mr->max_descs,
pi_mr            2233 drivers/infiniband/hw/mlx5/mr.c 	n = mlx5_ib_sg_to_klms(pi_mr, data_sg, data_sg_nents, data_sg_offset,
pi_mr            2236 drivers/infiniband/hw/mlx5/mr.c 	ib_dma_sync_single_for_device(ibmr->device, pi_mr->desc_map,
pi_mr            2237 drivers/infiniband/hw/mlx5/mr.c 				      pi_mr->desc_size * pi_mr->max_descs,
pi_mr            2241 drivers/infiniband/hw/mlx5/mr.c 	pi_mr->data_iova = 0;
pi_mr            2242 drivers/infiniband/hw/mlx5/mr.c 	pi_mr->ibmr.iova = 0;
pi_mr            2243 drivers/infiniband/hw/mlx5/mr.c 	pi_mr->pi_iova = pi_mr->data_length;
pi_mr            2244 drivers/infiniband/hw/mlx5/mr.c 	ibmr->length = pi_mr->ibmr.length;
pi_mr            2255 drivers/infiniband/hw/mlx5/mr.c 	struct mlx5_ib_mr *pi_mr = NULL;
pi_mr            2284 drivers/infiniband/hw/mlx5/mr.c 	pi_mr = mr->mtt_mr;
pi_mr            2291 drivers/infiniband/hw/mlx5/mr.c 	pi_mr = mr->klm_mr;
pi_mr            2301 drivers/infiniband/hw/mlx5/mr.c 	mr->pi_mr = pi_mr;
pi_mr            2302 drivers/infiniband/hw/mlx5/mr.c 	if (pi_mr)
pi_mr            2303 drivers/infiniband/hw/mlx5/mr.c 		ibmr->sig_attrs->meta_length = pi_mr->meta_length;
pi_mr            4606 drivers/infiniband/hw/mlx5/qp.c 	struct mlx5_ib_mr *pi_mr = mr->pi_mr;
pi_mr            4608 drivers/infiniband/hw/mlx5/qp.c 	data_len = pi_mr->data_length;
pi_mr            4609 drivers/infiniband/hw/mlx5/qp.c 	data_key = pi_mr->ibmr.lkey;
pi_mr            4610 drivers/infiniband/hw/mlx5/qp.c 	data_va = pi_mr->data_iova;
pi_mr            4611 drivers/infiniband/hw/mlx5/qp.c 	if (pi_mr->meta_ndescs) {
pi_mr            4612 drivers/infiniband/hw/mlx5/qp.c 		prot_len = pi_mr->meta_length;
pi_mr            4613 drivers/infiniband/hw/mlx5/qp.c 		prot_key = pi_mr->ibmr.lkey;
pi_mr            4614 drivers/infiniband/hw/mlx5/qp.c 		prot_va = pi_mr->pi_iova;
pi_mr            4736 drivers/infiniband/hw/mlx5/qp.c 	struct mlx5_ib_mr *pi_mr = sig_mr->pi_mr;
pi_mr            4749 drivers/infiniband/hw/mlx5/qp.c 	region_len = pi_mr->ibmr.length;
pi_mr            4971 drivers/infiniband/hw/mlx5/qp.c 	struct mlx5_ib_mr *pi_mr;
pi_mr            5090 drivers/infiniband/hw/mlx5/qp.c 				pi_mr = mr->pi_mr;
pi_mr            5092 drivers/infiniband/hw/mlx5/qp.c 				if (pi_mr) {
pi_mr            5096 drivers/infiniband/hw/mlx5/qp.c 					reg_pi_wr.mr = &pi_mr->ibmr;
pi_mr            5098 drivers/infiniband/hw/mlx5/qp.c 					reg_pi_wr.key = pi_mr->ibmr.rkey;
pi_mr            5142 drivers/infiniband/hw/mlx5/qp.c 					mr->pi_mr = &pa_pi_mr;