Searched defs:nproc (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_spin.c50 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 Dcpu_mdesc.c166 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 Drcapstat.c305 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/conf/
H A Dparam.c84 uint_t nproc; /* current number of processes */ variable
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix_utils.c96 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 Dapix.c294 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/os/
H A Dkstat_fr.c149 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;
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dconf.c5170 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 Dexpound.c434 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/lib/libdladm/common/
H A Dlinkprop.c1805 long nproc = sysconf(_SC_NPROCESSORS_CONF); local
1855 if (cpus[i] >= nproc) {

Completed in 117 milliseconds