Home
last modified time | relevance | path

Searched refs:hca_count (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs.c214 mod_ctxt->hca_count = 0; in sol_uverbs_hca_open()
239 if (mod_ctxt->hca_count == 0) { in sol_uverbs_hca_open()
246 if (mod_ctxt->hca_count > SOL_UVERBS_DRIVER_MAX_HCA_MINOR) { in sol_uverbs_hca_open()
249 mod_ctxt->hca_count, SOL_UVERBS_DRIVER_MAX_HCA_MINOR); in sol_uverbs_hca_open()
255 "hca_open: No. of HCAs present %d", mod_ctxt->hca_count); in sol_uverbs_hca_open()
257 mod_ctxt->hcas = kmem_zalloc(mod_ctxt->hca_count * in sol_uverbs_hca_open()
268 for (hca_ndx = 0; hca_ndx < mod_ctxt->hca_count; hca_ndx++) { in sol_uverbs_hca_open()
372 mod_ctxt->hca_count * sizeof (sol_uverbs_hca_t)); in sol_uverbs_hca_close()
378 mod_ctxt->hca_count = 0; in sol_uverbs_hca_close()
545 for (hca_ndx = 0; hca_ndx < mod_ctxt->hca_count; hca_ndx++) { in sol_uverbs_attach()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_hca.c326 uint_t hca_count = 0; in ibt_get_hca_list() local
336 hca_count++; in ibt_get_hca_list()
340 if (hca_count == 0) in ibt_get_hca_list()
344 if ((hca_count == 0) || (hca_list_p == NULL)) { in ibt_get_hca_list()
346 return (hca_count); in ibt_get_hca_list()
349 hca_listp = kmem_alloc(hca_count * sizeof (ib_guid_t), KM_SLEEP); in ibt_get_hca_list()
361 "Returned <%d> entries @0x%p", hca_count, *hca_list_p); in ibt_get_hca_list()
363 return (hca_count); in ibt_get_hca_list()
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_umad/
H A Dsol_umad.c570 uint32_t hca_count; in umad_init_driver_info() local
584 hca_count = info->info_hca_count = ibt_get_hca_list(&hca_guids); in umad_init_driver_info()
586 if (hca_count == 0) { in umad_init_driver_info()
591 info->info_hcas = kmem_zalloc(sizeof (umad_hca_info_t) * hca_count, in umad_init_driver_info()
594 for (i = 0; i < hca_count; i++) { in umad_init_driver_info()
606 ibt_free_hca_list(hca_guids, hca_count); in umad_init_driver_info()
622 ibt_free_hca_list(hca_guids, hca_count); in umad_init_driver_info()
/illumos-gate/usr/src/uts/common/rpc/
H A Dib.h183 uint32_t hca_count; member
H A Drpcib.c601 rib_stat->hca_count = ibt_get_hca_list(NULL); in rpcib_attach()
602 if (rib_stat->hca_count < 1) { in rpcib_attach()
804 ribstat->hca_count = ibt_get_hca_list(&hca_guids); in rpcib_open_hcas()
805 if (ribstat->hca_count == 0) in rpcib_open_hcas()
812 for (i = 0; i < ribstat->hca_count; i++) { in rpcib_open_hcas()
983 ibt_free_hca_list(hca_guids, ribstat->hca_count); in rpcib_open_hcas()
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_uverbs/
H A Dsol_uverbs.h95 uint32_t hca_count; member
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_saa_impl.c936 uint_t hca_count = 0; in ibmf_saa_impl_register_port() local
958 hca_count = ibt_get_hca_list(&hca_list); in ibmf_saa_impl_register_port()
960 if (hca_count == 0) { in ibmf_saa_impl_register_port()
972 for (ihca = 0; ihca != hca_count; ihca++) { in ibmf_saa_impl_register_port()
1037 ibt_free_hca_list(hca_list, hca_count); in ibmf_saa_impl_register_port()
1039 if (ihca == hca_count) { in ibmf_saa_impl_register_port()
/illumos-gate/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl_adapter_util.h64 OUT DAT_COUNT *hca_count);
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c1088 int j, k, l, hca_count; in ibnex_get_num_devices() local
1098 ibdm_ibnex_get_hca_list(&hca_list, &hca_count); in ibnex_get_num_devices()
1153 int i, j, k, l, hca_count; in ibnex_get_snapshot() local
1177 ibdm_ibnex_get_hca_list(&hca_list, &hca_count); in ibnex_get_snapshot()
1183 for (hcap = hca_list, i = 0; i < hca_count; in ibnex_get_snapshot()
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibdm/
H A Dibdm.c258 int i, hca_count; in ibdm_init() local
287 hca_count = ibt_get_hca_list(&hca_guids); in ibdm_init()
288 IBTF_DPRINTF_L4("ibdm", "ibdm_init: num_hcas = %d", hca_count); in ibdm_init()
289 for (i = 0; i < hca_count; i++) in ibdm_init()
291 if (hca_count) in ibdm_init()
292 ibt_free_hca_list(hca_guids, hca_count); in ibdm_init()
/illumos-gate/usr/src/uts/common/io/ib/clients/daplt/
H A Ddaplt.c775 uint32_t hca_count; in daplka_init_hcas() local
780 hca_count = ibt_get_hca_list(&hca_guids); in daplka_init_hcas()
781 DERR("No. of HCAs present %d\n", hca_count); in daplka_init_hcas()
783 if (hca_count != 0) { in daplka_init_hcas()
787 for (i = 0; i < hca_count; i++) in daplka_init_hcas()
790 ibt_free_hca_list(hca_guids, hca_count); in daplka_init_hcas()