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

/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_ofs/
H A Dsol_cma.h321 if ((srcid->route).num_paths) {
322 int num_paths; local
324 num_paths = (newid->route).num_paths =
325 (srcid->route).num_paths;
326 (newid->route).path_rec = kmem_zalloc(num_paths *
330 num_paths * sizeof (struct ib_sa_path_rec));
/illumos-gate/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; local
107 num_paths = path_num + 1;
125 pi = (sv_path_info_t *)calloc((size_t)num_paths,
127 ioc.buf_elem = num_paths;
132 for (i = 0; i < num_paths; i++) {
140 g_free_pi_list(pi, num_paths);
149 g_free_pi_list(pi, num_paths);
170 g_free_pi_list(pi, num_paths);
627 g_free_pi_list(sv_path_info_t *pi, uint_t num_paths) argument
845 int num_paths; local
[all...]
/illumos-gate/usr/src/uts/common/sys/ib/mgt/ibmf/
H A Dibmf_saa.h386 * num_paths - maximum number of paths to return
392 * num_paths - actual number of paths returned
412 uint8_t *num_paths,
435 * num_paths - number of paths returned
443 * and num_paths is the number of path records returned. length is the size
455 uint_t *num_paths,
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Drdma_cm.h90 int num_paths; member in struct:rdma_route
H A Drdma_user_cm.h140 uint32_t num_paths; member in struct:rdma_ucm_query_route_resp
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_saa.c897 * num_paths - maximum number of paths to return
898 * num_paths should be checked for the actual number of
903 * num_paths - actual number of paths returned
920 uint8_t *num_paths, uint_t flags, size_t *length, sa_path_record_t **result)
932 * check num_paths pointer here since we dereference before calling
935 if (num_paths == NULL) {
970 path_record.NumbPath = *num_paths;
1015 *num_paths = *length / sizeof (sa_path_record_t);
1044 * num_paths - number of paths returned
1061 ib_pkey_t p_key, boolean_t reversible, uint_t flags, uint_t *num_paths,
918 ibmf_saa_gid_to_pathrecords(ibmf_saa_handle_t ibmf_saa_handle, ib_gid_t sgid, ib_gid_t dgid, ib_pkey_t p_key, ib_mtu_t mtu, boolean_t reversible, uint8_t *num_paths, uint_t flags, size_t *length, sa_path_record_t **result) argument
1060 ibmf_saa_paths_from_gid(ibmf_saa_handle_t ibmf_saa_handle, ib_gid_t sgid, ib_pkey_t p_key, boolean_t reversible, uint_t flags, uint_t *num_paths, size_t *length, sa_path_record_t **result) argument
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c5550 uint_t num_paths; /* Num paths to client dev */ local
5578 num_paths = mdi_client_get_path_count(cdip);
5580 if (ddi_copyout(&num_paths, pioc->ret_elem,
5581 sizeof (num_paths), mode)) {
5583 "num_paths copyout failed", s));
5588 /* If user just wanted num_paths, then return */
5590 num_paths == 0) {
5594 /* Set num_paths to value as much as can be sent to userland */
5595 if (num_paths > pioc->buf_elem) {
5596 num_paths
5632 uint_t num_paths; /* Num paths to client dev */ local
6537 vhci_ioc_alloc_pathinfo(sv_path_info_t **upibuf, sv_path_info_t **kpibuf, uint_t num_paths, sv_iocdata_t *pioc, int mode, caddr_t s) argument
6649 vhci_ioc_free_pathinfo(sv_path_info_t *upibuf, sv_path_info_t *kpibuf, uint_t num_paths) argument
6678 vhci_ioc_send_pathinfo(sv_path_info_t *upibuf, sv_path_info_t *kpibuf, uint_t num_paths, sv_iocdata_t *pioc, int mode, caddr_t s) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ib_cma.c243 (idp->route).num_paths = 0;
1237 num_paths); \
1240 * num_paths);
1244 uint8_t num_paths, ibt_path_ip_src_t *src_ip_p)
1261 bcopy(pathp, ibchanp->chan_pathp, num_paths *
1263 ibchanp->chan_numpaths = num_paths;
1287 (idp->route).num_paths = ibchanp->chan_numpaths;
1420 (event_idp->route).num_paths = 0;
1633 (event_idp->route).num_paths = reqp->req_alt_hca_port ? 2 : 1;
1635 sizeof (struct ib_sa_path_rec) * ((event_idp->route).num_paths),
1243 ibcma_path_hdlr(void *arg, ibt_status_t retval, ibt_path_info_t *pathp, uint8_t num_paths, ibt_path_ip_src_t *src_ip_p) argument
[all...]
H A Dsol_cma.c2039 sizeof (struct ib_sa_path_rec) * idp->route.num_paths);
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_ibt.c974 uint8_t num_paths; local
982 &path_attr, 1, &path, &num_paths);
983 if (ret == IBT_SUCCESS && num_paths >= 1) {
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsmap.c1333 * num_paths On return, *num_paths is set to the number paths in the
1343 vhci_to_phci(char *vhci_name, int *num_paths) argument
1354 *num_paths = 0;
1406 *num_paths = n;
/illumos-gate/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);
/illumos-gate/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++) {
/illumos-gate/usr/src/uts/common/io/ib/clients/daplt/
H A Ddaplt.c2078 uint8_t num_paths; local
2174 num_paths = 0;
2182 pathflags, &path_attr, 1, &path_info, &num_paths);
2186 status, num_paths);
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd.c2972 uint8_t num_paths; local
2992 &path_attr, 1, &path, &num_paths) != IBT_SUCCESS)
2995 if (num_paths < 1)

Completed in 145 milliseconds