Home
last modified time | relevance | path

Searched refs:nproc (Results 1 – 16 of 16) sorted by relevance

/titanic_41/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/
H A Dcpu_mdesc.c166 int nnode, ncomp, nproc, ncpu; in cpu_n2_mdesc_init() local
185 for (i = 0, nproc = 0, ncpu = 0; i < ncomp; i++) { in cpu_n2_mdesc_init()
188 nproc++; in cpu_n2_mdesc_init()
200 topo_mod_dprintf(mod, "Found %d procs and %d strands\n", nproc, ncpu); in cpu_n2_mdesc_init()
201 if (nproc == 0 || ncpu == 0) { in cpu_n2_mdesc_init()
208 chip->nprocs = nproc; in cpu_n2_mdesc_init()
209 chip->procs = topo_mod_zalloc(mod, nproc * sizeof (md_proc_t)); in cpu_n2_mdesc_init()
216 for (i = 0, nproc = 0, ncpu = 0; i < ncomp; i++) { in cpu_n2_mdesc_init()
225 "proc[%d]\n", nproc); in cpu_n2_mdesc_init()
233 "proc[%d]\n", nproc); in cpu_n2_mdesc_init()
[all …]
/titanic_41/usr/src/cmd/sendmail/db/os/
H A Dos_spin.c50 int nproc; in __os_sysconf() local
52 return ((nproc = sysconf(_SC_NPROCESSORS_ONLN)) > 1 ? nproc : 1); in __os_sysconf()
/titanic_41/usr/src/cmd/rcap/rcapstat/
H A Drcapstat.c305 char nproc[6]; in print_stats() local
330 (void) strlcpy(nproc, "-", sizeof (nproc)); in print_stats()
332 (void) snprintf(nproc, sizeof (nproc), "%lld", in print_stats()
343 nproc, in print_stats()
/titanic_41/usr/src/uts/common/fs/proc/
H A Dprvfsops.c304 extern uint_t nproc; in prstatvfs()
306 n = v.v_proc - nproc; in prstatvfs()
H A Dprvnops.c2785 extern uint_t nproc; in prgetattr()
2870 vap->va_nlink = nproc + 2; in prgetattr()
/titanic_41/usr/src/uts/common/os/
H A Dpid.c73 extern uint_t nproc;
309 nproc--; in pid_exit()
537 nproc = 1; in pid_init()
H A Dfork.c934 extern uint_t nproc; in getproc()
1008 if (nproc == v.v_proc) { in getproc()
1043 ASSERT(nproc < v.v_proc); /* otherwise how'd we get our pid? */ in getproc()
1047 if (nproc >= v.v_maxup && /* short-circuit; usually false */ in getproc()
1048 (nproc >= v.v_maxupttl || in getproc()
1062 nproc++; in getproc()
H A Dkstat_fr.c149 extern uint_t nproc;
160 kstat_named_t nproc; member
838 zone_nproc = nproc; in system_misc_kstat_update()
855 system_misc_kstat.nproc.value.ui32 = (uint32_t)zone_nproc; in system_misc_kstat_update()
H A Dpool.c1352 extern uint_t nproc; in pool_do_bind()
1401 procs_size = nproc * 2; in pool_do_bind()
1406 if (nproc * 2 <= procs_size) in pool_do_bind()
/titanic_41/usr/src/uts/i86pc/io/apix/
H A Dapix_utils.c96 int nproc; in apix_alloc_ipi() local
108 nproc = max(apic_nproc, apic_max_nproc); in apix_alloc_ipi()
109 for (cpun = 0; cpun < nproc; cpun++) { in apix_alloc_ipi()
144 int nproc; in apix_add_ipi() local
148 nproc = max(apic_nproc, apic_max_nproc); in apix_add_ipi()
149 for (cpun = 0; cpun < nproc; cpun++) { in apix_add_ipi()
H A Dapix.c294 int nproc; in apix_softinit() local
296 nproc = max(apic_nproc, apic_max_nproc); in apix_softinit()
298 hdlp = kmem_zalloc(nproc * sizeof (apix_impl_t), KM_SLEEP); in apix_softinit()
299 for (i = 0; i < nproc; i++) { in apix_softinit()
/titanic_41/usr/src/cmd/sendmail/src/
H A Dconf.c5170 int nproc = 0; in get_num_procs_online() local
5179 sz = (size_t) sizeof(nproc); in get_num_procs_online()
5180 (void) sysctl(mib, 2, &nproc, &sz, NULL, 0); in get_num_procs_online()
5184 nproc = (int) sysconf(_SC_NPROCESSORS_ONLN); in get_num_procs_online()
5191 nproc = psd.psd_proc_cnt; in get_num_procs_online()
5196 if (nproc <= 0) in get_num_procs_online()
5197 nproc = 1; in get_num_procs_online()
5198 return nproc; in get_num_procs_online()
/titanic_41/usr/src/uts/common/conf/
H A Dparam.c84 uint_t nproc; /* current number of processes */ variable
/titanic_41/usr/src/cmd/truss/
H A Dexpound.c433 show_fusers(private_t *pri, long offset, long nproc) in show_fusers() argument
436 int serial = (nproc > 4); in show_fusers()
445 while (nproc > 0 && in show_fusers()
452 nproc--; in show_fusers()
/titanic_41/usr/src/lib/libdladm/common/
H A Dlinkprop.c1855 long nproc = sysconf(_SC_NPROCESSORS_CONF); in check_cpus() local
1905 if (cpus[i] >= nproc) { in check_cpus()
/titanic_41/usr/src/uts/common/io/usb/clients/audio/usb_ac/
H A Dusb_ac.c402 extern uint_t nproc;
431 if (nproc < INIT_PROCESS_CNT) { in usb_ac_attach()