Home
last modified time | relevance | path

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

/drivers/infiniband/core/
Diwcm.c764 static void cm_conn_req_handler(struct iwcm_id_private *listen_id_priv, in cm_conn_req_handler() argument
778 cm_id = iw_create_cm_id(listen_id_priv->id.device, in cm_conn_req_handler()
779 listen_id_priv->id.cm_handler, in cm_conn_req_handler()
780 listen_id_priv->id.context); in cm_conn_req_handler()
788 cm_id->local_addr = listen_id_priv->id.local_addr; in cm_conn_req_handler()
790 ret = iwpm_get_remote_info(&listen_id_priv->id.m_local_addr, in cm_conn_req_handler()
797 iw_cm_check_wildcard(&listen_id_priv->id.m_local_addr, in cm_conn_req_handler()
811 spin_lock_irqsave(&listen_id_priv->lock, flags); in cm_conn_req_handler()
812 if (listen_id_priv->state != IW_CM_STATE_LISTEN) { in cm_conn_req_handler()
813 spin_unlock_irqrestore(&listen_id_priv->lock, flags); in cm_conn_req_handler()
[all …]
Dcma.c787 const struct rdma_id_private *listen_id_priv, in cma_ib_acquire_dev() argument
806 gid_type = listen_id_priv->cma_dev->default_gid_type[req->port - 1]; in cma_ib_acquire_dev()
819 cma_attach_to_dev(id_priv, listen_id_priv->cma_dev); in cma_ib_acquire_dev()
826 const struct rdma_id_private *listen_id_priv) in cma_iw_acquire_dev() argument
845 cma_dev = listen_id_priv->cma_dev; in cma_iw_acquire_dev()
846 port = listen_id_priv->id.port_num; in cma_iw_acquire_dev()
847 gid_type = listen_id_priv->gid_type; in cma_iw_acquire_dev()
859 if (listen_id_priv->cma_dev == cma_dev && in cma_iw_acquire_dev()
860 listen_id_priv->id.port_num == port) in cma_iw_acquire_dev()
2226 struct rdma_id_private *listen_id_priv; in cma_ib_new_conn_id() local
[all …]
Dcm.c1229 struct cm_id_private *listen_id_priv; in ib_cm_insert_listen() local
1245 listen_id_priv = cm_insert_listen(cm_id_priv, cm_handler); in ib_cm_insert_listen()
1246 if (listen_id_priv != cm_id_priv) { in ib_cm_insert_listen()
1249 if (!listen_id_priv) in ib_cm_insert_listen()
1251 return &listen_id_priv->id; in ib_cm_insert_listen()