Lines Matching refs:mtt_nents
27 if (mem->mtt_nents > ERDMA_MAX_INLINE_MTT_ENTRIES) { in assemble_qbuf_mtt_for_cmd()
33 memcpy(addr1, mtt->buf + 1, MTT_SIZE(mem->mtt_nents - 1)); in assemble_qbuf_mtt_for_cmd()
99 user_qp->sq_mem.mtt_nents); in create_qp_cmd()
103 user_qp->rq_mem.mtt_nents); in create_qp_cmd()
219 if (mem->mtt_nents == 1) { in create_cq_cmd()
233 mem->mtt_nents); in create_cq_cmd()
771 mem->mtt_nents = ib_umem_num_dma_blocks(mem->umem, mem->page_size); in get_mtt_entries()
772 mem->page_cnt = mem->mtt_nents; in get_mtt_entries()
1121 if (mr->mem.mtt_nents >= mr->mem.page_cnt) in erdma_set_page()
1124 mr->mem.mtt->buf[mr->mem.mtt_nents] = addr; in erdma_set_page()
1125 mr->mem.mtt_nents++; in erdma_set_page()
1136 mr->mem.mtt_nents = 0; in erdma_map_mr_sg()