Searched refs:cr_ptr (Results 1 – 13 of 13) sorted by relevance
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_cr_util.c | 66 DAPL_CR *cr_ptr; in dapls_cr_alloc() local 69 cr_ptr = (DAPL_CR *)dapl_os_alloc(sizeof (DAPL_CR)); in dapls_cr_alloc() 70 if (cr_ptr == NULL) { in dapls_cr_alloc() 75 (void) dapl_os_memzero(cr_ptr, sizeof (DAPL_CR)); in dapls_cr_alloc() 80 cr_ptr->header.provider = ia_ptr->header.provider; in dapls_cr_alloc() 81 cr_ptr->header.magic = DAPL_MAGIC_CR; in dapls_cr_alloc() 82 cr_ptr->header.handle_type = DAT_HANDLE_TYPE_CR; in dapls_cr_alloc() 83 cr_ptr->header.owner_ia = ia_ptr; in dapls_cr_alloc() 84 cr_ptr->header.user_context.as_64 = 0; in dapls_cr_alloc() 85 cr_ptr->header.user_context.as_ptr = NULL; in dapls_cr_alloc() [all …]
|
H A D | dapl_cr_reject.c | 70 DAPL_CR *cr_ptr; in dapl_cr_reject() local 85 cr_ptr = (DAPL_CR *)cr_handle; in dapl_cr_reject() 91 ep_ptr = (DAPL_EP *)cr_ptr->param.local_ep_handle; in dapl_cr_reject() 92 entry_ep_handle = cr_ptr->param.local_ep_handle; in dapl_cr_reject() 97 cr_ptr->param.local_ep_handle = NULL; in dapl_cr_reject() 100 dat_status = dapls_ib_reject_connection(cr_ptr->ib_cm_handle, in dapl_cr_reject() 101 IB_CM_REJ_REASON_CONSUMER_REJ, cr_ptr->sp_ptr); in dapl_cr_reject() 107 cr_ptr->param.local_ep_handle = entry_ep_handle; in dapl_cr_reject() 108 cr_ptr->param.local_ep_handle = (DAT_EP_HANDLE)ep_ptr; in dapl_cr_reject() 116 sp_ptr = cr_ptr->sp_ptr; in dapl_cr_reject() [all …]
|
H A D | dapl_cr_callback.c | 200 ((DAPL_CR *)ep_ptr->cr_ptr)->param.private_data_size, in dapls_cr_callback() 201 ((DAPL_CR *)ep_ptr->cr_ptr)->param.private_data); in dapls_cr_callback() 230 ep_ptr->cr_ptr = NULL; in dapls_cr_callback() 340 DAPL_CR *cr_ptr; in dapli_connection_request() local 349 cr_ptr = dapls_cr_alloc(sp_ptr->header.owner_ia); in dapli_connection_request() 350 if (cr_ptr == NULL) { in dapli_connection_request() 358 cr_ptr->sp_ptr = sp_ptr; /* maintain sp_ptr in case of reject */ in dapli_connection_request() 359 cr_ptr->ib_cm_handle = ib_cm_handle; in dapli_connection_request() 364 cr_ptr->param.private_data = cr_ptr->private_data; in dapli_connection_request() 365 cr_ptr->param.remote_ia_address_ptr = in dapli_connection_request() [all …]
|
H A D | dapl_cr_accept.c | 77 DAPL_CR *cr_ptr; in dapl_cr_accept() local 91 cr_ptr = (DAPL_CR *) cr_handle; in dapl_cr_accept() 100 cr_ptr->param.local_ep_handle != NULL)) { in dapl_cr_accept() 124 ep_handle = cr_ptr->param.local_ep_handle; in dapl_cr_accept() 176 dat_status = dapls_ib_qp_alloc(cr_ptr->header.owner_ia, ep_ptr, in dapl_cr_accept() 189 entry_ep_handle = cr_ptr->param.local_ep_handle; in dapl_cr_accept() 191 ep_ptr->cm_handle = cr_ptr->ib_cm_handle; in dapl_cr_accept() 192 ep_ptr->cr_ptr = cr_ptr; in dapl_cr_accept() 193 ep_ptr->param.remote_ia_address_ptr = cr_ptr->param. in dapl_cr_accept() 195 cr_ptr->param.local_ep_handle = ep_handle; in dapl_cr_accept() [all …]
|
H A D | dapl_sp_util.c | 156 IN DAPL_CR *cr_ptr) in dapl_sp_link_cr() argument 160 &cr_ptr->header.ia_list_entry, cr_ptr); in dapl_sp_link_cr() 188 DAPL_CR *cr_ptr; in dapl_sp_search_cr() local 193 cr_ptr = (DAPL_CR *) dapl_llist_peek_head(&sp_ptr->cr_list_head); in dapl_sp_search_cr() 196 if (cr_ptr->ib_cm_handle == ib_cm_handle) { in dapl_sp_search_cr() 197 cr_ptr_fnd = cr_ptr; in dapl_sp_search_cr() 200 cr_ptr = cr_ptr->header.ia_list_entry.flink->data; in dapl_sp_search_cr() 201 } while ((void *)cr_ptr != (void *)sp_ptr->cr_list_head->data); in dapl_sp_search_cr() 228 IN DAPL_CR *cr_ptr) in dapl_sp_remove_cr() argument 241 &cr_ptr->header.ia_list_entry); in dapl_sp_remove_cr()
|
H A D | dapl_cr_handoff.c | 73 DAPL_CR *cr_ptr; in dapl_cr_handoff() local 80 cr_ptr = (DAPL_CR *)cr_handle; in dapl_cr_handoff() 81 dat_status = dapls_ib_handoff_connection(cr_ptr, cr_handoff); in dapl_cr_handoff() 84 dapl_sp_remove_cr(cr_ptr->sp_ptr, cr_ptr); in dapl_cr_handoff() 85 dapls_cr_free(cr_ptr); in dapl_cr_handoff()
|
H A D | dapl_cr_query.c | 71 DAPL_CR *cr_ptr; in dapl_cr_query() local 90 cr_ptr = (DAPL_CR *) cr_handle; in dapl_cr_query() 93 (void) dapl_os_memcpy(cr_param, &cr_ptr->param, sizeof (DAT_CR_PARAM)); in dapl_cr_query()
|
H A D | dapl_osd.c | 369 DAPL_CR *cr_ptr; in dapls_osd_fork_cleanup() local 469 cr_ptr = (DAPL_CR *) in dapls_osd_fork_cleanup() 472 dapl_sp_remove_cr(sp_ptr, cr_ptr); in dapls_osd_fork_cleanup() 473 dapls_cr_free(cr_ptr); in dapls_osd_fork_cleanup()
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/include/ |
H A D | dapl_sp_util.h | 58 IN DAPL_CR *cr_ptr); 66 IN DAPL_CR *cr_ptr);
|
H A D | dapl_cr_util.h | 54 IN DAPL_CR *cr_ptr);
|
H A D | dapl_adapter_util.h | 124 IN DAPL_CR *cr_ptr,
|
H A D | dapl.h | 490 void *cr_ptr; member
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_tavor_ibtf_cm.c | 661 dapls_ib_handoff_connection(IN DAPL_CR *cr_ptr, IN DAT_CONN_QUAL cr_handoff) in dapls_ib_handoff_connection() argument 669 cr_ptr->header.owner_ia->hca_ptr->ib_hca_handle->ia_fd, in dapls_ib_handoff_connection() 670 cr_ptr->sp_ptr->cm_srvc_handle->sv_sp_hkey, in dapls_ib_handoff_connection() 671 (uint64_t)cr_ptr->ib_cm_handle, cr_handoff); in dapls_ib_handoff_connection() 673 args.crh_bkl_cookie = (uint64_t)cr_ptr->ib_cm_handle; in dapls_ib_handoff_connection() 674 args.crh_sp_hkey = cr_ptr->sp_ptr->cm_srvc_handle->sv_sp_hkey; in dapls_ib_handoff_connection() 677 retval = ioctl(cr_ptr->header.owner_ia->hca_ptr->ib_hca_handle->ia_fd, in dapls_ib_handoff_connection()
|