Home
last modified time | relevance | path

Searched refs:crossing_mr (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dmr.c1632 struct ib_mr *crossing_mr; in reg_user_mr_dmabuf_by_data_direct() local
1661 crossing_mr = reg_create_crossing_vhca_mr(pd, virt_addr, length, access_flags, in reg_user_mr_dmabuf_by_data_direct()
1664 if (IS_ERR(crossing_mr)) { in reg_user_mr_dmabuf_by_data_direct()
1666 ret = PTR_ERR(crossing_mr); in reg_user_mr_dmabuf_by_data_direct()
1671 to_mmr(crossing_mr)->dd_crossed_mr = to_mmr(crossed_mr); in reg_user_mr_dmabuf_by_data_direct()
1672 to_mmr(crossing_mr)->data_direct = true; in reg_user_mr_dmabuf_by_data_direct()
1675 return ret ? ERR_PTR(ret) : crossing_mr; in reg_user_mr_dmabuf_by_data_direct()