Lines Matching refs:rec
304 struct ib_sa_mcmember_rec rec; in cma_set_qkey() local
312 ib_addr_get_mgid(dev_addr, &rec.mgid); in cma_set_qkey()
313 ret = ib_sa_get_mcmember_rec(device, port_num, &rec.mgid, &rec); in cma_set_qkey()
314 *qkey = be32_to_cpu(rec.qkey); in cma_set_qkey()
2637 status = ib_attach_mcast(id_priv->id.qp, &multicast->rec.mgid, in cma_ib_mc_handler()
2638 multicast->rec.mlid); in cma_ib_mc_handler()
2647 id_priv->id.port_num, &multicast->rec, in cma_ib_mc_handler()
2650 event.param.ud.qkey = be32_to_cpu(multicast->rec.qkey); in cma_ib_mc_handler()
2692 struct ib_sa_mcmember_rec rec; in cma_join_ib_multicast() local
2697 ib_addr_get_mgid(dev_addr, &rec.mgid); in cma_join_ib_multicast()
2699 &rec.mgid, &rec); in cma_join_ib_multicast()
2703 cma_set_mgid(id_priv, (struct sockaddr *) &mc->addr, &rec.mgid); in cma_join_ib_multicast()
2705 rec.qkey = cpu_to_be32(RDMA_UDP_QKEY); in cma_join_ib_multicast()
2706 ib_addr_get_sgid(dev_addr, &rec.port_gid); in cma_join_ib_multicast()
2707 rec.pkey = cpu_to_be16(ib_addr_get_pkey(dev_addr)); in cma_join_ib_multicast()
2708 rec.join_state = 1; in cma_join_ib_multicast()
2717 id_priv->id.port_num, &rec, in cma_join_ib_multicast()
2783 &mc->multicast.ib->rec.mgid, in rdma_leave_multicast()
2784 mc->multicast.ib->rec.mlid); in rdma_leave_multicast()