mtt 518 drivers/infiniband/hw/hns/hns_roce_device.h struct hns_roce_mtt mtt; mtt 537 drivers/infiniband/hw/hns/hns_roce_device.h struct hns_roce_mtt mtt; mtt 664 drivers/infiniband/hw/hns/hns_roce_device.h struct hns_roce_mtt mtt; mtt 1134 drivers/infiniband/hw/hns/hns_roce_device.h struct hns_roce_mtt *mtt); mtt 1136 drivers/infiniband/hw/hns/hns_roce_device.h struct hns_roce_mtt *mtt); mtt 1138 drivers/infiniband/hw/hns/hns_roce_device.h struct hns_roce_mtt *mtt, struct hns_roce_buf *buf); mtt 1215 drivers/infiniband/hw/hns/hns_roce_device.h struct hns_roce_mtt *mtt, struct ib_umem *umem); mtt 2487 drivers/infiniband/hw/hns/hns_roce_hw_v1.c struct hns_roce_mtt *mtt, mtt 2589 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hr_qp->mtt.first_seg, &dma_handle); mtt 2739 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hr_qp->mtt.first_seg, &dma_handle); mtt 3261 drivers/infiniband/hw/hns/hns_roce_hw_v1.c ret = hns_roce_v1_qp_modify(hr_dev, &hr_qp->mtt, mtt 3632 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hns_roce_mtt_cleanup(hr_dev, &hr_qp->mtt); mtt 222 drivers/infiniband/hw/hns/hns_roce_mr.c struct hns_roce_mtt *mtt) mtt 229 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->order = -1; mtt 230 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->page_shift = HNS_ROCE_HEM_PAGE_SHIFT; mtt 235 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->page_shift = page_shift; mtt 238 drivers/infiniband/hw/hns/hns_roce_mr.c for (mtt->order = 0, i = HNS_ROCE_MTT_ENTRY_PER_SEG; i < npages; mtt 240 drivers/infiniband/hw/hns/hns_roce_mr.c ++mtt->order; mtt 243 drivers/infiniband/hw/hns/hns_roce_mr.c ret = hns_roce_alloc_mtt_range(hr_dev, mtt->order, &mtt->first_seg, mtt 244 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->mtt_type); mtt 251 drivers/infiniband/hw/hns/hns_roce_mr.c void hns_roce_mtt_cleanup(struct hns_roce_dev *hr_dev, struct hns_roce_mtt *mtt) mtt 255 drivers/infiniband/hw/hns/hns_roce_mr.c if (mtt->order < 0) mtt 258 drivers/infiniband/hw/hns/hns_roce_mr.c switch (mtt->mtt_type) { mtt 260 drivers/infiniband/hw/hns/hns_roce_mr.c hns_roce_buddy_free(&mr_table->mtt_buddy, mtt->first_seg, mtt 261 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->order); mtt 263 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg, mtt 264 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg + (1 << mtt->order) - 1); mtt 267 drivers/infiniband/hw/hns/hns_roce_mr.c hns_roce_buddy_free(&mr_table->mtt_cqe_buddy, mtt->first_seg, mtt 268 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->order); mtt 270 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg, mtt 271 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg + (1 << mtt->order) - 1); mtt 274 drivers/infiniband/hw/hns/hns_roce_mr.c hns_roce_buddy_free(&mr_table->mtt_srqwqe_buddy, mtt->first_seg, mtt 275 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->order); mtt 277 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg, mtt 278 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg + (1 << mtt->order) - 1); mtt 281 drivers/infiniband/hw/hns/hns_roce_mr.c hns_roce_buddy_free(&mr_table->mtt_idx_buddy, mtt->first_seg, mtt 282 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->order); mtt 284 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg, mtt 285 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg + (1 << mtt->order) - 1); mtt 290 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->mtt_type); mtt 787 drivers/infiniband/hw/hns/hns_roce_mr.c struct hns_roce_mtt *mtt, u32 start_index, mtt 796 drivers/infiniband/hw/hns/hns_roce_mr.c switch (mtt->mtt_type) { mtt 826 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg + mtt 844 drivers/infiniband/hw/hns/hns_roce_mr.c struct hns_roce_mtt *mtt, u32 start_index, mtt 851 drivers/infiniband/hw/hns/hns_roce_mr.c if (mtt->order < 0) mtt 854 drivers/infiniband/hw/hns/hns_roce_mr.c switch (mtt->mtt_type) { mtt 870 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->mtt_type); mtt 877 drivers/infiniband/hw/hns/hns_roce_mr.c ret = hns_roce_write_mtt_chunk(hr_dev, mtt, start_index, chunk, mtt 891 drivers/infiniband/hw/hns/hns_roce_mr.c struct hns_roce_mtt *mtt, struct hns_roce_buf *buf) mtt 908 drivers/infiniband/hw/hns/hns_roce_mr.c ret = hns_roce_write_mtt(hr_dev, mtt, 0, buf->npages, page_list); mtt 1020 drivers/infiniband/hw/hns/hns_roce_mr.c struct hns_roce_mtt *mtt, struct ib_umem *umem) mtt 1033 drivers/infiniband/hw/hns/hns_roce_mr.c switch (mtt->mtt_type) { mtt 1048 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->mtt_type); mtt 1062 drivers/infiniband/hw/hns/hns_roce_mr.c if (!(npage % (1 << (mtt->page_shift - PAGE_SHIFT)))) { mtt 1063 drivers/infiniband/hw/hns/hns_roce_mr.c if (page_addr & ((1 << mtt->page_shift) - 1)) { mtt 1066 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->page_shift); mtt 1074 drivers/infiniband/hw/hns/hns_roce_mr.c ret = hns_roce_write_mtt(hr_dev, mtt, n, i, pages); mtt 1083 drivers/infiniband/hw/hns/hns_roce_mr.c ret = hns_roce_write_mtt(hr_dev, mtt, n, i, pages); mtt 95 drivers/infiniband/hw/hns/hns_roce_srq.c srq->mtt.first_seg, mtt 105 drivers/infiniband/hw/hns/hns_roce_srq.c srq->idx_que.mtt.first_seg, mtt 199 drivers/infiniband/hw/hns/hns_roce_srq.c &srq->mtt); mtt 203 drivers/infiniband/hw/hns/hns_roce_srq.c ret = hns_roce_ib_umem_write_mtt(hr_dev, &srq->mtt, srq->umem); mtt 221 drivers/infiniband/hw/hns/hns_roce_srq.c &srq->idx_que.mtt); mtt 227 drivers/infiniband/hw/hns/hns_roce_srq.c ret = hns_roce_ib_umem_write_mtt(hr_dev, &srq->idx_que.mtt, mtt 238 drivers/infiniband/hw/hns/hns_roce_srq.c hns_roce_mtt_cleanup(hr_dev, &srq->idx_que.mtt); mtt 244 drivers/infiniband/hw/hns/hns_roce_srq.c hns_roce_mtt_cleanup(hr_dev, &srq->mtt); mtt 287 drivers/infiniband/hw/hns/hns_roce_srq.c &srq->mtt); mtt 291 drivers/infiniband/hw/hns/hns_roce_srq.c ret = hns_roce_buf_write_mtt(hr_dev, &srq->mtt, &srq->buf); mtt 305 drivers/infiniband/hw/hns/hns_roce_srq.c &srq->idx_que.mtt); mtt 310 drivers/infiniband/hw/hns/hns_roce_srq.c ret = hns_roce_buf_write_mtt(hr_dev, &srq->idx_que.mtt, mtt 324 drivers/infiniband/hw/hns/hns_roce_srq.c hns_roce_mtt_cleanup(hr_dev, &srq->idx_que.mtt); mtt 332 drivers/infiniband/hw/hns/hns_roce_srq.c hns_roce_mtt_cleanup(hr_dev, &srq->mtt); mtt 343 drivers/infiniband/hw/hns/hns_roce_srq.c hns_roce_mtt_cleanup(hr_dev, &srq->idx_que.mtt); mtt 345 drivers/infiniband/hw/hns/hns_roce_srq.c hns_roce_mtt_cleanup(hr_dev, &srq->mtt); mtt 353 drivers/infiniband/hw/hns/hns_roce_srq.c hns_roce_mtt_cleanup(hr_dev, &srq->idx_que.mtt); mtt 356 drivers/infiniband/hw/hns/hns_roce_srq.c hns_roce_mtt_cleanup(hr_dev, &srq->mtt); mtt 391 drivers/infiniband/hw/hns/hns_roce_srq.c srq->mtt.mtt_type = MTT_TYPE_SRQWQE; mtt 392 drivers/infiniband/hw/hns/hns_roce_srq.c srq->idx_que.mtt.mtt_type = MTT_TYPE_IDX; mtt 414 drivers/infiniband/hw/hns/hns_roce_srq.c &srq->mtt, 0, srq); mtt 450 drivers/infiniband/hw/hns/hns_roce_srq.c hns_roce_mtt_cleanup(hr_dev, &srq->mtt); mtt 453 drivers/infiniband/hw/hns/hns_roce_srq.c hns_roce_mtt_cleanup(hr_dev, &srq->idx_que.mtt); mtt 113 drivers/infiniband/hw/mlx4/cq.c &buf->mtt); mtt 117 drivers/infiniband/hw/mlx4/cq.c err = mlx4_buf_write_mtt(dev->dev, &buf->mtt, &buf->buf); mtt 124 drivers/infiniband/hw/mlx4/cq.c mlx4_mtt_cleanup(dev->dev, &buf->mtt); mtt 154 drivers/infiniband/hw/mlx4/cq.c err = mlx4_mtt_init(dev->dev, n, shift, &buf->mtt); mtt 159 drivers/infiniband/hw/mlx4/cq.c err = mlx4_ib_umem_write_mtt(dev, &buf->mtt, *umem); mtt 166 drivers/infiniband/hw/mlx4/cq.c mlx4_mtt_cleanup(dev->dev, &buf->mtt); mtt 248 drivers/infiniband/hw/mlx4/cq.c err = mlx4_cq_alloc(dev->dev, entries, &cq->buf.mtt, uar, cq->db.dma, mtt 278 drivers/infiniband/hw/mlx4/cq.c mlx4_mtt_cleanup(dev->dev, &cq->buf.mtt); mtt 384 drivers/infiniband/hw/mlx4/cq.c struct mlx4_mtt mtt; mtt 422 drivers/infiniband/hw/mlx4/cq.c mtt = cq->buf.mtt; mtt 424 drivers/infiniband/hw/mlx4/cq.c err = mlx4_cq_resize(dev->dev, &cq->mcq, entries, &cq->resize_buf->buf.mtt); mtt 428 drivers/infiniband/hw/mlx4/cq.c mlx4_mtt_cleanup(dev->dev, &mtt); mtt 462 drivers/infiniband/hw/mlx4/cq.c mlx4_mtt_cleanup(dev->dev, &cq->resize_buf->buf.mtt); mtt 484 drivers/infiniband/hw/mlx4/cq.c mlx4_mtt_cleanup(dev->dev, &mcq->buf.mtt); mtt 106 drivers/infiniband/hw/mlx4/mlx4_ib.h struct mlx4_mtt mtt; mtt 325 drivers/infiniband/hw/mlx4/mlx4_ib.h struct mlx4_mtt mtt; mtt 365 drivers/infiniband/hw/mlx4/mlx4_ib.h struct mlx4_mtt mtt; mtt 731 drivers/infiniband/hw/mlx4/mlx4_ib.h int mlx4_ib_umem_write_mtt(struct mlx4_ib_dev *dev, struct mlx4_mtt *mtt, mtt 95 drivers/infiniband/hw/mlx4/mr.c struct mlx4_mtt *mtt, mtt 134 drivers/infiniband/hw/mlx4/mr.c err = mlx4_write_mtt(dev->dev, mtt, *start_index, mtt 182 drivers/infiniband/hw/mlx4/mr.c int mlx4_ib_umem_write_mtt(struct mlx4_ib_dev *dev, struct mlx4_mtt *mtt, mtt 200 drivers/infiniband/hw/mlx4/mr.c mtt_shift = mtt->page_shift; mtt 214 drivers/infiniband/hw/mlx4/mr.c err = mlx4_ib_umem_write_mtt_block(dev, mtt, mtt_size, mtt 232 drivers/infiniband/hw/mlx4/mr.c err = mlx4_ib_umem_write_mtt_block(dev, mtt, mtt_size, mtt 241 drivers/infiniband/hw/mlx4/mr.c err = mlx4_write_mtt(dev->dev, mtt, start_index, npages, pages); mtt 432 drivers/infiniband/hw/mlx4/mr.c err = mlx4_ib_umem_write_mtt(dev, &mr->mmr.mtt, mr->umem); mtt 528 drivers/infiniband/hw/mlx4/mr.c err = mlx4_ib_umem_write_mtt(dev, &mmr->mmr.mtt, mmr->umem); mtt 672 drivers/infiniband/hw/mlx4/qp.c qp->mtt = (to_mqp( mtt 673 drivers/infiniband/hw/mlx4/qp.c (struct ib_qp *)init_attr->rwq_ind_tbl->ind_tbl[0]))->mtt; mtt 927 drivers/infiniband/hw/mlx4/qp.c err = mlx4_mtt_init(dev->dev, n, shift, &qp->mtt); mtt 932 drivers/infiniband/hw/mlx4/qp.c err = mlx4_ib_umem_write_mtt(dev, &qp->mtt, qp->umem); mtt 983 drivers/infiniband/hw/mlx4/qp.c mlx4_mtt_cleanup(dev->dev, &qp->mtt); mtt 1122 drivers/infiniband/hw/mlx4/qp.c err = mlx4_mtt_init(dev->dev, n, shift, &qp->mtt); mtt 1127 drivers/infiniband/hw/mlx4/qp.c err = mlx4_ib_umem_write_mtt(dev, &qp->mtt, qp->umem); mtt 1175 drivers/infiniband/hw/mlx4/qp.c &qp->mtt); mtt 1179 drivers/infiniband/hw/mlx4/qp.c err = mlx4_buf_write_mtt(dev->dev, &qp->mtt, &qp->buf); mtt 1284 drivers/infiniband/hw/mlx4/qp.c mlx4_mtt_cleanup(dev->dev, &qp->mtt); mtt 1488 drivers/infiniband/hw/mlx4/qp.c mlx4_mtt_cleanup(dev->dev, &qp->mtt); mtt 2558 drivers/infiniband/hw/mlx4/qp.c err = mlx4_qp_modify(dev->dev, &qp->mtt, to_mlx4_state(cur_state), mtt 118 drivers/infiniband/hw/mlx4/srq.c PAGE_SHIFT, &srq->mtt); mtt 122 drivers/infiniband/hw/mlx4/srq.c err = mlx4_ib_umem_write_mtt(dev, &srq->mtt, srq->umem); mtt 158 drivers/infiniband/hw/mlx4/srq.c &srq->mtt); mtt 162 drivers/infiniband/hw/mlx4/srq.c err = mlx4_buf_write_mtt(dev->dev, &srq->mtt, &srq->buf); mtt 180 drivers/infiniband/hw/mlx4/srq.c &srq->mtt, srq->db.dma, &srq->msrq); mtt 204 drivers/infiniband/hw/mlx4/srq.c mlx4_mtt_cleanup(dev->dev, &srq->mtt); mtt 268 drivers/infiniband/hw/mlx4/srq.c mlx4_mtt_cleanup(dev->dev, &msrq->mtt); mtt 2148 drivers/infiniband/hw/mlx5/devx.c (MLX5_ST_SZ_BYTES(mtt) * obj->ncont); mtt 2158 drivers/infiniband/hw/mlx5/devx.c __be64 *mtt; mtt 2161 drivers/infiniband/hw/mlx5/devx.c mtt = (__be64 *)MLX5_ADDR_OF(umem, umem, mtt); mtt 2168 drivers/infiniband/hw/mlx5/devx.c mlx5_ib_populate_pas(dev, obj->umem, obj->page_shift, mtt, mtt 211 drivers/infiniband/hw/mlx5/odp.c struct mlx5_ib_mr *mtt = odp->private; mtt 213 drivers/infiniband/hw/mlx5/odp.c pklm->key = cpu_to_be32(mtt->ibmr.lkey); mtt 483 drivers/infiniband/hw/mlx5/odp.c struct mlx5_ib_mr *mtt; mtt 502 drivers/infiniband/hw/mlx5/odp.c mtt = implicit_mr_alloc(mr->ibmr.pd, odp, 0, mtt 504 drivers/infiniband/hw/mlx5/odp.c if (IS_ERR(mtt)) { mtt 507 drivers/infiniband/hw/mlx5/odp.c return ERR_CAST(mtt); mtt 510 drivers/infiniband/hw/mlx5/odp.c odp->private = mtt; mtt 511 drivers/infiniband/hw/mlx5/odp.c mtt->umem = &odp->umem; mtt 512 drivers/infiniband/hw/mlx5/odp.c mtt->mmkey.iova = addr; mtt 513 drivers/infiniband/hw/mlx5/odp.c mtt->parent = mr; mtt 516 drivers/infiniband/hw/mlx5/odp.c smp_store_release(&mtt->live, 1); mtt 468 drivers/infiniband/hw/mthca/mthca_dev.h void mthca_free_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt); mtt 469 drivers/infiniband/hw/mthca/mthca_dev.h int mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt, mtt 211 drivers/infiniband/hw/mthca/mthca_mr.c struct mthca_mtt *mtt; mtt 217 drivers/infiniband/hw/mthca/mthca_mr.c mtt = kmalloc(sizeof *mtt, GFP_KERNEL); mtt 218 drivers/infiniband/hw/mthca/mthca_mr.c if (!mtt) mtt 221 drivers/infiniband/hw/mthca/mthca_mr.c mtt->buddy = buddy; mtt 222 drivers/infiniband/hw/mthca/mthca_mr.c mtt->order = 0; mtt 224 drivers/infiniband/hw/mthca/mthca_mr.c ++mtt->order; mtt 226 drivers/infiniband/hw/mthca/mthca_mr.c mtt->first_seg = mthca_alloc_mtt_range(dev, mtt->order, buddy); mtt 227 drivers/infiniband/hw/mthca/mthca_mr.c if (mtt->first_seg == -1) { mtt 228 drivers/infiniband/hw/mthca/mthca_mr.c kfree(mtt); mtt 232 drivers/infiniband/hw/mthca/mthca_mr.c return mtt; mtt 240 drivers/infiniband/hw/mthca/mthca_mr.c void mthca_free_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt) mtt 242 drivers/infiniband/hw/mthca/mthca_mr.c if (!mtt) mtt 245 drivers/infiniband/hw/mthca/mthca_mr.c mthca_buddy_free(mtt->buddy, mtt->first_seg, mtt->order); mtt 248 drivers/infiniband/hw/mthca/mthca_mr.c mtt->first_seg, mtt 249 drivers/infiniband/hw/mthca/mthca_mr.c mtt->first_seg + (1 << mtt->order) - 1); mtt 251 drivers/infiniband/hw/mthca/mthca_mr.c kfree(mtt); mtt 254 drivers/infiniband/hw/mthca/mthca_mr.c static int __mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt, mtt 269 drivers/infiniband/hw/mthca/mthca_mr.c mtt->first_seg * dev->limits.mtt_seg_size + mtt 316 drivers/infiniband/hw/mthca/mthca_mr.c struct mthca_mtt *mtt, int start_index, mtt 322 drivers/infiniband/hw/mthca/mthca_mr.c mtts = dev->mr_table.tavor_fmr.mtt_base + mtt->first_seg * dev->limits.mtt_seg_size + mtt 330 drivers/infiniband/hw/mthca/mthca_mr.c struct mthca_mtt *mtt, int start_index, mtt 343 drivers/infiniband/hw/mthca/mthca_mr.c mtts = mthca_table_find(dev->mr_table.mtt_table, mtt->first_seg + mtt 358 drivers/infiniband/hw/mthca/mthca_mr.c int mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt, mtt 366 drivers/infiniband/hw/mthca/mthca_mr.c return __mthca_write_mtt(dev, mtt, start_index, buffer_list, list_len); mtt 371 drivers/infiniband/hw/mthca/mthca_mr.c mthca_arbel_write_mtt_seg(dev, mtt, start_index, mtt 374 drivers/infiniband/hw/mthca/mthca_mr.c mthca_tavor_write_mtt_seg(dev, mtt, start_index, mtt 463 drivers/infiniband/hw/mthca/mthca_mr.c if (!mr->mtt) mtt 475 drivers/infiniband/hw/mthca/mthca_mr.c if (mr->mtt) mtt 478 drivers/infiniband/hw/mthca/mthca_mr.c mr->mtt->first_seg * dev->limits.mtt_seg_size); mtt 515 drivers/infiniband/hw/mthca/mthca_mr.c mr->mtt = NULL; mtt 526 drivers/infiniband/hw/mthca/mthca_mr.c mr->mtt = mthca_alloc_mtt(dev, list_len); mtt 527 drivers/infiniband/hw/mthca/mthca_mr.c if (IS_ERR(mr->mtt)) mtt 528 drivers/infiniband/hw/mthca/mthca_mr.c return PTR_ERR(mr->mtt); mtt 530 drivers/infiniband/hw/mthca/mthca_mr.c err = mthca_write_mtt(dev, mr->mtt, 0, buffer_list, list_len); mtt 532 drivers/infiniband/hw/mthca/mthca_mr.c mthca_free_mtt(dev, mr->mtt); mtt 539 drivers/infiniband/hw/mthca/mthca_mr.c mthca_free_mtt(dev, mr->mtt); mtt 564 drivers/infiniband/hw/mthca/mthca_mr.c mthca_free_mtt(dev, mr->mtt); mtt 607 drivers/infiniband/hw/mthca/mthca_mr.c mr->mtt = __mthca_alloc_mtt(dev, list_len, dev->mr_table.fmr_mtt_buddy); mtt 608 drivers/infiniband/hw/mthca/mthca_mr.c if (IS_ERR(mr->mtt)) { mtt 609 drivers/infiniband/hw/mthca/mthca_mr.c err = PTR_ERR(mr->mtt); mtt 613 drivers/infiniband/hw/mthca/mthca_mr.c mtt_seg = mr->mtt->first_seg * dev->limits.mtt_seg_size; mtt 617 drivers/infiniband/hw/mthca/mthca_mr.c mr->mtt->first_seg, mtt 668 drivers/infiniband/hw/mthca/mthca_mr.c mthca_free_mtt(dev, mr->mtt); mtt 684 drivers/infiniband/hw/mthca/mthca_mr.c mthca_free_mtt(dev, fmr->mtt); mtt 893 drivers/infiniband/hw/mthca/mthca_provider.c mr->mtt = mthca_alloc_mtt(dev, n); mtt 894 drivers/infiniband/hw/mthca/mthca_provider.c if (IS_ERR(mr->mtt)) { mtt 895 drivers/infiniband/hw/mthca/mthca_provider.c err = PTR_ERR(mr->mtt); mtt 917 drivers/infiniband/hw/mthca/mthca_provider.c err = mthca_write_mtt(dev, mr->mtt, n, pages, i); mtt 926 drivers/infiniband/hw/mthca/mthca_provider.c err = mthca_write_mtt(dev, mr->mtt, n, pages, i); mtt 941 drivers/infiniband/hw/mthca/mthca_provider.c mthca_free_mtt(dev, mr->mtt); mtt 76 drivers/infiniband/hw/mthca/mthca_provider.h struct mthca_mtt *mtt; mtt 82 drivers/infiniband/hw/mthca/mthca_provider.h struct mthca_mtt *mtt; mtt 790 drivers/net/ethernet/mellanox/mlx4/alloc.c &wqres->mtt); mtt 794 drivers/net/ethernet/mellanox/mlx4/alloc.c err = mlx4_buf_write_mtt(dev, &wqres->mtt, &wqres->buf); mtt 801 drivers/net/ethernet/mellanox/mlx4/alloc.c mlx4_mtt_cleanup(dev, &wqres->mtt); mtt 814 drivers/net/ethernet/mellanox/mlx4/alloc.c mlx4_mtt_cleanup(dev, &wqres->mtt); mtt 192 drivers/net/ethernet/mellanox/mlx4/cq.c int entries, struct mlx4_mtt *mtt) mtt 205 drivers/net/ethernet/mellanox/mlx4/cq.c cq_context->log_page_size = mtt->page_shift - 12; mtt 206 drivers/net/ethernet/mellanox/mlx4/cq.c mtt_addr = mlx4_mtt_addr(dev, mtt); mtt 342 drivers/net/ethernet/mellanox/mlx4/cq.c struct mlx4_mtt *mtt, struct mlx4_uar *uar, u64 db_rec, mtt 384 drivers/net/ethernet/mellanox/mlx4/cq.c cq_context->log_page_size = mtt->page_shift - MLX4_ICM_PAGE_SHIFT; mtt 386 drivers/net/ethernet/mellanox/mlx4/cq.c mtt_addr = mlx4_mtt_addr(dev, mtt); mtt 141 drivers/net/ethernet/mellanox/mlx4/en_cq.c err = mlx4_cq_alloc(mdev->dev, cq->size, &cq->wqres.mtt, mtt 1091 drivers/net/ethernet/mellanox/mlx4/en_rx.c err = mlx4_qp_to_ready(mdev->dev, &ring->wqres.mtt, context, qp, state); mtt 1232 drivers/net/ethernet/mellanox/mlx4/en_rx.c err = mlx4_qp_to_ready(mdev->dev, &priv->res.mtt, &context, mtt 208 drivers/net/ethernet/mellanox/mlx4/en_tx.c err = mlx4_qp_to_ready(mdev->dev, &ring->sp_wqres.mtt, &ring->sp_context, mtt 1028 drivers/net/ethernet/mellanox/mlx4/eq.c err = mlx4_mtt_init(dev, npages, PAGE_SHIFT, &eq->mtt); mtt 1032 drivers/net/ethernet/mellanox/mlx4/eq.c err = mlx4_write_mtt(dev, &eq->mtt, 0, npages, dma_list); mtt 1042 drivers/net/ethernet/mellanox/mlx4/eq.c mtt_addr = mlx4_mtt_addr(dev, &eq->mtt); mtt 1066 drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_mtt_cleanup(dev, &eq->mtt); mtt 1106 drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_mtt_cleanup(dev, &eq->mtt); mtt 1001 drivers/net/ethernet/mellanox/mlx4/main.c dev->quotas.mtt = func_cap->mtt_quota; mtt 400 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_mtt mtt; mtt 1031 drivers/net/ethernet/mellanox/mlx4/mlx4.h int __mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, mtt 195 drivers/net/ethernet/mellanox/mlx4/mr.c struct mlx4_mtt *mtt) mtt 200 drivers/net/ethernet/mellanox/mlx4/mr.c mtt->order = -1; mtt 201 drivers/net/ethernet/mellanox/mlx4/mr.c mtt->page_shift = MLX4_ICM_PAGE_SHIFT; mtt 204 drivers/net/ethernet/mellanox/mlx4/mr.c mtt->page_shift = page_shift; mtt 206 drivers/net/ethernet/mellanox/mlx4/mr.c for (mtt->order = 0, i = 1; i < npages; i <<= 1) mtt 207 drivers/net/ethernet/mellanox/mlx4/mr.c ++mtt->order; mtt 209 drivers/net/ethernet/mellanox/mlx4/mr.c mtt->offset = mlx4_alloc_mtt_range(dev, mtt->order); mtt 210 drivers/net/ethernet/mellanox/mlx4/mr.c if (mtt->offset == -1) mtt 251 drivers/net/ethernet/mellanox/mlx4/mr.c void mlx4_mtt_cleanup(struct mlx4_dev *dev, struct mlx4_mtt *mtt) mtt 253 drivers/net/ethernet/mellanox/mlx4/mr.c if (mtt->order < 0) mtt 256 drivers/net/ethernet/mellanox/mlx4/mr.c mlx4_free_mtt_range(dev, mtt->offset, mtt->order); mtt 260 drivers/net/ethernet/mellanox/mlx4/mr.c u64 mlx4_mtt_addr(struct mlx4_dev *dev, struct mlx4_mtt *mtt) mtt 262 drivers/net/ethernet/mellanox/mlx4/mr.c return (u64) mtt->offset * dev->caps.mtt_entry_sz; mtt 428 drivers/net/ethernet/mellanox/mlx4/mr.c return mlx4_mtt_init(dev, npages, page_shift, &mr->mtt); mtt 562 drivers/net/ethernet/mellanox/mlx4/mr.c mlx4_mtt_cleanup(dev, &mr->mtt); mtt 584 drivers/net/ethernet/mellanox/mlx4/mr.c mlx4_mtt_cleanup(dev, &mr->mtt); mtt 585 drivers/net/ethernet/mellanox/mlx4/mr.c mr->mtt.order = -1; mtt 595 drivers/net/ethernet/mellanox/mlx4/mr.c err = mlx4_mtt_init(dev, npages, page_shift, &mr->mtt); mtt 604 drivers/net/ethernet/mellanox/mlx4/mr.c if (mr->mtt.order < 0) { mtt 609 drivers/net/ethernet/mellanox/mlx4/mr.c &mr->mtt)); mtt 610 drivers/net/ethernet/mellanox/mlx4/mr.c if (mr->mtt.page_shift == 0) mtt 611 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->mtt_sz = cpu_to_be32(1 << mr->mtt.order); mtt 613 drivers/net/ethernet/mellanox/mlx4/mr.c if (mr->mtt.order >= 0 && mr->mtt.page_shift == 0) { mtt 651 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->entity_size = cpu_to_be32(mr->mtt.page_shift); mtt 653 drivers/net/ethernet/mellanox/mlx4/mr.c if (mr->mtt.order < 0) { mtt 658 drivers/net/ethernet/mellanox/mlx4/mr.c &mr->mtt)); mtt 661 drivers/net/ethernet/mellanox/mlx4/mr.c if (mr->mtt.order >= 0 && mr->mtt.page_shift == 0) { mtt 666 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->mtt_sz = cpu_to_be32(1 << mr->mtt.order); mtt 692 drivers/net/ethernet/mellanox/mlx4/mr.c static int mlx4_write_mtt_chunk(struct mlx4_dev *dev, struct mlx4_mtt *mtt, mtt 700 drivers/net/ethernet/mellanox/mlx4/mr.c mtts = mlx4_table_find(&priv->mr_table.mtt_table, mtt->offset + mtt 718 drivers/net/ethernet/mellanox/mlx4/mr.c int __mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, mtt 728 drivers/net/ethernet/mellanox/mlx4/mr.c max_mtts_first_page = mtts_per_page - (mtt->offset + start_index) mtt 734 drivers/net/ethernet/mellanox/mlx4/mr.c err = mlx4_write_mtt_chunk(dev, mtt, start_index, chunk, page_list); mtt 746 drivers/net/ethernet/mellanox/mlx4/mr.c int mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, mtt 755 drivers/net/ethernet/mellanox/mlx4/mr.c if (mtt->order < 0) mtt 767 drivers/net/ethernet/mellanox/mlx4/mr.c inbox[0] = cpu_to_be64(mtt->offset + start_index); mtt 786 drivers/net/ethernet/mellanox/mlx4/mr.c return __mlx4_write_mtt(dev, mtt, start_index, npages, page_list); mtt 790 drivers/net/ethernet/mellanox/mlx4/mr.c int mlx4_buf_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, mtt 807 drivers/net/ethernet/mellanox/mlx4/mr.c err = mlx4_write_mtt(dev, mtt, 0, buf->npages, page_list); mtt 1070 drivers/net/ethernet/mellanox/mlx4/mr.c fmr->mr.mtt.offset, mtt 87 drivers/net/ethernet/mellanox/mlx4/qp.c static int __mlx4_qp_modify(struct mlx4_dev *dev, struct mlx4_mtt *mtt, mtt 164 drivers/net/ethernet/mellanox/mlx4/qp.c u64 mtt_addr = mlx4_mtt_addr(dev, mtt); mtt 167 drivers/net/ethernet/mellanox/mlx4/qp.c context->log_page_size = mtt->page_shift - MLX4_ICM_PAGE_SHIFT; mtt 208 drivers/net/ethernet/mellanox/mlx4/qp.c int mlx4_qp_modify(struct mlx4_dev *dev, struct mlx4_mtt *mtt, mtt 214 drivers/net/ethernet/mellanox/mlx4/qp.c return __mlx4_qp_modify(dev, mtt, cur_state, new_state, context, mtt 914 drivers/net/ethernet/mellanox/mlx4/qp.c int mlx4_qp_to_ready(struct mlx4_dev *dev, struct mlx4_mtt *mtt, mtt 932 drivers/net/ethernet/mellanox/mlx4/qp.c err = mlx4_qp_modify(dev, mtt, states[i], states[i + 1], mtt 110 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mtt *mtt; mtt 158 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mtt *mtt; mtt 170 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mtt *mtt; mtt 181 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mtt *mtt; mtt 193 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mtt *mtt; mtt 456 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c dev->quotas.mtt = dev->caps.num_mtts - dev->caps.reserved_mtts; mtt 468 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c dev->quotas.mtt = mtt 2744 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int size, struct res_mtt *mtt) mtt 2746 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int res_start = mtt->com.res_id; mtt 2747 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int res_size = (1 << mtt->order); mtt 2762 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mtt *mtt; mtt 2804 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, mtt_base, RES_MTT, &mtt); mtt 2809 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c mr_get_mtt_size(inbox->buf), mtt); mtt 2813 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c mpt->mtt = mtt; mtt 2821 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_inc(&mtt->ref_count); mtt 2822 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, mtt->com.res_id, RES_MTT); mtt 2830 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, mtt->com.res_id, RES_MTT); mtt 2857 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (mpt->mtt) mtt 2858 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&mpt->mtt->ref_count); mtt 2959 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mtt *mtt; mtt 2990 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, mtt_base, RES_MTT, &mtt); mtt 2994 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = check_mtt_range(dev, slave, mtt_base, mtt_size, mtt); mtt 3020 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_inc(&mtt->ref_count); mtt 3021 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp->mtt = mtt; mtt 3105 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mtt *mtt; mtt 3114 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, mtt_base, RES_MTT, &mtt); mtt 3118 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = check_mtt_range(dev, slave, mtt_base, mtt_size, mtt); mtt 3126 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_inc(&mtt->ref_count); mtt 3127 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c eq->mtt = mtt; mtt 3128 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, mtt->com.res_id, RES_MTT); mtt 3133 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, mtt->com.res_id, RES_MTT); mtt 3163 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mtt *mtt; mtt 3167 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry(mtt, &tracker->slave_list[slave].res_list[RES_MTT], mtt 3169 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (!check_mtt_range(dev, slave, start, len, mtt)) { mtt 3170 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c *res = mtt; mtt 3171 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c mtt->com.from_state = mtt->com.state; mtt 3172 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c mtt->com.state = RES_MTT_BUSY; mtt 3268 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_mtt mtt; mtt 3284 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c mtt.offset = 0; /* TBD this is broken but I don't handle it since mtt 3286 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c mtt.order = 0; mtt 3287 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c mtt.page_shift = 0; mtt 3291 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = __mlx4_write_mtt(dev, &mtt, be64_to_cpu(page_list[0]), npages, mtt 3315 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, eq->mtt->com.res_id, RES_MTT, NULL); mtt 3323 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&eq->mtt->ref_count); mtt 3324 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, eq->mtt->com.res_id, RES_MTT); mtt 3331 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, eq->mtt->com.res_id, RES_MTT); mtt 3444 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mtt *mtt; mtt 3449 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, mtt_base, RES_MTT, &mtt); mtt 3452 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = check_mtt_range(dev, slave, mtt_base, cq_get_mtt_size(cqc), mtt); mtt 3458 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_inc(&mtt->ref_count); mtt 3459 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c cq->mtt = mtt; mtt 3460 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, mtt->com.res_id, RES_MTT); mtt 3465 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, mtt->com.res_id, RES_MTT); mtt 3487 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&cq->mtt->ref_count); mtt 3529 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mtt *mtt; mtt 3533 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, cq->mtt->com.res_id, RES_MTT, &orig_mtt); mtt 3537 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (orig_mtt != cq->mtt) { mtt 3542 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, mtt_base, RES_MTT, &mtt); mtt 3546 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = check_mtt_range(dev, slave, mtt_base, cq_get_mtt_size(cqc), mtt); mtt 3554 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_inc(&mtt->ref_count); mtt 3555 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c cq->mtt = mtt; mtt 3556 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, mtt->com.res_id, RES_MTT); mtt 3560 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, mtt->com.res_id, RES_MTT); mtt 3617 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mtt *mtt; mtt 3628 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, mtt_base, RES_MTT, &mtt); mtt 3632 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c mtt); mtt 3640 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_inc(&mtt->ref_count); mtt 3641 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c srq->mtt = mtt; mtt 3642 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, mtt->com.res_id, RES_MTT); mtt 3647 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, mtt->com.res_id, RES_MTT); mtt 3670 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&srq->mtt->ref_count); mtt 4001 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&qp->mtt->ref_count); mtt 4717 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&qp->mtt->ref_count); mtt 4781 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&srq->mtt->ref_count); mtt 4845 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&cq->mtt->ref_count); mtt 4912 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (mpt->mtt) mtt 4913 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&mpt->mtt->ref_count); mtt 4933 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mtt *mtt; mtt 4945 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(mtt, tmp, mtt_list, com.list) { mtt 4947 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (mtt->com.owner == slave) { mtt 4948 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c base = mtt->com.res_id; mtt 4949 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c state = mtt->com.from_state; mtt 4954 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c mtt->order); mtt 4956 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c rb_erase(&mtt->com.node, mtt 4958 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_del(&mtt->com.list); mtt 4961 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 1 << mtt->order, 0); mtt 4962 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c kfree(mtt); mtt 5157 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&eq->mtt->ref_count); mtt 163 drivers/net/ethernet/mellanox/mlx4/srq.c struct mlx4_mtt *mtt, u64 db_rec, struct mlx4_srq *srq) mtt 193 drivers/net/ethernet/mellanox/mlx4/srq.c srq_context->log_page_size = mtt->page_shift - MLX4_ICM_PAGE_SHIFT; mtt 195 drivers/net/ethernet/mellanox/mlx4/srq.c mtt_addr = mlx4_mtt_addr(dev, mtt); mtt 178 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c __be64 *mtt; mtt 183 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c sizeof(*mtt) * round_up(TRACER_BUFFER_PAGE_NUM, 2); mtt 191 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c mtt = (u64 *)MLX5_ADDR_OF(create_mkey_in, in, klm_pas_mtt); mtt 193 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c mtt[i] = cpu_to_be64(tracer->buff.dma + i * PAGE_SIZE); mtt 2467 drivers/usb/host/xhci.h u32 mtt; mtt 2472 drivers/usb/host/xhci.h mtt = info & DEV_MTT; mtt 2496 drivers/usb/host/xhci.h mtt ? " multi-TT" : "", mtt 180 include/linux/mlx4/cq.h int entries, struct mlx4_mtt *mtt); mtt 684 include/linux/mlx4/device.h struct mlx4_mtt mtt; mtt 689 include/linux/mlx4/device.h struct mlx4_mtt mtt; mtt 846 include/linux/mlx4/device.h int mtt; mtt 1113 include/linux/mlx4/device.h struct mlx4_mtt *mtt); mtt 1114 include/linux/mlx4/device.h void mlx4_mtt_cleanup(struct mlx4_dev *dev, struct mlx4_mtt *mtt); mtt 1115 include/linux/mlx4/device.h u64 mlx4_mtt_addr(struct mlx4_dev *dev, struct mlx4_mtt *mtt); mtt 1125 include/linux/mlx4/device.h int mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, mtt 1127 include/linux/mlx4/device.h int mlx4_buf_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, mtt 1138 include/linux/mlx4/device.h int mlx4_cq_alloc(struct mlx4_dev *dev, int nent, struct mlx4_mtt *mtt, mtt 1151 include/linux/mlx4/device.h struct mlx4_mtt *mtt, u64 db_rec, struct mlx4_srq *srq); mtt 477 include/linux/mlx4/qp.h int mlx4_qp_modify(struct mlx4_dev *dev, struct mlx4_mtt *mtt, mtt 485 include/linux/mlx4/qp.h int mlx4_qp_to_ready(struct mlx4_dev *dev, struct mlx4_mtt *mtt, mtt 9951 include/linux/mlx5/mlx5_ifc.h struct mlx5_ifc_mtt_bits mtt[0];