Home
last modified time | relevance | path

Searched refs:ia_ptr (Results 1 – 25 of 38) sorted by relevance

12

/titanic_50/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_ia_util.c70 DAPL_IA * ia_ptr; in dapl_ia_alloc() local
73 ia_ptr = (DAPL_IA *) dapl_os_alloc(sizeof (DAPL_IA)); in dapl_ia_alloc()
74 if (ia_ptr == NULL) { in dapl_ia_alloc()
79 (void) dapl_os_memzero(ia_ptr, sizeof (DAPL_IA)); in dapl_ia_alloc()
84 ia_ptr->header.provider = provider; in dapl_ia_alloc()
85 ia_ptr->header.magic = DAPL_MAGIC_IA; in dapl_ia_alloc()
86 ia_ptr->header.handle_type = DAT_HANDLE_TYPE_IA; in dapl_ia_alloc()
87 ia_ptr->header.owner_ia = ia_ptr; in dapl_ia_alloc()
88 ia_ptr->header.user_context.as_64 = 0; in dapl_ia_alloc()
89 ia_ptr->header.user_context.as_ptr = NULL; in dapl_ia_alloc()
[all …]
H A Ddapl_osd.c365 DAPL_IA *ia_ptr; in dapls_osd_fork_cleanup() local
387 ia_ptr = (DAPL_IA *) in dapls_osd_fork_cleanup()
397 while (!dapl_llist_is_empty(&ia_ptr->rmr_list_head)) { in dapls_osd_fork_cleanup()
399 dapl_llist_peek_head(&ia_ptr-> in dapls_osd_fork_cleanup()
414 while (!dapl_llist_is_empty(&ia_ptr->rsp_list_head)) { in dapls_osd_fork_cleanup()
416 &ia_ptr->rsp_list_head); in dapls_osd_fork_cleanup()
419 dapls_ia_unlink_sp(ia_ptr, sp_ptr); in dapls_osd_fork_cleanup()
423 while (!dapl_llist_is_empty(&ia_ptr->ep_list_head)) { in dapls_osd_fork_cleanup()
425 &ia_ptr->ep_list_head); in dapls_osd_fork_cleanup()
445 dapl_ia_unlink_ep(ia_ptr, ep_ptr); in dapls_osd_fork_cleanup()
[all …]
H A Ddapl_ia_open.c180 DAPL_IA *ia_ptr; in dapl_ia_open() local
186 ia_ptr = NULL; in dapl_ia_open()
308 ia_ptr = dapl_ia_alloc(provider, hca_ptr); in dapl_ia_open()
309 if (!ia_ptr) { in dapl_ia_open()
327 ia_ptr->dapl_flags |= DAPL_DISABLE_RO; in dapl_ia_open()
358 ia_ptr->cleanup_async_error_evd = DAT_FALSE; in dapl_ia_open()
359 ia_ptr->async_error_evd = evd_ptr; in dapl_ia_open()
370 dat_status = dapls_evd_internal_create(ia_ptr, in dapl_ia_open()
409 dat_status = dapls_ia_setup_callbacks(ia_ptr, evd_ptr); in dapl_ia_open()
412 ia_ptr->cleanup_async_error_evd = DAT_TRUE; in dapl_ia_open()
[all …]
H A Ddapl_ia_close.c68 DAPL_IA *ia_ptr; in dapl_ia_close() local
76 ia_ptr = (DAPL_IA *)ia_handle; in dapl_ia_close()
78 if (DAPL_BAD_HANDLE(ia_ptr, DAPL_MAGIC_IA)) { in dapl_ia_close()
85 dat_status = dapl_ia_abrupt_close(ia_ptr); in dapl_ia_close()
87 dat_status = dapl_ia_graceful_close(ia_ptr); in dapl_ia_close()
H A Ddapl_psp_create.c81 DAPL_IA *ia_ptr; in dapl_psp_create() local
87 ia_ptr = (DAPL_IA *)ia_handle; in dapl_psp_create()
90 if (DAPL_BAD_HANDLE(ia_ptr, DAPL_MAGIC_IA)) { in dapl_psp_create()
135 sp_ptr = dapls_ia_sp_search(ia_ptr, conn_qual, DAT_TRUE); in dapl_psp_create()
140 sp_ptr = dapls_sp_alloc(ia_ptr, DAT_TRUE); in dapl_psp_create()
180 dapl_ia_link_psp(ia_ptr, sp_ptr); in dapl_psp_create()
182 dat_status = dapls_ib_setup_conn_listener(ia_ptr, conn_qual, in dapl_psp_create()
H A Ddapl_rsp_create.c82 DAPL_IA *ia_ptr; in dapl_rsp_create() local
90 ia_ptr = (DAPL_IA *)ia_handle; in dapl_rsp_create()
96 if (DAPL_BAD_HANDLE(ia_ptr, DAPL_MAGIC_IA)) { in dapl_rsp_create()
131 sp_ptr = dapls_ia_sp_search(ia_ptr, conn_qual, DAT_FALSE); in dapl_rsp_create()
137 sp_ptr = dapls_sp_alloc(ia_ptr, DAT_FALSE); in dapl_rsp_create()
173 dapl_ia_link_rsp(ia_ptr, sp_ptr); in dapl_rsp_create()
175 dat_status = dapls_ib_setup_conn_listener(ia_ptr, conn_qual, in dapl_rsp_create()
H A Ddapl_cno_create.c74 DAPL_IA *ia_ptr; in dapl_cno_create() local
78 ia_ptr = (DAPL_IA *)ia_handle; in dapl_cno_create()
88 cno_ptr = dapl_cno_alloc(ia_ptr, wait_agent); in dapl_cno_create()
98 dat_status = dapls_ib_cno_alloc(ia_ptr, cno_ptr); in dapl_cno_create()
103 dapl_ia_link_cno(ia_ptr, cno_ptr); in dapl_cno_create()
H A Ddapl_srq.c74 DAPL_IA *ia_ptr; in dapl_srq_create() local
79 ia_ptr = (DAPL_IA *)ia_handle; in dapl_srq_create()
84 if (DAPL_BAD_HANDLE(ia_ptr, DAPL_MAGIC_IA)) { in dapl_srq_create()
114 dat_status = dapls_ib_query_hca(ia_ptr->hca_ptr, NULL, NULL, NULL, in dapl_srq_create()
126 srq_ptr = dapl_srq_alloc(ia_ptr, srq_attr); in dapl_srq_create()
149 dat_status = dapls_ib_srq_alloc(ia_ptr, srq_ptr); in dapl_srq_create()
156 dapl_ia_link_srq(ia_ptr, srq_ptr); in dapl_srq_create()
188 DAPL_IA *ia_ptr; in dapl_srq_free() local
209 ia_ptr = srq_ptr->header.owner_ia; in dapl_srq_free()
212 dapls_ib_srq_free(ia_ptr, srq_ptr); in dapl_srq_free()
[all …]
H A Ddapl_name_service.c234 IN DAPL_IA *ia_ptr, in dapls_ns_lookup_address() argument
243 ia_ptr = ia_ptr; in dapls_ns_lookup_address()
305 IN DAPL_IA *ia_ptr,
311 IN DAPL_IA *ia_ptr,
316 static int dapls_ns_subnet_match_v4(int s, DAPL_IA *ia_ptr,
318 static int dapls_ns_subnet_match_v6(int s, DAPL_IA *ia_ptr,
327 IN DAPL_IA *ia_ptr, in dapls_ns_lookup_address() argument
336 dat_status = dapls_ns_lookup_v4(ia_ptr, in dapls_ns_lookup_address()
340 dat_status = dapls_ns_lookup_v6(ia_ptr, in dapls_ns_lookup_address()
351 IN DAPL_IA *ia_ptr, in dapls_ns_lookup_v4() argument
[all …]
H A Ddapl_psp_create_any.c84 DAPL_IA *ia_ptr; in dapl_psp_create_any() local
89 ia_ptr = (DAPL_IA *)ia_handle; in dapl_psp_create_any()
92 if (DAPL_BAD_HANDLE(ia_ptr, DAPL_MAGIC_IA)) { in dapl_psp_create_any()
129 sp_ptr = dapls_sp_alloc(ia_ptr, DAT_TRUE); in dapl_psp_create_any()
150 dapl_ia_link_psp(ia_ptr, sp_ptr); in dapl_psp_create_any()
159 dat_status = dapls_ib_setup_conn_listener(ia_ptr, 0, sp_ptr); in dapl_psp_create_any()
H A Ddapl_hca_util.c138 dapl_hca_link_ia(IN DAPL_HCA *hca_ptr, IN DAPL_IA *ia_ptr) in dapl_hca_link_ia() argument
142 &ia_ptr->hca_ia_list_entry, ia_ptr); in dapl_hca_link_ia()
163 dapl_hca_unlink_ia(IN DAPL_HCA *hca_ptr, IN DAPL_IA *ia_ptr) in dapl_hca_unlink_ia() argument
173 &ia_ptr->hca_ia_list_entry); in dapl_hca_unlink_ia()
H A Ddapl_ia_query.c76 DAPL_IA *ia_ptr; in dapl_ia_query() local
93 ia_ptr = (DAPL_IA *)ia_handle; in dapl_ia_query()
96 if (DAPL_BAD_HANDLE(ia_ptr, DAPL_MAGIC_IA)) { in dapl_ia_query()
103 *async_evd_handle = ia_ptr->async_error_evd; in dapl_ia_query()
117 dat_status = dapls_ib_query_hca(ia_ptr->hca_ptr, ia_attr, NULL, in dapl_ia_query()
137 ia_ptr->header.provider->device_name, in dapl_ia_query()
H A Ddapl_psp_free.c69 DAPL_IA *ia_ptr; in dapl_psp_free() local
87 ia_ptr = sp_ptr->header.owner_ia; in dapl_psp_free()
117 dat_status = dapls_ib_remove_conn_listener(ia_ptr, sp_ptr); in dapl_psp_free()
123 dapls_ia_unlink_sp(ia_ptr, sp_ptr); in dapl_psp_free()
H A Ddapl_ep_util.c86 IN DAPL_IA *ia_ptr, in dapl_ep_alloc() argument
104 ep_ptr->header.provider = ia_ptr->header.provider; in dapl_ep_alloc()
107 ep_ptr->header.owner_ia = ia_ptr; in dapl_ep_alloc()
119 (DAT_IA_ADDRESS_PTR)&ia_ptr->hca_ptr->hca_address; in dapl_ep_alloc()
484 DAPL_IA *ia_ptr; in dapl_ep_create_common() local
498 ia_ptr = (DAPL_IA *)ia_handle; in dapl_ep_create_common()
503 if (DAPL_BAD_HANDLE(ia_ptr, DAPL_MAGIC_IA)) { in dapl_ep_create_common()
626 dat_status = dapls_ib_query_hca(ia_ptr->hca_ptr, in dapl_ep_create_common()
642 if (ia_ptr->hca_ptr->max_inline_send) in dapl_ep_create_common()
647 ia_ptr->hca_ptr->max_inline_send); in dapl_ep_create_common()
[all …]
H A Ddapl_rsp_free.c68 DAPL_IA *ia_ptr; in dapl_rsp_free() local
89 ia_ptr = sp_ptr->header.owner_ia; in dapl_rsp_free()
122 dat_status = dapls_ib_remove_conn_listener(ia_ptr, sp_ptr); in dapl_rsp_free()
128 dapls_ia_unlink_sp(ia_ptr, sp_ptr); in dapl_rsp_free()
H A Ddapl_evd_util.c95 DAPL_IA *ia_ptr, in dapls_evd_internal_create() argument
109 evd_ptr = dapls_evd_alloc(ia_ptr, in dapls_evd_internal_create()
133 dat_status = dapls_ib_cq_alloc(ia_ptr, in dapls_evd_internal_create()
140 ia_ptr, in dapls_evd_internal_create()
165 dapl_ia_link_evd(ia_ptr, evd_ptr); in dapls_evd_internal_create()
195 IN DAPL_IA *ia_ptr, in dapls_evd_alloc() argument
216 evd_ptr->header.provider = ia_ptr->header.provider; in dapls_evd_alloc()
219 evd_ptr->header.owner_ia = ia_ptr; in dapls_evd_alloc()
345 DAPL_IA *ia_ptr; in dapls_evd_dealloc() local
357 ia_ptr = evd_ptr->header.owner_ia; in dapls_evd_dealloc()
[all …]
H A Ddapl_evd_create.c87 DAPL_IA *ia_ptr; in dapl_evd_create() local
106 ia_ptr = (DAPL_IA *)ia_handle; in dapl_evd_create()
122 if (evd_min_qlen > ia_ptr->hca_ptr->ia_attr.max_evd_qlen) { in dapl_evd_create()
161 dat_status = dapls_evd_internal_create(ia_ptr, in dapl_evd_create()
H A Ddapl_evd_qp_async_error_callb.c98 DAPL_IA *ia_ptr; in dapl_evd_qp_async_error_callback() local
105 ia_ptr = ep_ptr->header.owner_ia; in dapl_evd_qp_async_error_callback()
106 async_evd = (DAPL_EVD *) ia_ptr->async_error_evd; in dapl_evd_qp_async_error_callback()
H A Ddapl_cr_util.c64 DAPL_IA *ia_ptr) in dapls_cr_alloc() argument
80 cr_ptr->header.provider = ia_ptr->header.provider; in dapls_cr_alloc()
83 cr_ptr->header.owner_ia = ia_ptr; in dapls_cr_alloc()
H A Ddapl_srq_util.c55 dapl_srq_alloc(IN DAPL_IA *ia_ptr, IN const DAT_SRQ_ATTR *srq_attr) in dapl_srq_alloc() argument
72 srq_ptr->header.provider = ia_ptr->header.provider; in dapl_srq_alloc()
75 srq_ptr->header.owner_ia = ia_ptr; in dapl_srq_alloc()
/titanic_50/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl_ia_util.h56 IN DAPL_IA *ia_ptr);
60 IN DAPL_IA *ia_ptr);
63 dapls_ia_free(DAPL_IA *ia_ptr);
67 IN DAPL_IA *ia_ptr,
72 IN DAPL_IA *ia_ptr,
77 IN DAPL_IA *ia_ptr,
82 IN DAPL_IA *ia_ptr,
87 IN DAPL_IA *ia_ptr,
92 IN DAPL_IA *ia_ptr,
97 IN DAPL_IA *ia_ptr,
[all …]
H A Ddapl_adapter_util.h78 IN DAPL_IA *ia_ptr,
83 IN DAPL_IA *ia_ptr,
87 IN DAPL_IA *ia_ptr,
104 IN DAPL_IA *ia_ptr,
109 IN DAPL_IA *ia_ptr,
135 IN DAPL_IA *ia_ptr,
142 IN DAPL_IA *ia_ptr,
154 IN DAPL_IA *ia_ptr,
158 IN DAPL_IA *ia_ptr,
163 IN DAPL_IA *ia_ptr,
[all …]
/titanic_50/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_ibtf_qp.c66 IN DAPL_IA *ia_ptr, in dapli_get_dto_cq() argument
77 } else if (ia_ptr->hca_ptr->null_ib_cq_handle != IB_INVALID_HANDLE) { in dapli_get_dto_cq()
78 cq_handle = ia_ptr->hca_ptr->null_ib_cq_handle; in dapli_get_dto_cq()
85 ia_ptr->hca_ptr->null_ib_cq_handle = IB_INVALID_HANDLE; in dapli_get_dto_cq()
97 ia_fd = ia_ptr->hca_ptr->ib_hca_handle->ia_fd; in dapli_get_dto_cq()
106 ia_ptr->hca_ptr->null_ib_cq_handle = IB_INVALID_HANDLE; in dapli_get_dto_cq()
120 cq_handle->cq_iauar = ia_ptr->hca_ptr->ib_hca_handle->ia_uar; in dapli_get_dto_cq()
127 ia_ptr->hca_ptr->null_ib_cq_handle = cq_handle; in dapli_get_dto_cq()
155 IN DAPL_IA *ia_ptr, in dapls_ib_qp_alloc() argument
177 if (ia_ptr->hca_ptr->ib_hca_handle == NULL) { in dapls_ib_qp_alloc()
[all …]
H A Ddapl_tavor_ibtf_mrsync.c38 DAPL_IA *ia_ptr; in dapls_ib_lmr_sync_rdma_common() local
49 ia_ptr = (DAPL_IA *)ia_handle; in dapls_ib_lmr_sync_rdma_common()
54 ia_ptr->hca_ptr->lmr_hash_table, in dapls_ib_lmr_sync_rdma_common()
79 retval = ioctl(ia_ptr->hca_ptr->ib_hca_handle->ia_fd, in dapls_ib_lmr_sync_rdma_common()
92 retval = ioctl(ia_ptr->hca_ptr->ib_hca_handle->ia_fd, in dapls_ib_lmr_sync_rdma_common()
H A Ddapl_tavor_ibtf_util.c69 IN DAPL_IA *ia_ptr, in dapls_ib_cq_alloc() argument
113 ia_fd = ia_ptr->hca_ptr->ib_hca_handle->ia_fd; in dapls_ib_cq_alloc()
114 hca_fd = ia_ptr->hca_ptr->ib_hca_handle->hca_fd; in dapls_ib_cq_alloc()
206 cq_handle->cq_iauar = ia_ptr->hca_ptr->ib_hca_handle->ia_uar; in dapls_ib_cq_alloc()
209 DAPL_INIT_CQ(ia_ptr)(cq_handle); in dapls_ib_cq_alloc() local
419 IN DAPL_IA *ia_ptr, in dapls_ib_cq_free() argument
441 retval = ioctl(ia_ptr->hca_ptr->ib_hca_handle->ia_fd, in dapls_ib_cq_free()
477 IN DAPL_IA *ia_ptr, in dapls_set_cq_notify() argument
496 IN DAPL_IA *ia_ptr, in dapls_set_cqN_notify() argument
1263 DAPL_IA *ia_ptr; in dapls_ib_async_callback() local
[all …]

12