Lines Matching refs:mmr
57 ~0ull, convert_access(acc), 0, 0, &mr->mmr); in mlx4_ib_get_dma_mr()
61 err = mlx4_mr_enable(to_mdev(pd->device)->dev, &mr->mmr); in mlx4_ib_get_dma_mr()
65 mr->ibmr.rkey = mr->ibmr.lkey = mr->mmr.key; in mlx4_ib_get_dma_mr()
71 mlx4_mr_free(to_mdev(pd->device)->dev, &mr->mmr); in mlx4_ib_get_dma_mr()
149 convert_access(access_flags), n, shift, &mr->mmr); in mlx4_ib_reg_user_mr()
153 err = mlx4_ib_umem_write_mtt(dev, &mr->mmr.mtt, mr->umem); in mlx4_ib_reg_user_mr()
157 err = mlx4_mr_enable(dev->dev, &mr->mmr); in mlx4_ib_reg_user_mr()
161 mr->ibmr.rkey = mr->ibmr.lkey = mr->mmr.key; in mlx4_ib_reg_user_mr()
166 mlx4_mr_free(to_mdev(pd->device)->dev, &mr->mmr); in mlx4_ib_reg_user_mr()
181 mlx4_mr_free(to_mdev(ibmr->device)->dev, &mr->mmr); in mlx4_ib_dereg_mr()
201 max_page_list_len, 0, &mr->mmr); in mlx4_ib_alloc_fast_reg_mr()
205 err = mlx4_mr_enable(dev->dev, &mr->mmr); in mlx4_ib_alloc_fast_reg_mr()
209 mr->ibmr.rkey = mr->ibmr.lkey = mr->mmr.key; in mlx4_ib_alloc_fast_reg_mr()
215 mlx4_mr_free(dev->dev, &mr->mmr); in mlx4_ib_alloc_fast_reg_mr()