• Home
  • Raw
  • Download

Lines Matching refs:cm_id

674 	if (ep->com.cm_id) {  in close_complete_upcall()
676 ep, ep->com.cm_id, ep->hwtid); in close_complete_upcall()
677 ep->com.cm_id->event_handler(ep->com.cm_id, &event); in close_complete_upcall()
678 ep->com.cm_id->rem_ref(ep->com.cm_id); in close_complete_upcall()
679 ep->com.cm_id = NULL; in close_complete_upcall()
691 if (ep->com.cm_id) { in peer_close_upcall()
693 ep, ep->com.cm_id, ep->hwtid); in peer_close_upcall()
694 ep->com.cm_id->event_handler(ep->com.cm_id, &event); in peer_close_upcall()
706 if (ep->com.cm_id) { in peer_abort_upcall()
708 ep->com.cm_id, ep->hwtid); in peer_abort_upcall()
709 ep->com.cm_id->event_handler(ep->com.cm_id, &event); in peer_abort_upcall()
710 ep->com.cm_id->rem_ref(ep->com.cm_id); in peer_abort_upcall()
711 ep->com.cm_id = NULL; in peer_abort_upcall()
731 if (ep->com.cm_id) { in connect_reply_upcall()
734 ep->com.cm_id->event_handler(ep->com.cm_id, &event); in connect_reply_upcall()
737 ep->com.cm_id->rem_ref(ep->com.cm_id); in connect_reply_upcall()
738 ep->com.cm_id = NULL; in connect_reply_upcall()
762 ep->parent_ep->com.cm_id->event_handler( in connect_request_upcall()
763 ep->parent_ep->com.cm_id, in connect_request_upcall()
782 if (ep->com.cm_id) { in established_upcall()
784 ep->com.cm_id->event_handler(ep->com.cm_id, &event); in established_upcall()
1393 child_ep->com.cm_id = NULL; in pass_accept_req()
1492 if (ep->com.cm_id && ep->com.qp) { in peer_close()
1587 if (ep->com.cm_id && ep->com.qp) { in peer_abort()
1654 if ((ep->com.cm_id) && (ep->com.qp)) { in close_con_rpl()
1749 if (ep->com.cm_id && ep->com.qp) { in ep_timeout()
1768 int iwch_reject_cr(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len) in iwch_reject_cr() argument
1771 struct iwch_ep *ep = to_ep(cm_id); in iwch_reject_cr()
1789 int iwch_accept_cr(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in iwch_accept_cr() argument
1794 struct iwch_ep *ep = to_ep(cm_id); in iwch_accept_cr()
1795 struct iwch_dev *h = to_iwch_dev(cm_id->device); in iwch_accept_cr()
1814 cm_id->add_ref(cm_id); in iwch_accept_cr()
1815 ep->com.cm_id = cm_id; in iwch_accept_cr()
1864 ep->com.cm_id = NULL; in iwch_accept_cr()
1866 cm_id->rem_ref(cm_id); in iwch_accept_cr()
1872 static int is_loopback_dst(struct iw_cm_id *cm_id) in is_loopback_dst() argument
1876 dev = ip_dev_find(&init_net, cm_id->remote_addr.sin_addr.s_addr); in is_loopback_dst()
1883 int iwch_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in iwch_connect() argument
1885 struct iwch_dev *h = to_iwch_dev(cm_id->device); in iwch_connect()
1890 if (is_loopback_dst(cm_id)) { in iwch_connect()
1914 cm_id->add_ref(cm_id); in iwch_connect()
1915 ep->com.cm_id = cm_id; in iwch_connect()
1919 ep->com.qp, cm_id); in iwch_connect()
1933 cm_id->local_addr.sin_addr.s_addr, in iwch_connect()
1934 cm_id->remote_addr.sin_addr.s_addr, in iwch_connect()
1935 cm_id->local_addr.sin_port, in iwch_connect()
1936 cm_id->remote_addr.sin_port, IPTOS_LOWDELAY); in iwch_connect()
1944 &cm_id->remote_addr.sin_addr.s_addr); in iwch_connect()
1953 ep->com.local_addr = cm_id->local_addr; in iwch_connect()
1954 ep->com.remote_addr = cm_id->remote_addr; in iwch_connect()
1967 cm_id->rem_ref(cm_id); in iwch_connect()
1973 int iwch_create_listen(struct iw_cm_id *cm_id, int backlog) in iwch_create_listen() argument
1976 struct iwch_dev *h = to_iwch_dev(cm_id->device); in iwch_create_listen()
1990 cm_id->add_ref(cm_id); in iwch_create_listen()
1991 ep->com.cm_id = cm_id; in iwch_create_listen()
1993 ep->com.local_addr = cm_id->local_addr; in iwch_create_listen()
2014 cm_id->provider_data = ep; in iwch_create_listen()
2020 cm_id->rem_ref(cm_id); in iwch_create_listen()
2027 int iwch_destroy_listen(struct iw_cm_id *cm_id) in iwch_destroy_listen() argument
2030 struct iwch_listen_ep *ep = to_listen_ep(cm_id); in iwch_destroy_listen()
2045 cm_id->rem_ref(cm_id); in iwch_destroy_listen()