Lines Matching refs:local_odp_mr
727 struct rds_mr *local_odp_mr; in rds_cmsg_rdma_args() local
733 local_odp_mr = in rds_cmsg_rdma_args()
734 kzalloc(sizeof(*local_odp_mr), GFP_KERNEL); in rds_cmsg_rdma_args()
735 if (!local_odp_mr) { in rds_cmsg_rdma_args()
739 RB_CLEAR_NODE(&local_odp_mr->r_rb_node); in rds_cmsg_rdma_args()
740 kref_init(&local_odp_mr->r_kref); in rds_cmsg_rdma_args()
741 local_odp_mr->r_trans = rs->rs_transport; in rds_cmsg_rdma_args()
742 local_odp_mr->r_sock = rs; in rds_cmsg_rdma_args()
743 local_odp_mr->r_trans_private = in rds_cmsg_rdma_args()
745 NULL, 0, rs, &local_odp_mr->r_key, NULL, in rds_cmsg_rdma_args()
747 if (IS_ERR(local_odp_mr->r_trans_private)) { in rds_cmsg_rdma_args()
748 ret = PTR_ERR(local_odp_mr->r_trans_private); in rds_cmsg_rdma_args()
750 local_odp_mr->r_trans_private); in rds_cmsg_rdma_args()
751 kfree(local_odp_mr); in rds_cmsg_rdma_args()
756 local_odp_mr, local_odp_mr->r_trans_private); in rds_cmsg_rdma_args()
757 op->op_odp_mr = local_odp_mr; in rds_cmsg_rdma_args()