Home
last modified time | relevance | path

Searched refs:_SC_NPROCESSORS_ONLN (Results 1 – 25 of 25) sorted by relevance

/titanic_41/usr/src/cmd/sendmail/db/os/
H A Dos_spin.c42 #if defined(HAVE_SYSCONF) && defined(_SC_NPROCESSORS_ONLN)
52 return ((nproc = sysconf(_SC_NPROCESSORS_ONLN)) > 1 ? nproc : 1); in __os_sysconf()
81 #if defined(HAVE_SYSCONF) && defined(_SC_NPROCESSORS_ONLN) in __os_spin()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dget_nprocs.c35 return ((int)sysconf(_SC_NPROCESSORS_ONLN)); in get_nprocs()
H A Dsysconf.c143 case _SC_NPROCESSORS_ONLN: in sysconf()
/titanic_41/usr/src/lib/libumem/common/
H A Dinit_lib.c68 return (2 * sysconf(_SC_NPROCESSORS_ONLN)); in umem_get_max_ncpus()
/titanic_41/usr/src/test/zfs-tests/tests/functional/threadsappend/
H A Dthreadsappend.c95 ncpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
/titanic_41/usr/src/uts/common/sys/
H A Dunistd.h121 #define _SC_NPROCESSORS_ONLN 15 macro
/titanic_41/usr/src/cmd/sendmail/include/sm/
H A Dconf.h315 # if defined(_SC_NPROC_ONLN) && !defined(_SC_NPROCESSORS_ONLN)
317 # define _SC_NPROCESSORS_ONLN _SC_NPROC_ONLN macro
1764 # if defined(_SC_NPROC_ONLN) && !defined(_SC_NPROCESSORS_ONLN)
1766 # define _SC_NPROCESSORS_ONLN _SC_NPROC_ONLN macro
/titanic_41/usr/src/lib/libzpool/common/
H A Dtaskq.c242 nthreads = (sysconf(_SC_NPROCESSORS_ONLN) * pct) / 100; in taskq_create()
/titanic_41/usr/src/lib/libfakekernel/common/
H A Dtaskq.c281 nthreads = (sysconf(_SC_NPROCESSORS_ONLN) * pct) / 100; in taskq_create_proc()
/titanic_41/usr/src/cmd/syseventd/modules/zfs_mod/
H A Dzfs_mod.c675 g_tpool = tpool_create(1, sysconf(_SC_NPROCESSORS_ONLN), in zfs_enum_pools()
/titanic_41/usr/src/lib/libzpool/common/sys/
H A Dzfs_context.h519 #define boot_ncpus (sysconf(_SC_NPROCESSORS_ONLN))
/titanic_41/usr/src/tools/ctf/cvt/
H A Dctfmerge.c640 wq->wq_nthreads = MIN(sysconf(_SC_NPROCESSORS_ONLN) * 3 / 2, nslots); in wq_init()
/titanic_41/usr/src/cmd/fs.d/
H A Dumount.c589 if ((maxrun = sysconf(_SC_NPROCESSORS_ONLN)) == -1) in parumount()
H A Dmount.c924 if ((maxrun = sysconf(_SC_NPROCESSORS_ONLN)) == -1) in parmount()
/titanic_41/usr/src/cmd/getconf/
H A Dgetconf.c762 _SC_NPROCESSORS_ONLN, "NPROCESSORS_ONLN", SYSCONF, NOFLAGS,
/titanic_41/usr/src/cmd/make/bin/
H A Dparallel.cc276 if ((ncpu = sysconf(_SC_NPROCESSORS_ONLN)) <= 0) { in adjust_pmake_max_jobs()
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c1221 t = tpool_create(1, 2 * sysconf(_SC_NPROCESSORS_ONLN), in zpool_find_import_impl()
/titanic_41/usr/src/cmd/lockstat/
H A Dlockstat.c1301 if ((ncpus = sysconf(_SC_NPROCESSORS_ONLN)) == -1) in main()
/titanic_41/usr/src/lib/libast/amd64/src/lib/libast/
H A Dconftab.c211 { "NPROCESSORS_ONLN", { 0UL, 0 }, { 0UL, 0 }, 0, CONF_SVID, 1, CONF_sysconf, _SC_NPROCESSORS_ONLN },
/titanic_41/usr/src/lib/libast/sparc/src/lib/libast/
H A Dconftab.c211 { "NPROCESSORS_ONLN", { 0ULL, 0 }, { 0ULL, 0 }, 0, CONF_SVID, 1, CONF_sysconf, _SC_NPROCESSORS_ONLN
/titanic_41/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dconftab.c211 { "NPROCESSORS_ONLN", { 0UL, 0 }, { 0UL, 0 }, 0, CONF_SVID, 1, CONF_sysconf, _SC_NPROCESSORS_ONLN },
/titanic_41/usr/src/lib/libast/i386/src/lib/libast/
H A Dconftab.c211 { "NPROCESSORS_ONLN", { 0ULL, 0 }, { 0ULL, 0 }, 0, CONF_SVID, 1, CONF_sysconf, _SC_NPROCESSORS_ONLN
/titanic_41/usr/src/lib/libc/port/threads/
H A Dsynch.c1284 ncpus = (int)_sysconf(_SC_NPROCESSORS_ONLN); in mutex_trylock_adaptive()
1491 ncpus = (int)_sysconf(_SC_NPROCESSORS_ONLN); in mutex_trylock_process()
/titanic_41/usr/src/cmd/sendmail/src/
H A Dconf.c5183 # ifdef _SC_NPROCESSORS_ONLN in get_num_procs_online()
5184 nproc = (int) sysconf(_SC_NPROCESSORS_ONLN); in get_num_procs_online()
/titanic_41/usr/src/cmd/savecore/
H A Dsavecore.c765 nthreads = sysconf(_SC_NPROCESSORS_ONLN); in initstreams()