Searched refs:cm_event (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/infiniband/hw/amso1100/
H A Dc2_ae.c152 struct iw_cm_event cm_event; c2_ae_event() local
158 struct sockaddr_in *laddr = (struct sockaddr_in *)&cm_event.local_addr; c2_ae_event()
159 struct sockaddr_in *raddr = (struct sockaddr_in *)&cm_event.remote_addr; c2_ae_event()
169 memset(&cm_event, 0, sizeof(cm_event)); c2_ae_event()
176 status = cm_event.status = c2_convert_cm_status(c2_wr_get_result(wr)); c2_ae_event()
210 cm_event.event = IW_CM_EVENT_CONNECT_REPLY; c2_ae_event()
216 cm_event.private_data_len = c2_ae_event()
218 cm_event.private_data = res->private_data; c2_ae_event()
226 cm_event.private_data_len = 0; c2_ae_event()
227 cm_event.private_data = NULL; c2_ae_event()
230 cm_id->event_handler(cm_id, &cm_event); c2_ae_event()
255 cm_event.event = IW_CM_EVENT_CLOSE; c2_ae_event()
256 cm_event.status = 0; c2_ae_event()
258 cm_id->event_handler(cm_id, &cm_event); c2_ae_event()
284 cm_event.event = IW_CM_EVENT_CONNECT_REQUEST; c2_ae_event()
285 cm_event.provider_data = (void*)(unsigned long)req->cr_handle; c2_ae_event()
290 cm_event.private_data_len = c2_ae_event()
292 cm_event.private_data = req->private_data; c2_ae_event()
297 cm_event.ird = cm_event.ord = 128; c2_ae_event()
300 cm_id->event_handler(cm_id, &cm_event); c2_ae_event()
H A Dc2_intr.c122 struct iw_cm_event cm_event; handle_vq() local
191 cm_event.ird = cm_event.ord = 128; handle_vq()
198 cm_event.event = req->event; handle_vq()
199 cm_event.status = 0; handle_vq()
200 cm_event.local_addr = req->cm_id->local_addr; handle_vq()
201 cm_event.remote_addr = req->cm_id->remote_addr; handle_vq()
202 cm_event.private_data = NULL; handle_vq()
203 cm_event.private_data_len = 0; handle_vq()
204 req->cm_id->event_handler(req->cm_id, &cm_event); handle_vq()
/linux-4.1.27/drivers/infiniband/hw/nes/
H A Dnes_cm.c3033 struct iw_cm_event cm_event; nes_cm_disconn_true() local
3116 cm_event.event = IW_CM_EVENT_DISCONNECT; nes_cm_disconn_true()
3117 cm_event.status = disconn_status; nes_cm_disconn_true()
3118 cm_event.local_addr = cm_id->local_addr; nes_cm_disconn_true()
3119 cm_event.remote_addr = cm_id->remote_addr; nes_cm_disconn_true()
3120 cm_event.private_data = NULL; nes_cm_disconn_true()
3121 cm_event.private_data_len = 0; nes_cm_disconn_true()
3130 ret = cm_id->event_handler(cm_id, &cm_event); nes_cm_disconn_true()
3142 cm_event.event = IW_CM_EVENT_CLOSE; nes_cm_disconn_true()
3143 cm_event.status = 0; nes_cm_disconn_true()
3144 cm_event.provider_data = cm_id->provider_data; nes_cm_disconn_true()
3145 cm_event.local_addr = cm_id->local_addr; nes_cm_disconn_true()
3146 cm_event.remote_addr = cm_id->remote_addr; nes_cm_disconn_true()
3147 cm_event.private_data = NULL; nes_cm_disconn_true()
3148 cm_event.private_data_len = 0; nes_cm_disconn_true()
3150 ret = cm_id->event_handler(cm_id, &cm_event); nes_cm_disconn_true()
3221 struct iw_cm_event cm_event; nes_accept() local
3434 cm_event.event = IW_CM_EVENT_ESTABLISHED; nes_accept()
3435 cm_event.status = 0; nes_accept()
3436 cm_event.provider_data = (void *)nesqp; nes_accept()
3437 cm_event.local_addr = cm_id->local_addr; nes_accept()
3438 cm_event.remote_addr = cm_id->remote_addr; nes_accept()
3439 cm_event.private_data = NULL; nes_accept()
3440 cm_event.private_data_len = 0; nes_accept()
3441 cm_event.ird = cm_node->ird_size; nes_accept()
3442 cm_event.ord = cm_node->ord_size; nes_accept()
3444 ret = cm_id->event_handler(cm_id, &cm_event); nes_accept()
3768 struct iw_cm_event cm_event; cm_event_connected() local
3786 cm_event_laddr = (struct sockaddr_in *)&cm_event.local_addr; cm_event_connected()
3851 cm_event.event = IW_CM_EVENT_CONNECT_REPLY; cm_event_connected()
3852 cm_event.status = 0; cm_event_connected()
3853 cm_event.provider_data = cm_id->provider_data; cm_event_connected()
3856 cm_event.remote_addr = cm_id->remote_addr; cm_event_connected()
3858 cm_event.private_data = (void *)event->cm_node->mpa_frame_buf; cm_event_connected()
3859 cm_event.private_data_len = (u8)event->cm_node->mpa_frame_size; cm_event_connected()
3860 cm_event.ird = cm_node->ird_size; cm_event_connected()
3861 cm_event.ord = cm_node->ord_size; cm_event_connected()
3864 ret = cm_id->event_handler(cm_id, &cm_event); cm_event_connected()
3887 struct iw_cm_event cm_event; cm_event_connect_error() local
3908 cm_event.event = IW_CM_EVENT_CONNECT_REPLY; cm_event_connect_error()
3909 cm_event.status = -ECONNRESET; cm_event_connect_error()
3910 cm_event.provider_data = cm_id->provider_data; cm_event_connect_error()
3911 cm_event.local_addr = cm_id->local_addr; cm_event_connect_error()
3912 cm_event.remote_addr = cm_id->remote_addr; cm_event_connect_error()
3913 cm_event.private_data = NULL; cm_event_connect_error()
3914 cm_event.private_data_len = 0; cm_event_connect_error()
3919 &cm_event.local_addr; cm_event_connect_error()
3921 &cm_event.remote_addr; cm_event_connect_error()
3927 ret = cm_id->event_handler(cm_id, &cm_event); cm_event_connect_error()
3946 struct iw_cm_event cm_event; cm_event_reset() local
3965 cm_event.event = IW_CM_EVENT_DISCONNECT; cm_event_reset()
3966 cm_event.status = -ECONNRESET; cm_event_reset()
3967 cm_event.provider_data = cm_id->provider_data; cm_event_reset()
3968 cm_event.local_addr = cm_id->local_addr; cm_event_reset()
3969 cm_event.remote_addr = cm_id->remote_addr; cm_event_reset()
3970 cm_event.private_data = NULL; cm_event_reset()
3971 cm_event.private_data_len = 0; cm_event_reset()
3974 ret = cm_id->event_handler(cm_id, &cm_event); cm_event_reset()
3976 cm_event.event = IW_CM_EVENT_CLOSE; cm_event_reset()
3977 cm_event.status = 0; cm_event_reset()
3978 cm_event.provider_data = cm_id->provider_data; cm_event_reset()
3979 cm_event.local_addr = cm_id->local_addr; cm_event_reset()
3980 cm_event.remote_addr = cm_id->remote_addr; cm_event_reset()
3981 cm_event.private_data = NULL; cm_event_reset()
3982 cm_event.private_data_len = 0; cm_event_reset()
3984 ret = cm_id->event_handler(cm_id, &cm_event); cm_event_reset()
4002 struct iw_cm_event cm_event; cm_event_mpa_req() local
4006 &cm_event.local_addr; cm_event_mpa_req()
4008 &cm_event.remote_addr; cm_event_mpa_req()
4019 cm_event.event = IW_CM_EVENT_CONNECT_REQUEST; cm_event_mpa_req()
4020 cm_event.status = 0; cm_event_mpa_req()
4021 cm_event.provider_data = (void *)cm_node; cm_event_mpa_req()
4030 cm_event.private_data = cm_node->mpa_frame_buf; cm_event_mpa_req()
4031 cm_event.private_data_len = (u8)cm_node->mpa_frame_size; cm_event_mpa_req()
4033 cm_event.ird = NES_MAX_IRD; cm_event_mpa_req()
4034 cm_event.ord = NES_MAX_ORD; cm_event_mpa_req()
4036 cm_event.ird = cm_node->ird_size; cm_event_mpa_req()
4037 cm_event.ord = cm_node->ord_size; cm_event_mpa_req()
4040 ret = cm_id->event_handler(cm_id, &cm_event); cm_event_mpa_req()
4051 struct iw_cm_event cm_event; cm_event_mpa_reject() local
4055 &cm_event.local_addr; cm_event_mpa_reject()
4057 &cm_event.remote_addr; cm_event_mpa_reject()
4068 cm_event.event = IW_CM_EVENT_CONNECT_REPLY; cm_event_mpa_reject()
4069 cm_event.status = -ECONNREFUSED; cm_event_mpa_reject()
4070 cm_event.provider_data = cm_id->provider_data; cm_event_mpa_reject()
4080 cm_event.private_data = cm_node->mpa_frame_buf; cm_event_mpa_reject()
4081 cm_event.private_data_len = (u8)cm_node->mpa_frame_size; cm_event_mpa_reject()
4088 ret = cm_id->event_handler(cm_id, &cm_event); cm_event_mpa_reject()
H A Dnes_verbs.c1468 struct iw_cm_event cm_event; nes_destroy_qp() local
1484 cm_event.event = IW_CM_EVENT_CONNECT_REPLY; nes_destroy_qp()
1485 cm_event.status = -ETIMEDOUT; nes_destroy_qp()
1486 cm_event.local_addr = cm_id->local_addr; nes_destroy_qp()
1487 cm_event.remote_addr = cm_id->remote_addr; nes_destroy_qp()
1488 cm_event.private_data = NULL; nes_destroy_qp()
1489 cm_event.private_data_len = 0; nes_destroy_qp()
1496 ret = cm_id->event_handler(cm_id, &cm_event); nes_destroy_qp()
2854 /* struct iw_cm_event cm_event; */ nes_hw_modify_qp()
/linux-4.1.27/drivers/infiniband/core/
H A Dcm.c192 struct ib_cm_event cm_event; member in struct:cm_work
798 timewait_info->work.cm_event.event = IB_CM_TIMEWAIT_EXIT; cm_create_timewait_info()
1294 param = &work->cm_event.param.req_rcvd; cm_format_req_event()
1317 work->cm_event.private_data = &req_msg->private_data; cm_format_req_event()
1326 ret = cm_id_priv->id.cm_handler(&cm_id_priv->id, &work->cm_event); cm_process_work()
1335 &work->cm_event); cm_process_work()
1764 param = &work->cm_event.param.rep_rcvd; cm_format_rep_event()
1776 work->cm_event.private_data = &rep_msg->private_data; cm_format_rep_event()
1953 work->cm_event.private_data = &rtu_msg->private_data; cm_rtu_handler()
2148 work->cm_event.private_data = &dreq_msg->private_data; cm_dreq_handler()
2217 work->cm_event.private_data = &drep_msg->private_data; cm_drep_handler()
2310 param = &work->cm_event.param.rej_rcvd; cm_format_rej_event()
2314 work->cm_event.private_data = &rej_msg->private_data; cm_format_rej_event()
2520 work->cm_event.private_data = &mra_msg->private_data; cm_mra_handler()
2521 work->cm_event.param.mra_rcvd.service_timeout = cm_mra_handler()
2705 param = &work->cm_event.param.lap_rcvd; cm_lap_handler()
2708 work->cm_event.private_data = &lap_msg->private_data; cm_lap_handler()
2842 work->cm_event.param.apr_rcvd.ap_status = apr_msg->ap_status; cm_apr_handler()
2843 work->cm_event.param.apr_rcvd.apr_info = &apr_msg->info; cm_apr_handler()
2844 work->cm_event.param.apr_rcvd.info_len = apr_msg->info_length; cm_apr_handler()
2845 work->cm_event.private_data = &apr_msg->private_data; cm_apr_handler()
2983 param = &work->cm_event.param.sidr_req_rcvd; cm_format_sidr_req_event()
2987 work->cm_event.private_data = &sidr_req_msg->private_data; cm_format_sidr_req_event()
3125 param = &work->cm_event.param.sidr_rep_rcvd; cm_format_sidr_rep_event()
3131 work->cm_event.private_data = &sidr_rep_msg->private_data; cm_format_sidr_rep_event()
3166 struct ib_cm_event cm_event; cm_process_send_error() local
3170 memset(&cm_event, 0, sizeof cm_event); cm_process_send_error()
3183 cm_event.event = IB_CM_REQ_ERROR; cm_process_send_error()
3188 cm_event.event = IB_CM_REP_ERROR; cm_process_send_error()
3192 cm_event.event = IB_CM_DREQ_ERROR; cm_process_send_error()
3196 cm_event.event = IB_CM_SIDR_REQ_ERROR; cm_process_send_error()
3202 cm_event.param.send_status = wc_status; cm_process_send_error()
3205 ret = cm_id_priv->id.cm_handler(&cm_id_priv->id, &cm_event); cm_process_send_error()
3260 switch (work->cm_event.event) { cm_work_handler()
3351 work->cm_event.event = IB_CM_USER_ESTABLISHED; cm_establish()
3458 work->cm_event.event = event; cm_recv_handler()

Completed in 167 milliseconds