Home
last modified time | relevance | path

Searched refs:ep_state (Results 1 – 25 of 28) sorted by relevance

12

/titanic_50/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_ep_free.c85 ep_ptr->param.ep_state == DAT_EP_STATE_DISCONNECTED)) { in dapl_ep_free()
91 if (ep_ptr->param.ep_state == DAT_EP_STATE_RESERVED || in dapl_ep_free()
92 ep_ptr->param.ep_state == DAT_EP_STATE_PASSIVE_CONNECTION_PENDING || in dapl_ep_free()
93 ep_ptr->param.ep_state == in dapl_ep_free()
97 ep_ptr->param.ep_state, ep_ptr); in dapl_ep_free()
116 if (ep_ptr->param.ep_state == DAT_EP_STATE_CONNECTED || in dapl_ep_free()
117 ep_ptr->param.ep_state == DAT_EP_STATE_ACTIVE_CONNECTION_PENDING || in dapl_ep_free()
118 ep_ptr->param.ep_state == DAT_EP_STATE_COMPLETION_PENDING || in dapl_ep_free()
119 ep_ptr->param.ep_state == DAT_EP_STATE_DISCONNECT_PENDING) { in dapl_ep_free()
124 ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECT_PENDING; in dapl_ep_free()
[all …]
H A Ddapl_ep_disconnect.c102 if (ep_ptr->param.ep_state != DAT_EP_STATE_CONNECTED && in dapl_ep_disconnect()
103 ep_ptr->param.ep_state != DAT_EP_STATE_DISCONNECTED && in dapl_ep_disconnect()
104 ep_ptr->param.ep_state != DAT_EP_STATE_ACTIVE_CONNECTION_PENDING && in dapl_ep_disconnect()
105 ep_ptr->param.ep_state != DAT_EP_STATE_COMPLETION_PENDING && in dapl_ep_disconnect()
106 ep_ptr->param.ep_state != DAT_EP_STATE_DISCONNECT_PENDING) { in dapl_ep_disconnect()
113 if (ep_ptr->param.ep_state == DAT_EP_STATE_DISCONNECTED) { in dapl_ep_disconnect()
123 if (ep_ptr->param.ep_state == DAT_EP_STATE_DISCONNECT_PENDING && in dapl_ep_disconnect()
134 if (ep_ptr->param.ep_state == DAT_EP_STATE_ACTIVE_CONNECTION_PENDING || in dapl_ep_disconnect()
135 ep_ptr->param.ep_state == DAT_EP_STATE_COMPLETION_PENDING) { in dapl_ep_disconnect()
139 ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECT_PENDING; in dapl_ep_disconnect()
[all …]
H A Ddapl_evd_connection_callb.c111 if (ep_ptr->param.ep_state == DAT_EP_STATE_DISCONNECT_PENDING) { in dapl_evd_connection_callback()
119 ep_ptr->param.ep_state = DAT_EP_STATE_CONNECTED; in dapl_evd_connection_callback()
136 ep_ptr->param.ep_state = in dapl_evd_connection_callback()
159 if (ep_ptr->param.ep_state == DAT_EP_STATE_DISCONNECTED) { in dapl_evd_connection_callback()
163 ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECTED; in dapl_evd_connection_callback()
186 ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECTED; in dapl_evd_connection_callback()
198 ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECTED; in dapl_evd_connection_callback()
212 ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECTED; in dapl_evd_connection_callback()
224 ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECTED; in dapl_evd_connection_callback()
H A Ddapl_ep_get_status.c69 OUT DAT_EP_STATE *ep_state, in dapl_ep_get_status() argument
77 ep_handle, ep_state, in_dto_idle, out_dto_idle); in dapl_ep_get_status()
94 if (ep_state != NULL) { in dapl_ep_get_status()
95 *ep_state = ep_ptr->param.ep_state; in dapl_ep_get_status()
H A Ddapl_ep_reset.c87 if (ep_ptr->param.ep_state != DAT_EP_STATE_UNCONNECTED && in dapl_ep_reset()
88 ep_ptr->param.ep_state != DAT_EP_STATE_DISCONNECTED) { in dapl_ep_reset()
94 if (ep_ptr->param.ep_state == DAT_EP_STATE_DISCONNECTED) { in dapl_ep_reset()
96 ep_ptr->param.ep_state = DAT_EP_STATE_UNCONNECTED; in dapl_ep_reset()
H A Ddapl_cr_accept.c125 if ((((DAPL_EP *) ep_handle)->param.ep_state != in dapl_cr_accept()
127 (((DAPL_EP *)ep_handle)->param.ep_state != in dapl_cr_accept()
133 if (((DAPL_EP *)ep_handle)->param.ep_state != in dapl_cr_accept()
188 entry_ep_state = ep_ptr->param.ep_state; in dapl_cr_accept()
190 ep_ptr->param.ep_state = DAT_EP_STATE_COMPLETION_PENDING; in dapl_cr_accept()
214 ep_ptr->param.ep_state = entry_ep_state; in dapl_cr_accept()
H A Ddapl_cr_callback.c182 if (ep_ptr->param.ep_state == DAT_EP_STATE_DISCONNECT_PENDING) { in dapls_cr_callback()
192 ep_ptr->param.ep_state = DAT_EP_STATE_CONNECTED; in dapls_cr_callback()
219 if (ep_ptr->param.ep_state == DAT_EP_STATE_DISCONNECTED) { in dapls_cr_callback()
223 ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECTED; in dapls_cr_callback()
257 ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECTED; in dapls_cr_callback()
278 ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECTED; in dapls_cr_callback()
288 ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECTED; in dapls_cr_callback()
420 ep_ptr->param.ep_state = in dapli_connection_request()
425 ep_ptr->param.ep_state = in dapli_connection_request()
H A Ddapl_evd_qp_async_error_callb.c113 ep_ptr->param.ep_state); in dapl_evd_qp_async_error_callback()
119 if (ep_ptr->param.ep_state == DAT_EP_STATE_CONNECTED) { in dapl_evd_qp_async_error_callback()
120 ep_ptr->param.ep_state = DAT_EP_STATE_ERROR; in dapl_evd_qp_async_error_callback()
H A Ddapl_cr_reject.c95 entry_ep_state = ep_ptr->param.ep_state; in dapl_cr_reject()
96 ep_ptr->param.ep_state = DAT_EP_STATE_UNCONNECTED; in dapl_cr_reject()
106 ep_ptr->param.ep_state = entry_ep_state; in dapl_cr_reject()
H A Ddapl_ep_connect.c231 if (ep_ptr->param.ep_state != DAT_EP_STATE_UNCONNECTED) { in dapl_ep_connect()
261 ep_ptr->param.ep_state = DAT_EP_STATE_ACTIVE_CONNECTION_PENDING; in dapl_ep_connect()
298 ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECTED; in dapl_ep_connect()
309 ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECTED; in dapl_ep_connect()
312 ep_ptr->param.ep_state = DAT_EP_STATE_UNCONNECTED; in dapl_ep_connect()
H A Ddapl_ep_modify.c246 dapl_os_assert((ep2->param.ep_state != in dapl_ep_modify()
248 (ep2->param.ep_state != in dapl_ep_modify()
414 (ep->param.ep_state != DAT_EP_STATE_UNCONNECTED && in dapli_ep_modify_validate_parameters()
415 ep->param.ep_state != in dapli_ep_modify_validate_parameters()
435 (ep->param.ep_state != DAT_EP_STATE_UNCONNECTED && in dapli_ep_modify_validate_parameters()
436 ep->param.ep_state != DAT_EP_STATE_RESERVED && in dapli_ep_modify_validate_parameters()
437 ep->param.ep_state != in dapli_ep_modify_validate_parameters()
H A Ddapl_rsp_free.c103 if (ep_ptr->param.ep_state == DAT_EP_STATE_RESERVED) { in dapl_rsp_free()
104 ep_ptr->param.ep_state = DAT_EP_STATE_UNCONNECTED; in dapl_rsp_free()
H A Ddapl_rsp_create.c118 if (ep_ptr->param.ep_state != DAT_EP_STATE_UNCONNECTED) { in dapl_rsp_create()
162 ep_ptr->param.ep_state = DAT_EP_STATE_RESERVED; in dapl_rsp_create()
H A Ddapl_evd_util.c933 DAT_EP_STATE ep_state; in dapli_evd_cqe_to_event() local
984 ep_state = ep_ptr->param.ep_state; in dapli_evd_cqe_to_event()
986 if ((ep_state == DAT_EP_STATE_ACTIVE_CONNECTION_PENDING) || in dapli_evd_cqe_to_event()
987 (ep_state == DAT_EP_STATE_COMPLETION_PENDING) || in dapli_evd_cqe_to_event()
1180 if ((dto_error) && (ep_ptr->param.ep_state == DAT_EP_STATE_CONNECTED)) { in dapli_evd_cqe_to_event()
1181 ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECTED; in dapli_evd_cqe_to_event()
1188 if (process_premature_events && (ep_ptr->param.ep_state == in dapli_evd_cqe_to_event()
H A Ddapl_ep_query.c100 if (ep_ptr->param.ep_state == DAT_EP_STATE_CONNECTED) { in dapl_ep_query()
H A Ddapl_ep_dup_connect.c106 if (ep_dup_ptr->param.ep_state != DAT_EP_STATE_CONNECTED) { in dapl_ep_dup_connect()
H A Ddapl_rmr_bind.c112 if (DAT_EP_STATE_CONNECTED != ep_ptr->param.ep_state) { in dapli_rmr_bind_fuse()
207 if (DAT_EP_STATE_CONNECTED != ep_ptr->param.ep_state) { in dapli_rmr_bind_unfuse()
H A Ddapl_ep_util.c117 ep_ptr->param.ep_state = DAT_EP_STATE_UNCONNECTED; in dapl_ep_alloc()
374 ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECTED; in dapls_ep_timeout()
397 switch (ep_ptr->param.ep_state) { in dapls_ep_state_subtype()
/titanic_50/usr/src/uts/common/io/usb/usba/
H A Dusba_ugen.c1086 ((epp->ep_state & in usb_ugen_poll()
1094 epp->ep_state |= in usb_ugen_poll()
1108 ((epp->ep_state & in usb_ugen_poll()
1116 epp->ep_state |= in usb_ugen_poll()
1513 if (epp->ep_state == UGEN_EP_STATE_NONE) { in ugen_epxs_data_init()
1518 epp->ep_state = UGEN_EP_STATE_ACTIVE; in ugen_epxs_data_init()
1556 if (epp->ep_state != UGEN_EP_STATE_NONE) { in ugen_epxs_data_destroy()
1724 if (epp->ep_state != UGEN_EP_STATE_NONE) { in ugen_epx_shutdown()
1775 i, epp->ep_state); in ugen_epxs_check_open_nodes()
1777 if (epp->ep_state & UGEN_EP_STATE_XS_OPEN) { in ugen_epxs_check_open_nodes()
[all …]
/titanic_50/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_cm.c400 if (ep->ep_state == RDS_EP_STATE_UNCONNECTED) { in rds_handle_cm_req()
401 ep->ep_state = RDS_EP_STATE_PASSIVE_PENDING; in rds_handle_cm_req()
404 } else if (ep->ep_state == RDS_EP_STATE_ACTIVE_PENDING) { in rds_handle_cm_req()
425 ep->ep_state = RDS_EP_STATE_PASSIVE_PENDING; in rds_handle_cm_req()
449 ep->ep_state = RDS_EP_STATE_UNCONNECTED; in rds_handle_cm_req()
513 ep->ep_state); in rds_handle_cm_conn_est()
516 ASSERT((ep->ep_state == RDS_EP_STATE_ACTIVE_PENDING) || in rds_handle_cm_conn_est()
517 (ep->ep_state == RDS_EP_STATE_PASSIVE_PENDING)); in rds_handle_cm_conn_est()
518 ep->ep_state = RDS_EP_STATE_CONNECTED; in rds_handle_cm_conn_est()
551 if (ep->ep_state != RDS_EP_STATE_CONNECTED) { in rds_handle_cm_conn_closed()
[all …]
H A Drdsib_ep.c400 ep->ep_state = RDS_EP_STATE_UNCONNECTED; in rds_ep_init()
631 if (ep->ep_state == RDS_EP_STATE_UNCONNECTED) { in rds_session_connect()
632 ep->ep_state = RDS_EP_STATE_ACTIVE_PENDING; in rds_session_connect()
644 "unexpected state: %d", sp, ep, ep->ep_state); in rds_session_connect()
654 if (ep->ep_state == RDS_EP_STATE_UNCONNECTED) { in rds_session_connect()
655 ep->ep_state = RDS_EP_STATE_ACTIVE_PENDING; in rds_session_connect()
667 "unexpected state: %d", sp, ep, ep->ep_state); in rds_session_connect()
692 RDS_DPRINTF3(LABEL, "EP(%p) State: %d", ep, ep->ep_state); in rds_session_close()
700 while (ep->ep_state == RDS_EP_STATE_CLOSING) { in rds_session_close()
706 if (ep->ep_state == RDS_EP_STATE_CONNECTED) { in rds_session_close()
[all …]
/titanic_50/usr/src/uts/common/sys/ib/clients/rds/
H A Drdsib_ep.h249 rds_ep_state_t ep_state; member
/titanic_50/usr/src/uts/common/sys/usb/usba/
H A Dusba_ugend.h182 uint_t ep_state; /* Endpoint state, see below */ member
/titanic_50/usr/src/lib/udapl/libdat/common/
H A Ddat_api.c352 OUT DAT_EP_STATE *ep_state, in dat_ep_get_status() argument
360 ep_state, in dat_ep_get_status()
/titanic_50/usr/src/lib/udapl/libdat/include/dat/
H A Ddat_redirection.h239 #define DAT_EP_GET_STATUS(ep, ep_state, recv_idle, request_idle) \ argument
242 (ep_state),\

12