Searched refs:nhcas (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsib_ib.c | 320 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()
|
/titanic_41/usr/src/uts/common/sys/ib/ibnex/ |
H A D | ibnex_devctl.h | 279 uint_t nhcas; /* out: actual number of HCAs */ member 286 uint_t nhcas; /* out: actual number of HCAs */ member
|
/titanic_41/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_kverbs.c | 313 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()
|
/titanic_41/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex_ioctl.c | 2824 uint_t nhcas, n; in ibnex_ctl_get_hca_list() local 2845 in_nhcasp = &((ibnex_ctl_get_hca_list_32_t *)arg)->nhcas; in ibnex_ctl_get_hca_list() 2856 in_nhcasp = &((ibnex_ctl_get_hca_list_t *)arg)->nhcas; in ibnex_ctl_get_hca_list() 2859 nhcas = ibt_get_hca_list(&hca_guids); in ibnex_ctl_get_hca_list() 2862 if (ddi_copyout(&nhcas, in_nhcasp, sizeof (uint_t), mode) != 0) { in ibnex_ctl_get_hca_list() 2869 n = MIN(nhcas, hca_list.hca_guids_alloc_sz); in ibnex_ctl_get_hca_list() 2882 if (nhcas > 0) in ibnex_ctl_get_hca_list() 2883 ibt_free_hca_list(hca_guids, nhcas); in ibnex_ctl_get_hca_list()
|