Home
last modified time | relevance | path

Searched refs:ibt_hdl (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_impl.c359 ibt_detach(ibt_clnt_hdl_t ibt_hdl) in ibt_detach() argument
363 IBTF_DPRINTF_L3(ibtf, "ibt_detach(%p)", ibt_hdl); in ibt_detach()
368 if (*clntpp == ibt_hdl) in ibt_detach()
372 ibt_hdl); in ibt_detach()
386 if (ibt_hdl->clnt_hca_list != NULL) { in ibt_detach()
391 ibt_hdl->clnt_modinfop->mi_clnt_name); in ibt_detach()
394 ibt_hdl->clnt_modinfop->mi_clnt_name); in ibt_detach()
398 if (ibt_hdl->clnt_srv_cnt != 0) { in ibt_detach()
402 ibt_hdl->clnt_modinfop->mi_clnt_name); in ibt_detach()
405 ibt_hdl->clnt_modinfop->mi_clnt_name); in ibt_detach()
[all …]
H A Dibtl_cm.c144 ibtl_cm_change_service_cnt(ibt_clnt_hdl_t ibt_hdl, int delta_num_sids) in ibtl_cm_change_service_cnt() argument
147 ibt_hdl, delta_num_sids); in ibtl_cm_change_service_cnt()
150 if ((delta_num_sids < 0) && (-delta_num_sids > ibt_hdl->clnt_srv_cnt)) { in ibtl_cm_change_service_cnt()
154 ibt_hdl->clnt_srv_cnt, delta_num_sids); in ibtl_cm_change_service_cnt()
156 ibt_hdl->clnt_srv_cnt += delta_num_sids; in ibtl_cm_change_service_cnt()
770 ibtl_cm_get_clnt_name(ibt_clnt_hdl_t ibt_hdl) in ibtl_cm_get_clnt_name() argument
772 if (ibt_hdl) in ibtl_cm_get_clnt_name()
773 return (ibt_hdl->clnt_name); in ibtl_cm_get_clnt_name()
H A Dibtl_hca.c63 ibt_open_hca(ibt_clnt_hdl_t ibt_hdl, ib_guid_t hca_guid, in ibt_open_hca() argument
69 IBTF_DPRINTF_L3(ibtf_hca, "ibt_open_hca(%p, %llX)", ibt_hdl, hca_guid); in ibt_open_hca()
94 if (ibt_hdl->clnt_dip) { in ibt_open_hca()
95 if (ddi_get_parent(ibt_hdl->clnt_dip) == hca_devp->hd_hca_dip) { in ibt_open_hca()
127 if (ibt_hdl == hca_infop->ha_clnt_devp) { in ibt_open_hca()
151 hca_infop->ha_clnt_devp = ibt_hdl; /* Client Info */ in ibt_open_hca()
159 hca_infop->ha_hca_link = ibt_hdl->clnt_hca_list; in ibt_open_hca()
160 ibt_hdl->clnt_hca_list = hca_infop; in ibt_open_hca()
1638 ibt_hca_guid_to_handle(ibt_clnt_hdl_t ibt_hdl, ib_guid_t hca_guid, in ibt_hca_guid_to_handle() argument
1646 ibt_hdl, hca_guid); in ibt_hca_guid_to_handle()
[all …]
H A Dibtl_handlers.c1857 ibt_clnt_hdl_t ibt_hdl = noticep->np_ibt_hdl; in ibtl_sm_notice_task() local
1860 sm_notice_handler = ibt_hdl->clnt_sm_trap_handler; in ibtl_sm_notice_task()
1862 sm_notice_handler(ibt_hdl->clnt_sm_trap_handler_arg, in ibtl_sm_notice_task()
1865 ibtl_dec_clnt_async_cnt(ibt_hdl); in ibtl_sm_notice_task()
1874 ibt_clnt_hdl_t ibt_hdl = ifail->smf_ibt_hdl; in ibtl_cm_sm_notice_init_failure() local
1882 noticep->np_ibt_hdl = ibt_hdl; in ibtl_cm_sm_notice_init_failure()
1888 ibtl_inc_clnt_async_cnt(ibt_hdl); in ibtl_cm_sm_notice_init_failure()
1930 ibtl_cm_set_sm_notice_handler(ibt_clnt_hdl_t ibt_hdl, in ibtl_cm_set_sm_notice_handler() argument
1934 ibt_hdl->clnt_sm_trap_handler = sm_notice_handler; in ibtl_cm_set_sm_notice_handler()
1935 ibt_hdl->clnt_sm_trap_handler_arg = private; in ibtl_cm_set_sm_notice_handler()
/illumos-gate/usr/src/uts/common/sys/ib/ibtl/impl/
H A Dibtl_cm.h177 void ibtl_cm_change_service_cnt(ibt_clnt_hdl_t ibt_hdl, int delta_num_sids);
237 void ibtl_cm_set_sm_notice_handler(ibt_clnt_hdl_t ibt_hdl,
249 char *ibtl_cm_get_clnt_name(ibt_clnt_hdl_t ibt_hdl);
/illumos-gate/usr/src/uts/common/sys/ib/ibtl/
H A Dibti_common.h704 ibt_status_t ibt_detach(ibt_clnt_hdl_t ibt_hdl);
736 ibt_status_t ibt_open_hca(ibt_clnt_hdl_t ibt_hdl, ib_guid_t hca_guid,
791 ibt_status_t ibt_hca_guid_to_handle(ibt_clnt_hdl_t ibt_hdl, ib_guid_t hca_guid,
804 ibt_status_t ibt_get_paths(ibt_clnt_hdl_t ibt_hdl, ibt_path_flags_t flags,
820 ibt_status_t ibt_aget_paths(ibt_clnt_hdl_t ibt_hdl, ibt_path_flags_t flags,
985 ibt_status_t ibt_register_service(ibt_clnt_hdl_t ibt_hdl,
989 ibt_status_t ibt_deregister_service(ibt_clnt_hdl_t ibt_hdl,
1434 void ibt_register_subnet_notices(ibt_clnt_hdl_t ibt_hdl,
1729 ibt_status_t ibt_get_ip_paths(ibt_clnt_hdl_t ibt_hdl, ibt_path_flags_t flags,
1790 ibt_status_t ibt_aget_ip_paths(ibt_clnt_hdl_t ibt_hdl, ibt_path_flags_t flags,
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_ofs/
H A Dsol_kverb_impl.h73 ibt_clnt_hdl_t ibt_hdl; member
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_path.c120 ibt_aget_paths(ibt_clnt_hdl_t ibt_hdl, ibt_path_flags_t flags, in ibt_aget_paths() argument
125 ibt_hdl, ibtl_cm_get_clnt_name(ibt_hdl), flags, attrp, max_paths, in ibt_aget_paths()
393 ibt_get_paths(ibt_clnt_hdl_t ibt_hdl, ibt_path_flags_t flags, in ibt_get_paths() argument
402 ibt_hdl, ibtl_cm_get_clnt_name(ibt_hdl), flags, attrp, max_paths); in ibt_get_paths()
3017 ibt_clnt_hdl_t ibt_hdl; member
4115 ibcm_get_ip_path(ibt_clnt_hdl_t ibt_hdl, ibt_path_flags_t flags, in ibcm_get_ip_path() argument
4154 path_tq->ibt_hdl = ibt_hdl; in ibcm_get_ip_path()
4203 ibt_aget_ip_paths(ibt_clnt_hdl_t ibt_hdl, ibt_path_flags_t flags, in ibt_aget_ip_paths() argument
4207 ibt_hdl, ibtl_cm_get_clnt_name(ibt_hdl), flags, attrp, func, arg); in ibt_aget_ip_paths()
4216 return (ibcm_get_ip_path(ibt_hdl, flags, attrp, NULL, NULL, in ibt_aget_ip_paths()
[all …]
H A Dibcm_ti.c2459 ibt_register_service(ibt_clnt_hdl_t ibt_hdl, ibt_srv_desc_t *srv, in ibt_register_service() argument
2465 ibt_hdl, ibtl_cm_get_clnt_name(ibt_hdl), srv, (longlong_t)sid, in ibt_register_service()
2513 ibtl_cm_change_service_cnt(ibt_hdl, num_sids); in ibt_register_service()
3048 ibt_deregister_service(ibt_clnt_hdl_t ibt_hdl, ibt_srv_hdl_t srv_hdl) in ibt_deregister_service() argument
3054 ibt_hdl, ibtl_cm_get_clnt_name(ibt_hdl), srv_hdl); in ibt_deregister_service()
3091 ibtl_cm_change_service_cnt(ibt_hdl, -srv_hdl->svc_num_sids); in ibt_deregister_service()
3184 ibt_register_ar(ibt_clnt_hdl_t ibt_hdl, ibt_ar_t *arp) in ibt_register_ar() argument
3247 hdlp->ar_ibt_hdl = ibt_hdl; in ibt_register_ar()
3252 ibtl_cm_change_service_cnt(ibt_hdl, 1); in ibt_register_ar()
3258 hdlp->ar_ibt_hdl = ibt_hdl; in ibt_register_ar()
[all …]
H A Dibcm_impl.c1913 ibt_register_subnet_notices(ibt_clnt_hdl_t ibt_hdl, in ibt_register_subnet_notices() argument
1924 ibt_hdl, ibtl_cm_get_clnt_name(ibt_hdl)); in ibt_register_subnet_notices()
1928 ibtl_cm_set_sm_notice_handler(ibt_hdl, sm_notice_handler, private); in ibt_register_subnet_notices()
1952 ifail->smf_ibt_hdl = ibt_hdl; in ibt_register_subnet_notices()
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_kverbs.c226 rtn = ibt_open_hca(ofs_client->ibt_hdl, event->ev_hca_guid, in ofs_async_handler()
369 &ofs_client->ibt_hdl); in ib_register_client()
407 rtn = ibt_open_hca(ofs_client->ibt_hdl, guidp[i], in ib_register_client()
491 (void) ibt_detach(ofs_client->ibt_hdl); in ib_register_client()
571 (void) ibt_detach(ofs_client->ibt_hdl); in ib_unregister_client()
H A Dsol_cma.c685 chanp->chan_ib_client_hdl = ofs_clnt->ibt_hdl; in rdma_bind_addr()
754 chanp->chan_ib_client_hdl = ofs_clnt->ibt_hdl; in rdma_resolve_addr()
2234 rdma_map_id2clnthdl(idp, dev_ofs_client->ibt_hdl, NULL);