pklm             1258 drivers/infiniband/hw/mlx5/mlx5_ib.h void mlx5_odp_populate_klm(struct mlx5_klm *pklm, size_t offset,
pklm             1275 drivers/infiniband/hw/mlx5/mlx5_ib.h static inline void mlx5_odp_populate_klm(struct mlx5_klm *pklm, size_t offset,
pklm              163 drivers/infiniband/hw/mlx5/odp.c void mlx5_odp_populate_klm(struct mlx5_klm *pklm, size_t offset,
pklm              173 drivers/infiniband/hw/mlx5/odp.c 		for (i = 0; i < nentries; i++, pklm++) {
pklm              174 drivers/infiniband/hw/mlx5/odp.c 			pklm->bcount = cpu_to_be32(MLX5_IMR_MTT_SIZE);
pklm              175 drivers/infiniband/hw/mlx5/odp.c 			pklm->key = cpu_to_be32(dev->null_mkey);
pklm              176 drivers/infiniband/hw/mlx5/odp.c 			pklm->va = 0;
pklm              207 drivers/infiniband/hw/mlx5/odp.c 	for (i = 0; i < nentries; i++, pklm++) {
pklm              208 drivers/infiniband/hw/mlx5/odp.c 		pklm->bcount = cpu_to_be32(MLX5_IMR_MTT_SIZE);
pklm              213 drivers/infiniband/hw/mlx5/odp.c 			pklm->key = cpu_to_be32(mtt->ibmr.lkey);
pklm              216 drivers/infiniband/hw/mlx5/odp.c 			pklm->key = cpu_to_be32(dev->null_mkey);
pklm              219 drivers/infiniband/hw/mlx5/odp.c 			    i, va, be32_to_cpu(pklm->key));
pklm              785 drivers/infiniband/hw/mlx5/odp.c 	struct mlx5_klm *pklm;
pklm              857 drivers/infiniband/hw/mlx5/odp.c 			sizeof(*pklm) * (ndescs - 2);
pklm              869 drivers/infiniband/hw/mlx5/odp.c 		pklm = (struct mlx5_klm *)MLX5_ADDR_OF(query_mkey_out, out,
pklm              879 drivers/infiniband/hw/mlx5/odp.c 		for (i = 0; bcnt && i < ndescs; i++, pklm++) {
pklm              880 drivers/infiniband/hw/mlx5/odp.c 			if (offset >= be32_to_cpu(pklm->bcount)) {
pklm              881 drivers/infiniband/hw/mlx5/odp.c 				offset -= be32_to_cpu(pklm->bcount);
pklm              891 drivers/infiniband/hw/mlx5/odp.c 			frame->key = be32_to_cpu(pklm->key);
pklm              892 drivers/infiniband/hw/mlx5/odp.c 			frame->io_virt = be64_to_cpu(pklm->va) + offset;
pklm              894 drivers/infiniband/hw/mlx5/odp.c 					    be32_to_cpu(pklm->bcount) - offset);