Home
last modified time | relevance | path

Searched refs:nhcas (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_ib.c320 uint_t ix, hcaix, nhcas; in rdsib_initialize_ib() local
333 nhcas = ibt_get_hca_list(&guidp); in rdsib_initialize_ib()
334 if (nhcas == 0) { in rdsib_initialize_ib()
339 RDS_DPRINTF3("rdsib_initialize_ib", "Number of HCAs: %d", nhcas); in rdsib_initialize_ib()
347 (void) ibt_free_hca_list(guidp, nhcas); in rdsib_initialize_ib()
357 for (ix = 0, hcaix = 0; ix < nhcas; ix++) { in rdsib_initialize_ib()
365 (void) ibt_free_hca_list(guidp, nhcas); in rdsib_initialize_ib()
375 if (hcaix < nhcas) { in rdsib_initialize_ib()
377 (nhcas - hcaix), nhcas); in rdsib_initialize_ib()
/illumos-gate/usr/src/uts/common/sys/ib/ibnex/
H A Dibnex_devctl.h279 uint_t nhcas; /* out: actual number of HCAs */ member
286 uint_t nhcas; /* out: actual number of HCAs */ member
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_kverbs.c313 uint_t i, nhcas; /* number of HCAs */ in ib_register_client() local
324 if ((nhcas = ibt_get_hca_list(&guidp)) == 0) { in ib_register_client()
333 (void) ibt_free_hca_list(guidp, nhcas); in ib_register_client()
344 (void) ibt_free_hca_list(guidp, nhcas); in ib_register_client()
360 (void) ibt_free_hca_list(guidp, nhcas); in ib_register_client()
374 (void) ibt_free_hca_list(guidp, nhcas); in ib_register_client()
389 ofs_client->hca_num = nhcas; in ib_register_client()
448 (void) ibt_free_hca_list(guidp, nhcas); in ib_register_client()
498 (void) ibt_free_hca_list(guidp, nhcas); in ib_register_client()
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c2827 uint_t nhcas, n; in ibnex_ctl_get_hca_list() local
2848 in_nhcasp = &((ibnex_ctl_get_hca_list_32_t *)arg)->nhcas; in ibnex_ctl_get_hca_list()
2859 in_nhcasp = &((ibnex_ctl_get_hca_list_t *)arg)->nhcas; in ibnex_ctl_get_hca_list()
2862 nhcas = ibt_get_hca_list(&hca_guids); in ibnex_ctl_get_hca_list()
2865 if (ddi_copyout(&nhcas, in_nhcasp, sizeof (uint_t), mode) != 0) { in ibnex_ctl_get_hca_list()
2872 n = MIN(nhcas, hca_list.hca_guids_alloc_sz); in ibnex_ctl_get_hca_list()
2885 if (nhcas > 0) in ibnex_ctl_get_hca_list()
2886 ibt_free_hca_list(hca_guids, nhcas); in ibnex_ctl_get_hca_list()