Searched defs:nhcas (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_kverbs.c313 uint_t i, nhcas; /* number of HCAs */ local
324 if ((nhcas = ibt_get_hca_list(&guidp)) == 0) {
333 (void) ibt_free_hca_list(guidp, nhcas);
344 (void) ibt_free_hca_list(guidp, nhcas);
360 (void) ibt_free_hca_list(guidp, nhcas);
374 (void) ibt_free_hca_list(guidp, nhcas);
389 ofs_client->hca_num = nhcas;
448 (void) ibt_free_hca_list(guidp, nhcas);
498 (void) ibt_free_hca_list(guidp, nhcas);
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_ib.c320 uint_t ix, hcaix, nhcas; local
333 nhcas = ibt_get_hca_list(&guidp);
334 if (nhcas == 0) {
339 RDS_DPRINTF3("rdsib_initialize_ib", "Number of HCAs: %d", nhcas);
347 (void) ibt_free_hca_list(guidp, nhcas);
357 for (ix = 0, hcaix = 0; ix < nhcas; ix++) {
365 (void) ibt_free_hca_list(guidp, nhcas);
375 if (hcaix < nhcas) {
377 (nhcas - hcaix), nhcas);
[all...]
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c2824 uint_t nhcas, n; local
2845 in_nhcasp = &((ibnex_ctl_get_hca_list_32_t *)arg)->nhcas;
2856 in_nhcasp = &((ibnex_ctl_get_hca_list_t *)arg)->nhcas;
2859 nhcas = ibt_get_hca_list(&hca_guids);
2862 if (ddi_copyout(&nhcas, in_nhcasp, sizeof (uint_t), mode) != 0) {
2869 n = MIN(nhcas, hca_list.hca_guids_alloc_sz);
2882 if (nhcas > 0)
2883 ibt_free_hca_list(hca_guids, nhcas);
/illumos-gate/usr/src/uts/common/sys/ib/ibnex/
H A Dibnex_devctl.h172 * Upon successful return from the IOCTL, nhcas will contain the number of
174 * The number of GUIDs copied are nhcas or hca_guids_alloc_sz which ever is
279 uint_t nhcas; /* out: actual number of HCAs */ member in struct:ibnex_ctl_get_hca_list_s
286 uint_t nhcas; /* out: actual number of HCAs */ member in struct:ibnex_ctl_get_hca_list_32_s

Completed in 73 milliseconds