Searched refs:num_hcas (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/ |
H A D | iser_ib.c | 1174 int num_hcas; in iser_ib_init_hcas() local 1179 num_hcas = ibt_get_hca_list(&guid); in iser_ib_init_hcas() 1180 if (num_hcas == 0) { in iser_ib_init_hcas() 1195 for (i = 0; i < num_hcas; i++) { in iser_ib_init_hcas() 1204 (void) ibt_free_hca_list(guid, num_hcas); in iser_ib_init_hcas() 1216 (void) ibt_free_hca_list(guid, num_hcas); in iser_ib_init_hcas()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ib_cma.c | 391 int num_hcas; in ibcma_append_listen_list() local 436 num_hcas = ibt_get_hca_list(&hca_guidp); in ibcma_append_listen_list() 437 ibcma_get_devlist(root_chanp, hca_guidp, num_hcas, in ibcma_append_listen_list() 467 ibt_free_hca_list(hca_guidp, num_hcas); in ibcma_append_listen_list() 2162 int num_hcas, info_inited = 0; in ibcma_get_first_ib_ipaddr() local 2172 num_hcas = ibt_get_hca_list(&hca_guidp); in ibcma_get_first_ib_ipaddr() 2173 ibcma_get_devlist(chanp, hca_guidp, num_hcas, &devlist, B_TRUE); in ibcma_get_first_ib_ipaddr() 2189 ibt_free_hca_list(hca_guidp, num_hcas); in ibcma_get_first_ib_ipaddr() 2459 int num_hcas, genlist_t *ret_devlist, boolean_t with_ipaddr_only) in ibcma_get_devlist() argument 2473 num_hcas, ret_devlist, with_ipaddr_only); in ibcma_get_devlist() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_ti.c | 5666 uint32_t num_hcas = 0; in ibt_gid_to_node_info() local 5701 num_hcas = 1; in ibt_gid_to_node_info() 5708 num_hcas = ibt_get_hca_list(&guid_array); in ibt_gid_to_node_info() 5710 "returned %d hcas", num_hcas); in ibt_gid_to_node_info() 5712 if (num_hcas == 0) { in ibt_gid_to_node_info() 5719 for (i = 0; i < num_hcas; i++) { in ibt_gid_to_node_info() 5883 ibt_free_hca_list(guid_array, num_hcas); in ibt_gid_to_node_info() 5952 uint_t num_hcas = 0; in ibt_lid_to_node_info() local 5965 num_hcas = ibt_get_hca_list(&guid_array); in ibt_lid_to_node_info() 5967 "returned %d hcas", num_hcas); in ibt_lid_to_node_info() [all …]
|
H A D | ibcm_impl.c | 646 uint_t num_hcas = 0; in ibcm_init_hcas() local 653 num_hcas = ibt_get_hca_list(&guid_array); in ibcm_init_hcas() 655 "returned %d hcas", num_hcas); in ibcm_init_hcas() 659 for (i = 0; i < num_hcas; i++) in ibcm_init_hcas() 662 if (num_hcas) in ibcm_init_hcas() 663 ibt_free_hca_list(guid_array, num_hcas); in ibcm_init_hcas()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_ib.c | 1648 size_t num_hcas = 0; in cfga_list_ext() local 1699 0, &num_hcas)) != CFGA_IB_OK) { in cfga_list_ext() 1706 DPRINTF("cfga_list_ext: num_hcas = %d\n", num_hcas); in cfga_list_ext() 1711 if (!(num_hcas || num_devices)) { in cfga_list_ext() 1762 if (!expand || (!num_hcas && !num_devices)) { in cfga_list_ext()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | enx_ibt.c | 77 uint_t num_hcas; in eibnx_ibt_init() local 100 if ((num_hcas = ibt_get_hca_list(&hca_guids)) == 0) { in eibnx_ibt_init() 113 for (i = 0; i < num_hcas; i++) { in eibnx_ibt_init() 133 ibt_free_hca_list(hca_guids, num_hcas); in eibnx_ibt_init()
|
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex_ioctl.c | 208 uint_t num_hcas = 0; in ibnex_devctl() local 363 num_hcas = ibt_get_hca_list(NULL); in ibnex_devctl() 364 IBTF_DPRINTF_L4("ibnex", "%s: num %d", msg, num_hcas); in ibnex_devctl() 366 if (ddi_copyout(&num_hcas, ioc.buf, in ibnex_devctl()
|