| /illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
| H A D | Utility.java | 71 String[] npaths = new String[paths.length * 2]; 73 npaths[i] = root + "/" + paths[i]; 74 npaths[i + paths.length] = paths[i]; 76 paths = npaths;
|
| /illumos-gate/usr/src/cmd/svr4pkg/pkgchk/ |
| H A D | main.c | 100 short npaths; variable 190 pathlist[npaths] = strtok(optarg, " , "); 191 if (pathlist[npaths++] == NULL) { 195 while (pathlist[npaths] = strtok(NULL, " , ")) { 196 if (npaths++ >= MAXPATHS) { 304 ppathlist[npaths] = strtok(optarg, " , "); 305 if ((ppathlist[npaths] == NULL) || 306 (ppathlist[npaths][0] == '-')) { 310 npaths++; 311 while (ppathlist[npaths] [all...] |
| H A D | checkmap.c | 51 extern short npaths; 379 if (!npaths) 382 for (n = 0; n < npaths; n++) {
|
| /illumos-gate/usr/src/lib/libdevinfo/ |
| H A D | devinfo_finddev.c | 51 int npaths; member in struct:finddevhdl 118 handle->npaths = 0; 131 handle->npaths = n; 145 if (n == handle->npaths) { 193 handle->npaths = 0; 217 handle->npaths = n; 324 for (i = 0; i < handle->npaths; i++) { 338 if (handle->curpath < handle->npaths) {
|
| H A D | devfsmap.c | 1294 add_to_phci_list(char **phci_list, sv_path_info_t *pi, int npaths, int state, argument 1300 while (npaths--) { 1346 uint_t npaths; local 1360 ioc.ret_elem = &npaths; 1362 npaths == 0) { 1363 logdmsg(("vhci_to_phci: vhci_ctl failed to get npaths: %s\n", 1371 ioc.buf_elem = npaths; 1372 ioc.ret_elem = &npaths; 1373 if ((ioc.ret_buf = (sv_path_info_t *)calloc(npaths, 1377 npaths 1425 build_pathlist(char *rootdir, char *vhcipath, char **pathlist, int npaths) argument 1815 int npaths, i, j; local [all...] |
| /illumos-gate/usr/src/cmd/fs.d/nfs/nfsd/ |
| H A D | nfsd.c | 90 static int dss_init(uint_t npaths, char **pathnames); 91 static void dss_mkleafdirs(uint_t npaths, char **pathnames); 771 dss_mkleafdirs(uint_t npaths, char **pathnames) argument 788 for (i = 0; i < npaths; i++) { 829 dss_init(uint_t npaths, char **pathnames) argument 837 if (npaths > 1) { 846 qsort(pathnames, npaths, sizeof (char *), qstrcmp); 850 while (j < npaths) { 868 nreal = npaths - nskipped; 878 for (i = 0, j = 0; i < npaths; [all...] |
| /illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
| H A D | layout_slice.h | 95 uint16_t npaths,
|
| H A D | layout_hsp.c | 90 uint16_t npaths); 407 uint16_t npaths = 0; local 425 (error = get_volume_npaths(request, &npaths)); 517 &avail, hbas, disks, npaths); 822 * dlist_t avail, uint16_t npaths, dlist_t *used_hbas, 832 * npaths - required number of paths for the spare 860 uint16_t npaths) 891 error = choose_slice(csize, npaths, *avail, *all_spares, 909 csize, npaths, *avail, *all_spares, used_hbas, 853 choose_spare_for_component( devconfig_t *component, dlist_t **all_spares, dlist_t **new_spares, dlist_t **avail, dlist_t *used_hbas, dlist_t *used_disks, uint16_t npaths) argument
|
| H A D | layout_concat.c | 379 uint16_t npaths = 0; local 386 (error = get_volume_npaths(request, &npaths)); 430 error = choose_slice((nbytes-capacity), npaths, slices, comps,
|
| H A D | layout_slice.c | 78 uint16_t npaths, 145 * uint16_t npaths, 156 * npaths - minimum required data paths 205 uint16_t npaths, 315 (error = slice_has_n_paths(slice, npaths, &paths)) || 336 if (npaths > 1) { 341 } else if (npaths == 1) { 384 oprintf(OUTPUT_VERBOSE, insuff_paths, npaths); 1807 * uint16_t npaths, boolean_t *has_n_paths) 1809 * npaths 203 choose_slice( uint64_t nbytes, uint16_t npaths, dlist_t *slices, dlist_t *used, dlist_t *used_hbas, dlist_t *used_disks, boolean_t unused_disk, boolean_t nbytes_is_min, boolean_t add_extra_cyl, devconfig_t **chosen) argument 1832 slice_has_n_paths( dm_descriptor_t slice, uint16_t npaths, boolean_t *has_n_paths) argument [all...] |
| H A D | layout_validate.c | 1201 * If the request specifies npaths, the value must be 1209 uint16_t npaths = 0; local 1215 if ((error = devconfig_get_volume_npaths(req, &npaths)) != 0) { 1222 if (npaths < minpaths || npaths > maxpaths) { 1230 if ((npaths > 1) && (is_mpxio_enabled() != B_TRUE)) { 1235 npaths);
|
| H A D | layout_stripe.c | 465 uint16_t npaths = 0; local 480 (error = get_volume_npaths(request, &npaths)); 537 error = choose_slice(rsize, npaths, slices, comps,
|
| /illumos-gate/usr/src/cmd/lvm/metassist/common/ |
| H A D | volume_devconfig.h | 881 * @param npaths 891 extern int devconfig_set_volume_npaths(devconfig_t *volume, uint16_t npaths); 899 * @param npaths 909 extern int devconfig_get_volume_npaths(devconfig_t *volume, uint16_t *npaths);
|
| H A D | volume_devconfig.c | 1336 * @param npaths 1349 uint16_t npaths) 1352 if (npaths < MIN_NDATAPATHS || npaths > MAX_NDATAPATHS) { 1355 npaths, MIN_NDATAPATHS, MAX_NDATAPATHS); 1359 return (set_uint16(volume->attributes, ATTR_VOLUME_DATAPATHS, npaths)); 1368 * @param npaths 1381 uint16_t *npaths) 1384 volume->attributes, ATTR_VOLUME_DATAPATHS, npaths); 1603 /* Volume npaths */ 1347 devconfig_set_volume_npaths( devconfig_t *volume, uint16_t npaths) argument 1379 devconfig_get_volume_npaths( devconfig_t *volume, uint16_t *npaths) argument [all...] |
| /illumos-gate/usr/src/uts/common/os/ |
| H A D | devid_cache.c | 786 int ndevis, npaths; local 794 npaths = 0; 843 if (npaths < retmax) 844 retpaths[npaths++] = np->nvp_devpath; 851 *retnpaths = npaths; 873 int ndevis, npaths, nalloced; local 892 &ndevis, devis, &npaths, paths); 903 for (i = 0; i < npaths; i++) { 909 if (ndevis == 0 && npaths == 0) { 931 for (i = 0; i < npaths; [all...] |
| H A D | modctl.c | 2162 int npaths; local 2190 &npaths, &npaths_alloc, 0)) != 0) { 2196 for (i = 0; i < npaths; i++) { 2210 for (i = 0; i < npaths; i++) { 2230 sdev_modctl_readdir_free(dirlist, npaths, npaths_alloc); 2243 int npaths; local 2258 &npaths, &npaths_alloc, 1)) != 0) { 2262 empty = npaths ? 0 : 1; 2268 sdev_modctl_readdir_free(dirlist, npaths, npaths_alloc);
|
| H A D | sunddi.c | 7613 ddi_debug_devid_paths(char *msg, int npaths, char **paths) argument 7618 for (i = 0; i < npaths; i++) {
|
| /illumos-gate/usr/src/cmd/stmsboot/ |
| H A D | stmsboot_util.c | 1322 uint_t npaths = 0; local 1332 ioc.ret_elem = &npaths; 1334 if (rv || npaths == 0) { 1343 ioc.buf_elem = npaths; 1344 ioc.ret_elem = &npaths; 1345 if ((ioc.ret_buf = calloc(npaths, sizeof (sv_path_info_t))) 1349 if (rv || npaths == 0) { 1357 if (ioc.buf_elem < npaths) 1358 npaths = ioc.buf_elem; 1369 while (npaths [all...] |
| /illumos-gate/usr/src/lib/libzfs_jni/common/ |
| H A D | libzfs_jni_dataset.c | 739 jint npaths; local 752 npaths = (*env)->GetArrayLength(env, paths); 753 for (i = 0; i < npaths; i++) {
|
| /illumos-gate/usr/src/uts/common/fs/dev/ |
| H A D | sdev_subr.c | 2818 int npaths = 0; local 2875 if (npaths == npaths_alloc) { 2882 npaths * sizeof (char *)); 2884 (npaths + 1) * sizeof (char *)); 2891 pathlist[npaths++] = s; 2912 *npathsp = npaths; 2919 sdev_modctl_readdir_free(char **pathlist, int npaths, int npaths_alloc) argument 2923 for (i = 0; i < npaths; i++) {
|
| /illumos-gate/usr/src/uts/common/fs/nfs/ |
| H A D | nfs4_state.c | 710 int npaths = 1; local 714 rfs4_dss_readstate(npaths, &default_dss_path); 774 rfs4_dss_readstate(int npaths, char **paths) argument 782 for (i = 0; i < npaths; i++) { 948 int i, npaths = sip->dss_npaths; local 951 for (i = 0; i < npaths; i++) { 1604 int i, npaths = sip->dss_npaths; local 1606 for (i = 0; i < npaths; i++) {
|
| H A D | nfs4_srv.c | 9821 int i, size, npaths; local 9848 npaths = 0; 9855 npaths++;
|
| /illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
| H A D | ibcm_ti.c | 5665 uint8_t npaths; local 5774 npaths = 1; 5778 sgid, gid, 0, 0, B_TRUE, &npaths, 0, &len, 5788 } else if ((npaths == 0) || (path == NULL)) { 6108 uint8_t npaths; local 6276 npaths = 1; 6280 sgid, gid, 0, 0, B_TRUE, &npaths, 0, &len, 6291 } else if ((npaths == 0) || (path == NULL)) {
|
| /illumos-gate/usr/src/uts/common/io/ib/mgt/ibdm/ |
| H A D | ibdm.c | 1991 uint_t npaths = 0; local 2100 npaths++; 2103 IBTF_DPRINTF_L4("ibdm", "\tget_reachable_ports: npaths = %d", npaths); 2104 return (npaths); 4503 uint8_t ii, npaths; local 4511 npaths = 1; 4516 sgid, dgid, IBMF_SAA_PKEY_WC, 0, B_TRUE, &npaths, 0, 6812 uint8_t npaths = 1; local 6866 IBMF_SAA_PKEY_WC, 0, B_TRUE, &npaths, [all...] |