Searched defs:hca_count (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_hca.c326 uint_t hca_count = 0; local
336 hca_count++;
340 if (hca_count == 0)
344 if ((hca_count == 0) || (hca_list_p == NULL)) {
346 return (hca_count);
349 hca_listp = kmem_alloc(hca_count * sizeof (ib_guid_t), KM_SLEEP);
361 "Returned <%d> entries @0x%p", hca_count, *hca_list_p);
363 return (hca_count);
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_umad/
H A Dsol_umad.c569 uint32_t hca_count; local
583 hca_count = info->info_hca_count = ibt_get_hca_list(&hca_guids);
585 if (hca_count == 0) {
590 info->info_hcas = kmem_zalloc(sizeof (umad_hca_info_t) * hca_count,
593 for (i = 0; i < hca_count; i++) {
605 ibt_free_hca_list(hca_guids, hca_count);
621 ibt_free_hca_list(hca_guids, hca_count);
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c1085 int j, k, l, hca_count; local
1095 ibdm_ibnex_get_hca_list(&hca_list, &hca_count);
1150 int i, j, k, l, hca_count; local
1174 ibdm_ibnex_get_hca_list(&hca_list, &hca_count);
1180 for (hcap = hca_list, i = 0; i < hca_count;
1251 } /* end of hca_count for loop */
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_saa_impl.c936 uint_t hca_count = 0; local
958 hca_count = ibt_get_hca_list(&hca_list);
960 if (hca_count == 0) {
972 for (ihca = 0; ihca != hca_count; ihca++) {
1037 ibt_free_hca_list(hca_list, hca_count);
1039 if (ihca == hca_count) {
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_uverbs/
H A Dsol_uverbs.h95 uint32_t hca_count; member in struct:__anon7948
/illumos-gate/usr/src/uts/common/rpc/
H A Dib.h183 uint32_t hca_count; member in struct:rpcib_state
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibdm/
H A Dibdm.c258 int i, hca_count; local
287 hca_count = ibt_get_hca_list(&hca_guids);
288 IBTF_DPRINTF_L4("ibdm", "ibdm_init: num_hcas = %d", hca_count);
289 for (i = 0; i < hca_count; i++)
291 if (hca_count)
292 ibt_free_hca_list(hca_guids, hca_count);
/illumos-gate/usr/src/uts/common/io/ib/clients/daplt/
H A Ddaplt.c775 uint32_t hca_count; local
780 hca_count = ibt_get_hca_list(&hca_guids);
781 DERR("No. of HCAs present %d\n", hca_count);
783 if (hca_count != 0) {
787 for (i = 0; i < hca_count; i++)
790 ibt_free_hca_list(hca_guids, hca_count);

Completed in 1342 milliseconds