/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_messages.c | 206 * FUNCTION: print_insufficient_components_msg(int ncomp) 208 * INPUT: ncomp - number of available components 216 int ncomp) 219 gettext(" <---Failed: only found %d components\n"), ncomp); 215 print_insufficient_components_msg( int ncomp) argument
|
H A D | layout_stripe.c | 429 * dlist_t *disks, uint16_t ncomp, dlist_t *othervols, 435 * ncomp - number of components desired 461 uint16_t ncomp, 486 devconfig_type_to_str(TYPE_STRIPE), nbytes, ncomp); local 512 rsize = nbytes / ncomp; 515 * need to select 'ncomp' slices that are at least 'rsize' 519 while ((ncomps < ncomp) && (error == 0)) { 579 if (ncomps == ncomp) { 801 uint16_t ncomp = 0; local 810 ncomp 457 populate_stripe( devconfig_t *request, uint64_t nbytes, dlist_t *disks, uint16_t ncomp, dlist_t *othervols, devconfig_t **stripe) argument [all...] |
H A D | layout_mirror.c | 68 uint16_t ncomp, 79 uint16_t ncomp, 89 uint16_t ncomp, 1297 * in the range of mincomp to ncomp, preferring more components 1381 int ncomp = 0; local 1398 if ((ncomp = dlist_length(disks)) < mincomp) { 1399 print_insufficient_disks_msg(ncomp); 1405 for (ncomp = ((ncomp > maxcomp) ? maxcomp : ncomp); 1579 compose_stripes_across_hbas( devconfig_t *request, dlist_t *cursubs, dlist_t *hbas, dlist_t *disks, uint64_t nbytes, uint16_t nsubs, uint16_t ncomp, uint16_t mincomp, dlist_t **results) argument 1757 int ncomp = 0; local [all...] |
H A D | layout_validate.c | 1752 int ncomp = 0; local 1891 ncomp = dlist_length(list); 1892 if ((ncomp > 0) && (type == TYPE_CONCAT || type == TYPE_STRIPE)) { 1920 if ((ncomp > 0) && (type == TYPE_STRIPE)) { 1933 } else if (ncomp < min) { 1938 voltype, ncomp, min); 1952 } else if (ncomp > max) { 1957 voltype, ncomp, max);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | ref_subr.c | 172 int slen, plen, ncomp; local 180 ncomp = 0; 193 if (str_to_utf8(buf, &comp4[ncomp]) == NULL) 197 ncomp++; /* 1 valid component */ 204 return (ncomp); 214 int ncomp; local 227 if ((ncomp = nfs4_create_components(path, NULL)) == 0) { 232 comp4 = calloc(ncomp * sizeof (component4), 1); 240 ncomp = nfs4_create_components(path, comp4); 243 pathname->pathname4_len = ncomp; [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/ |
H A D | cpu_mdesc.c | 166 int nnode, ncomp, nproc, ncpu; local 175 ncomp = md_scan_dag(mdp, 180 if (ncomp <= 0) { 185 for (i = 0, nproc = 0, ncpu = 0; i < ncomp; i++) { 216 for (i = 0, nproc = 0, ncpu = 0; i < ncomp; i++) {
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | ufn.c | 47 static int ldap_ufn_search_ctx( LDAP *ld, char **ufncomp, int ncomp, 62 * ncomp number of elements in ufncomp 87 int ncomp, 124 for ( ncomp--; ncomp != -1; ncomp-- ) { 125 if ( *ufncomp[ncomp] == '"' ) { 128 if ( (quote = strrchr( ufncomp[ncomp], '"' )) != NULL ) 130 strcpy( ufncomp[ncomp], ufncomp[ncomp] 84 ldap_ufn_search_ctx( LDAP *ld, char **ufncomp, int ncomp, char *prefix, char **attrs, int attrsonly, LDAPMessage **res, LDAP_CANCELPROC_CALLBACK *cancelproc, void *cancelparm, char *tag1, char *tag2, char *tag3 ) argument 261 int ncomp, pcomp, i, err = 0; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/cpuboard/ |
H A D | cpuboard.c | 97 int ncomp, num_nodes, i, len; local 151 ncomp = md_scan_dag(mdp, MDE_INVAL_ELEM_COOKIE, 154 topo_mod_dprintf(mod, "ncomp=%d\n", ncomp); 155 if (ncomp <= 0) { 162 for (i = 0; i < ncomp; i++) {
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/xaui/ |
H A D | xaui.c | 288 int num_nodes, ncomp; local 336 ncomp = md_scan_dag(mdp, MDE_INVAL_ELEM_COOKIE, 339 if (ncomp <= 0) { 347 topo_mod_dprintf(mod, "number of comps (%d)\n", ncomp); 349 for (i = 0; i < ncomp; i++) {
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_client_secinfo.c | 630 uint_t ncomp, tcomp; local 635 ncomp = tcomp = comp_total(svp->sv_path); 638 ASSERT(ncomp > 0); 645 comp_getn(tmp_path, ncomp, &comp); 701 ncomp = tcomp; 713 ncomp = res.array_len - 1; 817 if (ncomp != tcomp) { 819 ncomp = tcomp; 844 int ncomp; local 854 ncomp [all...] |
H A D | nfs4_srv.c | 9680 int slen, plen, ncomp; local 9688 ncomp = 0; 9701 (void) str_to_utf8(buf, &comp4[ncomp]); 9704 ncomp++; /* 1 valid component */ 9711 return (ncomp); 9721 int ncomp; local 9734 if ((ncomp = nfs4_create_components(path, NULL)) == 0) { 9739 comp4 = kmem_zalloc(ncomp * sizeof (component4), KM_SLEEP); 9742 ncomp = nfs4_create_components(path, comp4); 9745 pathname->pathname4_len = ncomp; [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_stripe.c | 1804 uint_t ncomp = rp->comps.comps_len; local 1807 for (comp = 0; (comp < ncomp); ++comp) { 1927 uint_t ncomp = 0; local 1951 ncomp += rp->comps.comps_len; 1954 mdsize += (first_comp - mdsize) + (ncomp * sizeof (ms_comp_t)); 1964 uint_t ncomp = rp->comps.comps_len; local 1971 mdr->un_ncomp = ncomp; 1974 for (comp = 0; (comp < ncomp); ++comp) { 2014 * (ncomp > 1) 2016 if (ncomp > 2236 uint_t ncomp, comp; local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvd.c | 1716 int i, ncomp; local 1734 ncomp = ioctl(pm_fd, PM_GET_NUM_COMPONENTS, &pmreq); 1735 for (i = 0; i < ncomp; i++) {
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunpm.c | 4282 int ncomp = PM_NUMCMPTS(dip); local 4301 for (comp = 0; comp < ncomp; comp++) { 4364 for (comp = 0; comp < ncomp; comp++) { 4372 for (comp = 0; comp < ncomp; comp++) { 4380 for (comp = 0; comp < ncomp; comp++) { 4401 while (remainder && (comp < ncomp)) { 4412 for (comp = 0; comp < ncomp; comp++) { 5511 PMD(PMD_FAIL, ("%s: comp=%d, ncomp=%d, level=%d\n",
|