/titanic_41/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, 87 int ncomp, in ldap_ufn_search_ctx() argument 124 for ( ncomp--; ncomp != -1; ncomp-- ) { in ldap_ufn_search_ctx() 125 if ( *ufncomp[ncomp] == '"' ) { in ldap_ufn_search_ctx() 128 if ( (quote = strrchr( ufncomp[ncomp], '"' )) != NULL ) in ldap_ufn_search_ctx() 130 strcpy( ufncomp[ncomp], ufncomp[ncomp] + 1 ); in ldap_ufn_search_ctx() 132 if ( ncomp == 0 ) in ldap_ufn_search_ctx() 207 ufncomp[ncomp] ); fi != NULL; in ldap_ufn_search_ctx() 261 int ncomp, pcomp, i, err = 0; in ldap_ufn_search_ct() local 276 for ( ncomp = 0; ufncomp[ncomp] != NULL; ncomp++ ) in ldap_ufn_search_ct() [all …]
|
/titanic_41/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 …]
|
/titanic_41/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_mirror.c | 68 uint16_t ncomp, 79 uint16_t ncomp, 89 uint16_t ncomp, 1381 int ncomp = 0; in compose_stripe_per_hba() local 1398 if ((ncomp = dlist_length(disks)) < mincomp) { in compose_stripe_per_hba() 1399 print_insufficient_disks_msg(ncomp); in compose_stripe_per_hba() 1405 for (ncomp = ((ncomp > maxcomp) ? maxcomp : ncomp); in compose_stripe_per_hba() 1406 (list == NULL) && (ncomp >= mincomp) && (error == 0); in compose_stripe_per_hba() 1407 ncomp--) { in compose_stripe_per_hba() 1420 disks, ncomp, cursubs, &stripe)) != 0) || in compose_stripe_per_hba() [all …]
|
H A D | layout_stripe.c | 461 uint16_t ncomp, in populate_stripe() argument 486 devconfig_type_to_str(TYPE_STRIPE), nbytes, ncomp); in populate_stripe() 512 rsize = nbytes / ncomp; in populate_stripe() 519 while ((ncomps < ncomp) && (error == 0)) { in populate_stripe() 579 if (ncomps == ncomp) { in populate_stripe() 801 uint16_t ncomp = 0; in compose_stripe_within_hba() local 810 ncomp = dlist_length(disks); in compose_stripe_within_hba() 811 ncomp = ((ncomp > max) ? max : ncomp); in compose_stripe_within_hba() 813 request, nbytes, disks, ncomp, in compose_stripe_within_hba()
|
H A D | layout_messages.c | 216 int ncomp) in print_insufficient_components_msg() argument 219 gettext(" <---Failed: only found %d components\n"), ncomp); in print_insufficient_components_msg()
|
H A D | layout_validate.c | 1752 int ncomp = 0; in validate_slice_components() local 1891 ncomp = dlist_length(list); in validate_slice_components() 1892 if ((ncomp > 0) && (type == TYPE_CONCAT || type == TYPE_STRIPE)) { in validate_slice_components() 1920 if ((ncomp > 0) && (type == TYPE_STRIPE)) { in validate_slice_components() 1933 } else if (ncomp < min) { in validate_slice_components() 1938 voltype, ncomp, min); in validate_slice_components() 1952 } else if (ncomp > max) { in validate_slice_components() 1957 voltype, ncomp, max); in validate_slice_components()
|
H A D | layout_messages.h | 66 extern void print_insufficient_components_msg(int ncomp);
|
/titanic_41/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() 817 if (ncomp != tcomp) { in nfs4secinfo_otw() 819 ncomp = tcomp; in nfs4secinfo_otw() 844 int ncomp; in nfs4_secinfo_path() local 854 ncomp = comp_total(svp->sv_path); in nfs4_secinfo_path() [all …]
|
H A D | nfs4_srv.c | 9654 int slen, plen, ncomp; in nfs4_create_components() local 9662 ncomp = 0; in nfs4_create_components() 9675 (void) str_to_utf8(buf, &comp4[ncomp]); in nfs4_create_components() 9678 ncomp++; /* 1 valid component */ in nfs4_create_components() 9685 return (ncomp); in nfs4_create_components() 9695 int ncomp; in make_pathname4() local 9708 if ((ncomp = nfs4_create_components(path, NULL)) == 0) { in make_pathname4() 9713 comp4 = kmem_zalloc(ncomp * sizeof (component4), KM_SLEEP); in make_pathname4() 9716 ncomp = nfs4_create_components(path, comp4); in make_pathname4() 9719 pathname->pathname4_len = ncomp; in make_pathname4() [all …]
|
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/ |
H A D | cpu_mdesc.c | 166 int nnode, ncomp, nproc, ncpu; in cpu_n2_mdesc_init() local 175 ncomp = md_scan_dag(mdp, in cpu_n2_mdesc_init() 180 if (ncomp <= 0) { in cpu_n2_mdesc_init() 185 for (i = 0, nproc = 0, ncpu = 0; i < ncomp; i++) { in cpu_n2_mdesc_init() 216 for (i = 0, nproc = 0, ncpu = 0; i < ncomp; i++) { in cpu_n2_mdesc_init()
|
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/xaui/ |
H A D | xaui.c | 288 int num_nodes, ncomp; in xaui_get_pri_label() local 336 ncomp = md_scan_dag(mdp, MDE_INVAL_ELEM_COOKIE, in xaui_get_pri_label() 339 if (ncomp <= 0) { in xaui_get_pri_label() 347 topo_mod_dprintf(mod, "number of comps (%d)\n", ncomp); in xaui_get_pri_label() 349 for (i = 0; i < ncomp; i++) { in xaui_get_pri_label()
|
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/cpuboard/ |
H A D | cpuboard.c | 97 int ncomp, num_nodes, i, len; in cpuboard_get_pri_info() local 151 ncomp = md_scan_dag(mdp, MDE_INVAL_ELEM_COOKIE, in cpuboard_get_pri_info() 154 topo_mod_dprintf(mod, "ncomp=%d\n", ncomp); in cpuboard_get_pri_info() 155 if (ncomp <= 0) { in cpuboard_get_pri_info() 162 for (i = 0; i < ncomp; i++) { in cpuboard_get_pri_info()
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_stripe.c | 1804 uint_t ncomp = rp->comps.comps_len; in stripe_geom() local 1807 for (comp = 0; (comp < ncomp); ++comp) { in stripe_geom() 1927 uint_t ncomp = 0; in meta_create_stripe() local 1951 ncomp += rp->comps.comps_len; in meta_create_stripe() 1954 mdsize += (first_comp - mdsize) + (ncomp * sizeof (ms_comp_t)); in meta_create_stripe() 1964 uint_t ncomp = rp->comps.comps_len; in meta_create_stripe() local 1971 mdr->un_ncomp = ncomp; in meta_create_stripe() 1974 for (comp = 0; (comp < ncomp); ++comp) { in meta_create_stripe() 2016 if (ncomp > 1) in meta_create_stripe() 2236 uint_t ncomp, comp; in meta_init_stripe() local [all …]
|
/titanic_41/usr/src/cmd/ssh/libssh/common/ |
H A D | kex.c | 470 int nenc, nmac, ncomp; in kex_choose_conf() local 495 ncomp = ctos ? PROPOSAL_COMP_ALGS_CTOS : PROPOSAL_COMP_ALGS_STOC; in kex_choose_conf() 498 choose_comp(&newkeys->comp, cprop[ncomp], sprop[ncomp]); in kex_choose_conf()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvd.c | 1716 int i, ncomp; in envd_setup_sensors() local 1734 ncomp = ioctl(pm_fd, PM_GET_NUM_COMPONENTS, &pmreq); in envd_setup_sensors() 1735 for (i = 0; i < ncomp; i++) { in envd_setup_sensors()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | sunpm.c | 4282 int ncomp = PM_NUMCMPTS(dip); in pm_set_device_threshold() local 4301 for (comp = 0; comp < ncomp; comp++) { in pm_set_device_threshold() 4364 for (comp = 0; comp < ncomp; comp++) { in pm_set_device_threshold() 4372 for (comp = 0; comp < ncomp; comp++) { in pm_set_device_threshold() 4380 for (comp = 0; comp < ncomp; comp++) { in pm_set_device_threshold() 4401 while (remainder && (comp < ncomp)) { in pm_set_device_threshold() 4412 for (comp = 0; comp < ncomp; comp++) { in pm_set_device_threshold()
|