Lines Matching refs:cma_src_addr
438 static struct sockaddr *cma_src_addr(struct rdma_id_private *id_priv) in cma_src_addr() function
971 addr = (struct sockaddr_ib *)cma_src_addr(id_priv); in cma_resolve_ib_dev()
1706 struct sockaddr *addr = cma_src_addr(id_priv); in cma_match_private_data()
1959 if (cma_any_addr(cma_src_addr(id_priv)) && !id_priv->cma_dev) in cma_cancel_operation()
2289 cma_any_addr(cma_src_addr(id_priv))) { in cma_ib_new_conn_id()
2293 } else if (!cma_any_addr(cma_src_addr(id_priv))) { in cma_ib_new_conn_id()
2294 ret = cma_translate_addr(cma_src_addr(id_priv), &rt->addr.dev_addr); in cma_ib_new_conn_id()
2338 if (!cma_any_addr(cma_src_addr(id_priv))) { in cma_ib_new_udp_id()
2339 ret = cma_translate_addr(cma_src_addr(id_priv), in cma_ib_new_udp_id()
2513 memcpy(cma_src_addr(id_priv), laddr, in cma_iw_handler()
2611 memcpy(cma_src_addr(conn_id), laddr, rdma_addr_size(laddr)); in iw_conn_req_handler()
2636 addr = cma_src_addr(id_priv); in cma_ib_listen()
2665 memcpy(&id_priv->cm_id.iw->local_addr, cma_src_addr(id_priv), in cma_iw_listen()
2666 rdma_addr_size(cma_src_addr(id_priv))); in cma_iw_listen()
2714 memcpy(cma_src_addr(dev_id_priv), cma_src_addr(id_priv), in cma_listen_on_dev()
2715 rdma_addr_size(cma_src_addr(id_priv))); in cma_listen_on_dev()
2956 sin6 = (struct sockaddr_in6 *) cma_src_addr(id_priv); in cma_query_ib_route()
2961 sib = (struct sockaddr_ib *) cma_src_addr(id_priv); in cma_query_ib_route()
3259 addr6 = (struct sockaddr_in6 *)cma_src_addr(id_priv); in cma_get_roce_udp_flow_label()
3263 sport = be16_to_cpu(cma_port(cma_src_addr(id_priv))); in cma_get_roce_udp_flow_label()
3469 cma_set_loopback(cma_src_addr(id_priv)); in cma_bind_loopback()
3493 addr = cma_src_addr(id_priv); in addr_handler()
3626 addr = cma_src_addr(id_priv); in cma_bind_port()
3679 struct sockaddr *saddr = cma_src_addr(id_priv); in cma_port_is_unique()
3686 struct sockaddr *cur_saddr = cma_src_addr(cur_id); in cma_port_is_unique()
3774 addr = cma_src_addr(id_priv); in cma_check_port()
3782 cur_addr = cma_src_addr(cur_id); in cma_check_port()
3805 snum = ntohs(cma_port(cma_src_addr(id_priv))); in cma_use_port()
3842 sib = (struct sockaddr_ib *) cma_src_addr(id_priv); in cma_select_ib_ps()
3880 if (cma_any_port(cma_src_addr(id_priv))) in cma_get_port()
3995 memcpy(cma_src_addr(id_priv), addr, rdma_addr_size(addr)); in rdma_bind_addr_dst()
4136 ret = rdma_resolve_ip(cma_src_addr(id_priv), dst_addr, in rdma_resolve_addr()
4170 src4 = (struct sockaddr_in *) cma_src_addr(id_priv); in cma_format_hdr()
4180 src6 = (struct sockaddr_in6 *) cma_src_addr(id_priv); in cma_format_hdr()
4410 memcpy(&cm_id->local_addr, cma_src_addr(id_priv), in cma_connect_iw()
4411 rdma_addr_size(cma_src_addr(id_priv))); in cma_connect_iw()