/titanic_50/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 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_50/usr/src/cmd/sendmail/db/os/ |
H A D | os_spin.c | 50 int nproc; in __os_sysconf() local 52 return ((nproc = sysconf(_SC_NPROCESSORS_ONLN)) > 1 ? nproc : 1); in __os_sysconf()
|
/titanic_50/usr/src/cmd/rcap/rcapstat/ |
H A D | rcapstat.c | 305 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_50/usr/src/uts/common/fs/proc/ |
H A D | prvfsops.c | 304 extern uint_t nproc; in prstatvfs() 306 n = v.v_proc - nproc; in prstatvfs()
|
H A D | prvnops.c | 2785 extern uint_t nproc; in prgetattr() 2870 vap->va_nlink = nproc + 2; in prgetattr()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | pid.c | 74 extern uint_t nproc; 310 nproc--; in pid_exit() 535 nproc = 1; in pid_init()
|
H A D | fork.c | 934 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 D | kstat_fr.c | 149 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 D | pool.c | 1352 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_50/usr/src/uts/i86pc/io/apix/ |
H A D | apix_utils.c | 96 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 D | apix.c | 294 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_50/usr/src/cmd/sendmail/src/ |
H A D | conf.c | 5170 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_50/usr/src/uts/common/conf/ |
H A D | param.c | 84 uint_t nproc; /* current number of processes */ variable
|
/titanic_50/usr/src/cmd/truss/ |
H A D | expound.c | 434 show_fusers(private_t *pri, long offset, long nproc) in show_fusers() argument 437 int serial = (nproc > 4); in show_fusers() 446 while (nproc > 0 && in show_fusers() 453 nproc--; in show_fusers()
|
/titanic_50/usr/src/lib/libdladm/common/ |
H A D | linkprop.c | 1855 long nproc = sysconf(_SC_NPROCESSORS_CONF); in check_cpus() local 1905 if (cpus[i] >= nproc) { in check_cpus()
|
/titanic_50/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) { in usb_ac_attach()
|