Searched refs:MTT_SIZE (Results 1 – 3 of 3) sorted by relevance
413 mr->mem.mtt->buf, MTT_SIZE(mr->mem.mtt_nents)); in erdma_push_one_sqe()415 MTT_SIZE(mr->mem.mtt_nents); in erdma_push_one_sqe()
33 memcpy(addr1, mtt->buf + 1, MTT_SIZE(mem->mtt_nents - 1)); in assemble_qbuf_mtt_for_cmd()150 MTT_SIZE(mr->mem.page_cnt)); in regmr_cmd()717 tmp_mtt = erdma_create_scatter_mtt(dev, MTT_SIZE(mtt->nsg)); in erdma_create_mtt()785 mem->mtt = erdma_create_mtt(dev, MTT_SIZE(mem->page_cnt), in get_mtt_entries()1104 mr->mem.mtt = erdma_create_mtt(dev, MTT_SIZE(max_num_sg), true); in erdma_ib_alloc_mr()
68 #define MTT_SIZE(mtt_cnt) ((mtt_cnt) << 3) /* per mtt entry takes 8 Bytes. */ macro