Searched refs:hca_count (Results 1 - 11 of 11) 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_uverbs/
H A Dsol_uverbs.c214 mod_ctxt->hca_count = 0;
237 mod_ctxt->hca_count = ibt_get_hca_list(&mod_ctxt->hca_guid_list);
239 if (mod_ctxt->hca_count == 0) {
246 if (mod_ctxt->hca_count > SOL_UVERBS_DRIVER_MAX_HCA_MINOR) {
249 mod_ctxt->hca_count, SOL_UVERBS_DRIVER_MAX_HCA_MINOR);
255 "hca_open: No. of HCAs present %d", mod_ctxt->hca_count);
257 mod_ctxt->hcas = kmem_zalloc(mod_ctxt->hca_count *
268 for (hca_ndx = 0; hca_ndx < mod_ctxt->hca_count; hca_ndx++) {
270 mod_ctxt->hca_guid_list[mod_ctxt->hca_count - hca_ndx -1],
297 mod_ctxt->hca_guid_list[mod_ctxt->hca_count
[all...]
/illumos-gate/usr/src/uts/common/rpc/
H A Dib.h183 uint32_t hca_count; member in struct:rpcib_state
H A Drpcib.c601 rib_stat->hca_count = ibt_get_hca_list(NULL);
602 if (rib_stat->hca_count < 1) {
804 ribstat->hca_count = ibt_get_hca_list(&hca_guids);
805 if (ribstat->hca_count == 0)
812 for (i = 0; i < ribstat->hca_count; i++) {
983 ibt_free_hca_list(hca_guids, ribstat->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/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/lib/udapl/udapl_tavor/include/
H A Ddapl_adapter_util.h64 OUT DAT_COUNT *hca_count);
/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/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/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);
/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);

Completed in 144 milliseconds