Searched refs:ncomp (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | ufn.c | 45 static int ldap_ufn_search_ctx( LDAP *ld, char **ufncomp, int ncomp, 85 int ncomp, in ldap_ufn_search_ctx() argument 122 for ( ncomp--; ncomp != -1; ncomp-- ) { in ldap_ufn_search_ctx() 123 if ( *ufncomp[ncomp] == '"' ) { in ldap_ufn_search_ctx() 126 if ( (quote = strrchr( ufncomp[ncomp], '"' )) != NULL ) in ldap_ufn_search_ctx() 128 strcpy( ufncomp[ncomp], ufncomp[ncomp] + 1 ); in ldap_ufn_search_ctx() 130 if ( ncomp == 0 ) in ldap_ufn_search_ctx() 205 ufncomp[ncomp] ); fi != NULL; in ldap_ufn_search_ctx() 259 int ncomp, pcomp, i, err = 0; in ldap_ufn_search_ct() local 274 for ( ncomp = 0; ufncomp[ncomp] != NULL; ncomp++ ) in ldap_ufn_search_ct() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | ref_subr.c | 172 int slen, plen, ncomp; in nfs4_create_components() local 180 ncomp = 0; in nfs4_create_components() 193 if (str_to_utf8(buf, &comp4[ncomp]) == NULL) in nfs4_create_components() 197 ncomp++; /* 1 valid component */ in nfs4_create_components() 204 return (ncomp); in nfs4_create_components() 214 int ncomp; in make_pathname4() local 227 if ((ncomp = nfs4_create_components(path, NULL)) == 0) { in make_pathname4() 232 comp4 = calloc(ncomp * sizeof (component4), 1); in make_pathname4() 240 ncomp = nfs4_create_components(path, comp4); in make_pathname4() 243 pathname->pathname4_len = ncomp; in make_pathname4() [all …]
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_client_secinfo.c | 630 uint_t ncomp, tcomp; in nfs4secinfo_otw() local 635 ncomp = tcomp = comp_total(svp->sv_path); in nfs4secinfo_otw() 638 ASSERT(ncomp > 0); in nfs4secinfo_otw() 645 comp_getn(tmp_path, ncomp, &comp); in nfs4secinfo_otw() 701 ncomp = tcomp; in nfs4secinfo_otw() 713 ncomp = res.array_len - 1; in nfs4secinfo_otw() 816 if (ncomp != tcomp) { in nfs4secinfo_otw() 818 ncomp = tcomp; in nfs4secinfo_otw() 843 int ncomp; in nfs4_secinfo_path() local 853 ncomp = comp_total(svp->sv_path); in nfs4_secinfo_path() [all …]
|
H A D | nfs4_srv.c | 9985 int slen, plen, ncomp; in nfs4_create_components() local 9993 ncomp = 0; in nfs4_create_components() 10006 (void) str_to_utf8(buf, &comp4[ncomp]); in nfs4_create_components() 10009 ncomp++; /* 1 valid component */ in nfs4_create_components() 10016 return (ncomp); in nfs4_create_components() 10026 int ncomp; in make_pathname4() local 10039 if ((ncomp = nfs4_create_components(path, NULL)) == 0) { in make_pathname4() 10044 comp4 = kmem_zalloc(ncomp * sizeof (component4), KM_SLEEP); in make_pathname4() 10047 ncomp = nfs4_create_components(path, comp4); in make_pathname4() 10050 pathname->pathname4_len = ncomp; in make_pathname4() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvd.c | 1714 int i, ncomp; in envd_setup_sensors() local 1732 ncomp = ioctl(pm_fd, PM_GET_NUM_COMPONENTS, &pmreq); in envd_setup_sensors() 1733 for (i = 0; i < ncomp; i++) { in envd_setup_sensors()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunpm.c | 4278 int ncomp = PM_NUMCMPTS(dip); in pm_set_device_threshold() local 4297 for (comp = 0; comp < ncomp; comp++) { in pm_set_device_threshold() 4360 for (comp = 0; comp < ncomp; comp++) { in pm_set_device_threshold() 4368 for (comp = 0; comp < ncomp; comp++) { in pm_set_device_threshold() 4376 for (comp = 0; comp < ncomp; comp++) { in pm_set_device_threshold() 4397 while (remainder && (comp < ncomp)) { in pm_set_device_threshold() 4408 for (comp = 0; comp < ncomp; comp++) { in pm_set_device_threshold()
|