/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_spin.c | 50 int nproc; local 52 return ((nproc = sysconf(_SC_NPROCESSORS_ONLN)) > 1 ? nproc : 1);
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/ |
H A D | cpu_mdesc.c | 166 int nnode, ncomp, nproc, ncpu; local 185 for (i = 0, nproc = 0, ncpu = 0; i < ncomp; i++) { 188 nproc++; 200 topo_mod_dprintf(mod, "Found %d procs and %d strands\n", nproc, ncpu); 201 if (nproc == 0 || ncpu == 0) { 208 chip->nprocs = nproc; 209 chip->procs = topo_mod_zalloc(mod, nproc * sizeof (md_proc_t)); 216 for (i = 0, nproc = 0, ncpu = 0; i < ncomp; i++) { 225 "proc[%d]\n", nproc); 233 "proc[%d]\n", nproc); [all...] |
/illumos-gate/usr/src/cmd/rcap/rcapstat/ |
H A D | rcapstat.c | 305 char nproc[6]; local 320 "nproc", "vm", "rss", "cap", 330 (void) strlcpy(nproc, "-", sizeof (nproc)); 332 (void) snprintf(nproc, sizeof (nproc), "%lld", 343 nproc,
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prvfsops.c | 304 extern uint_t nproc; 306 n = v.v_proc - nproc;
|
H A D | prvnops.c | 2808 extern uint_t nproc; 2893 vap->va_nlink = nproc + 2;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | pid.c | 73 extern uint_t nproc; 309 nproc--; 537 nproc = 1;
|
H A D | fork.c | 946 extern uint_t nproc; 1020 if (nproc == v.v_proc) { 1055 ASSERT(nproc < v.v_proc); /* otherwise how'd we get our pid? */ 1059 if (nproc >= v.v_maxup && /* short-circuit; usually false */ 1060 (nproc >= v.v_maxupttl || 1074 nproc++;
|
H A D | kstat_fr.c | 149 extern uint_t nproc; 160 kstat_named_t nproc; member in struct:__anon369 172 { "nproc", KSTAT_DATA_UINT32 }, 838 zone_nproc = nproc; 855 system_misc_kstat.nproc.value.ui32 = (uint32_t)zone_nproc;
|
H A D | pool.c | 1352 extern uint_t nproc; 1401 procs_size = nproc * 2; 1406 if (nproc * 2 <= procs_size) 1409 * If nproc has changed, try again.
|
/illumos-gate/usr/src/uts/i86pc/io/apix/ |
H A D | apix_utils.c | 96 int nproc; local 108 nproc = max(apic_nproc, apic_max_nproc); 109 for (cpun = 0; cpun < nproc; cpun++) { 144 int nproc; local 148 nproc = max(apic_nproc, apic_max_nproc); 149 for (cpun = 0; cpun < nproc; cpun++) {
|
H A D | apix.c | 294 int nproc; local 296 nproc = max(apic_nproc, apic_max_nproc); 298 hdlp = kmem_zalloc(nproc * sizeof (apix_impl_t), KM_SLEEP); 299 for (i = 0; i < nproc; i++) {
|
/illumos-gate/usr/src/uts/common/conf/ |
H A D | param.c | 84 uint_t nproc; /* current number of processes */ variable
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | conf.c | 5170 int nproc = 0; local 5179 sz = (size_t) sizeof(nproc); 5180 (void) sysctl(mib, 2, &nproc, &sz, NULL, 0); 5184 nproc = (int) sysconf(_SC_NPROCESSORS_ONLN); 5191 nproc = psd.psd_proc_cnt; 5196 if (nproc <= 0) 5197 nproc = 1; 5198 return nproc;
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | expound.c | 434 show_fusers(private_t *pri, long offset, long nproc) argument 437 int serial = (nproc > 4); 446 while (nproc > 0 && 453 nproc--;
|
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_ac/ |
H A D | usb_ac.c | 402 extern uint_t nproc; 431 if (nproc < INIT_PROCESS_CNT) {
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | linkprop.c | 1805 long nproc = sysconf(_SC_NPROCESSORS_CONF); local 1855 if (cpus[i] >= nproc) {
|