Home
last modified time | relevance | path

Searched refs:num_paths (Results 1 – 15 of 15) sorted by relevance

/titanic_41/usr/src/lib/storage/libg_fc/common/
H A Dmpath.c74 static void g_free_pi_list(sv_path_info_t *, uint_t num_paths);
101 uint_t num_paths; in g_get_lun_str() local
107 num_paths = path_num + 1; in g_get_lun_str()
125 pi = (sv_path_info_t *)calloc((size_t)num_paths, in g_get_lun_str()
127 ioc.buf_elem = num_paths; in g_get_lun_str()
132 for (i = 0; i < num_paths; i++) { in g_get_lun_str()
140 g_free_pi_list(pi, num_paths); in g_get_lun_str()
149 g_free_pi_list(pi, num_paths); in g_get_lun_str()
170 g_free_pi_list(pi, num_paths); in g_get_lun_str()
627 g_free_pi_list(sv_path_info_t *pi, uint_t num_paths) in g_free_pi_list() argument
[all …]
/titanic_41/usr/src/uts/common/sys/ib/clients/of/sol_ofs/
H A Dsol_cma.h323 if ((srcid->route).num_paths) { in cma_create_new_id()
324 int num_paths; in cma_create_new_id() local
326 num_paths = (newid->route).num_paths = in cma_create_new_id()
327 (srcid->route).num_paths; in cma_create_new_id()
328 (newid->route).path_rec = kmem_zalloc(num_paths * in cma_create_new_id()
332 num_paths * sizeof (struct ib_sa_path_rec)); in cma_create_new_id()
/titanic_41/usr/src/uts/common/sys/ib/mgt/ibmf/
H A Dibmf_saa.h412 uint8_t *num_paths,
455 uint_t *num_paths,
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c5550 uint_t num_paths; /* Num paths to client dev */ in vhci_ctl() local
5578 num_paths = mdi_client_get_path_count(cdip); in vhci_ctl()
5580 if (ddi_copyout(&num_paths, pioc->ret_elem, in vhci_ctl()
5581 sizeof (num_paths), mode)) { in vhci_ctl()
5590 num_paths == 0) { in vhci_ctl()
5595 if (num_paths > pioc->buf_elem) { in vhci_ctl()
5596 num_paths = pioc->buf_elem; in vhci_ctl()
5600 if (vhci_ioc_alloc_pathinfo(&upibuf, &kpibuf, num_paths, in vhci_ctl()
5611 if (vhci_get_client_path_list(cdip, kpibuf, num_paths) in vhci_ctl()
5614 vhci_ioc_free_pathinfo(upibuf, kpibuf, num_paths); in vhci_ctl()
[all …]
/titanic_41/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_saa.c920 uint8_t *num_paths, uint_t flags, size_t *length, sa_path_record_t **result) in ibmf_saa_gid_to_pathrecords() argument
935 if (num_paths == NULL) { in ibmf_saa_gid_to_pathrecords()
970 path_record.NumbPath = *num_paths; in ibmf_saa_gid_to_pathrecords()
1015 *num_paths = *length / sizeof (sa_path_record_t); in ibmf_saa_gid_to_pathrecords()
1061 ib_pkey_t p_key, boolean_t reversible, uint_t flags, uint_t *num_paths, in ibmf_saa_paths_from_gid() argument
1115 *num_paths = *length / sizeof (sa_path_record_t); in ibmf_saa_paths_from_gid()
/titanic_41/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Drdma_cm.h90 int num_paths; member
H A Drdma_user_cm.h140 uint32_t num_paths; member
/titanic_41/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ib_cma.c243 (idp->route).num_paths = 0; in rdma_ib_resolve_addr()
1237 num_paths); \
1240 * num_paths);
1244 uint8_t num_paths, ibt_path_ip_src_t *src_ip_p) in ibcma_path_hdlr() argument
1261 bcopy(pathp, ibchanp->chan_pathp, num_paths * in ibcma_path_hdlr()
1263 ibchanp->chan_numpaths = num_paths; in ibcma_path_hdlr()
1287 (idp->route).num_paths = ibchanp->chan_numpaths; in ibcma_path_hdlr()
1420 (event_idp->route).num_paths = 0; in ibcma_ud_hdlr()
1633 (event_idp->route).num_paths = reqp->req_alt_hca_port ? 2 : 1; in ibcma_handle_req()
1635 sizeof (struct ib_sa_path_rec) * ((event_idp->route).num_paths), in ibcma_handle_req()
[all …]
H A Dsol_cma.c2039 sizeof (struct ib_sa_path_rec) * idp->route.num_paths);
/titanic_41/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_ibt.c974 uint8_t num_paths; in eib_ibt_record_srate() local
982 &path_attr, 1, &path, &num_paths); in eib_ibt_record_srate()
983 if (ret == IBT_SUCCESS && num_paths >= 1) { in eib_ibt_record_srate()
/titanic_41/usr/src/lib/libdevinfo/
H A Ddevfsmap.c1343 vhci_to_phci(char *vhci_name, int *num_paths) in vhci_to_phci() argument
1354 *num_paths = 0; in vhci_to_phci()
1406 *num_paths = n; in vhci_to_phci()
/titanic_41/usr/src/uts/common/sys/ib/ibtl/
H A Dibti_common.h814 ibt_path_info_t *paths, uint8_t num_paths);
1784 ibt_path_info_t *paths_p, uint8_t num_paths, ibt_path_ip_src_t *src_ip_p);
/titanic_41/usr/src/uts/common/io/ib/clients/of/sol_ucma/
H A Dsol_ucma.c1924 resp->num_paths = routep->num_paths;
1925 for (i = 0; i < resp->num_paths; i++) {
/titanic_41/usr/src/uts/common/io/ib/clients/daplt/
H A Ddaplt.c2078 uint8_t num_paths; in daplka_ep_connect() local
2174 num_paths = 0; in daplka_ep_connect()
2182 pathflags, &path_attr, 1, &path_info, &num_paths); in daplka_ep_connect()
2186 status, num_paths); in daplka_ep_connect()
/titanic_41/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd.c2972 uint8_t num_paths; in ibd_get_portspeed() local
2992 &path_attr, 1, &path, &num_paths) != IBT_SUCCESS) in ibd_get_portspeed()
2995 if (num_paths < 1) in ibd_get_portspeed()