Home
last modified time | relevance | path

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

12

/freebsd/contrib/xz/src/common/
H A Dtuklib_cpucores.c91 # ifdef _SC_NPROCESSORS_ONLN in tuklib_cpucores()
93 const long cpus = sysconf(_SC_NPROCESSORS_ONLN); in tuklib_cpucores()
/freebsd/contrib/llvm-project/libcxx/src/
H A Dthread.cpp65 #if defined(_SC_NPROCESSORS_ONLN) in hardware_concurrency()
66 long result = sysconf(_SC_NPROCESSORS_ONLN); in hardware_concurrency()
/freebsd/usr.bin/getconf/
H A Dsysconf.gperf45 NPROCESSORS_ONLN, _SC_NPROCESSORS_ONLN
65 _NPROCESSORS_ONLN, _SC_NPROCESSORS_ONLN
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dthreadsappend.c98 ncpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
/freebsd/tests/sys/cddl/zfs/tests/threadsappend/
H A Dthreadsappend.c94 ncpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_zstd.c276 #if defined(HAVE_SYSCONF) && defined(_SC_NPROCESSORS_ONLN) in archive_compressor_zstd_options()
278 threads = sysconf(_SC_NPROCESSORS_ONLN); in archive_compressor_zstd_options()
/freebsd/contrib/sendmail/include/sm/
H A Dconf.h310 # if defined(_SC_NPROC_ONLN) && !defined(_SC_NPROCESSORS_ONLN)
312 # define _SC_NPROCESSORS_ONLN _SC_NPROC_ONLN macro
1801 # if defined(_SC_NPROC_ONLN) && !defined(_SC_NPROCESSORS_ONLN)
1803 # define _SC_NPROCESSORS_ONLN _SC_NPROC_ONLN macro
/freebsd/tools/test/xregs_sig/
H A Dxregs_sig.c237 ncpu = sysconf(_SC_NPROCESSORS_ONLN); in main()
/freebsd/sys/contrib/zstd/programs/
H A Dutil.c1249 numCores = (int)sysconf(_SC_NPROCESSORS_ONLN); in UTIL_countCores()
1348 numCores = (int)sysconf(_SC_NPROCESSORS_ONLN); in UTIL_countCores()
1369 numCores = (int)sysconf(_SC_NPROCESSORS_ONLN); in UTIL_countCores()
/freebsd/lib/libc/gen/
H A Dsysconf.c582 case _SC_NPROCESSORS_ONLN: in sysconf()
/freebsd/include/
H A Dunistd.h293 #define _SC_NPROCESSORS_ONLN 58 macro
/freebsd/contrib/bmake/
H A Dmain.c410 #ifdef _SC_NPROCESSORS_ONLN in MainParseArgJobs()
423 opts.maxJobs = (int)sysconf(_SC_NPROCESSORS_ONLN); in MainParseArgJobs()
1380 #ifdef _SC_NPROCESSORS_ONLN in main_Init()
/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dtaskq.c268 nthreads = (sysconf(_SC_NPROCESSORS_ONLN) * pct) / 100; in taskq_create()
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_iter.c629 t = tpool_create(1, 5 * sysconf(_SC_NPROCESSORS_ONLN), 0, NULL); in all_pools_for_each_vdev_run_vcdl()
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctfmerge.c652 wq->wq_nthreads = MIN(sysconf(_SC_NPROCESSORS_ONLN) * 3 / 2, nslots); in wq_init()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfs_context.h618 #define boot_ncpus (sysconf(_SC_NPROCESSORS_ONLN))
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DThreading.inc376 return sysconf(_SC_NPROCESSORS_ONLN);
/freebsd/usr.bin/sort/
H A Dsort.c276 ncpu = (unsigned int)sysconf(_SC_NPROCESSORS_ONLN); in set_hw_params()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux_libcdep.cpp827 return sysconf(_SC_NPROCESSORS_ONLN); in GetNumberOfCPUs()
H A Dsanitizer_mac.cpp1395 return (u32)sysconf(_SC_NPROCESSORS_ONLN); in GetNumberOfCPUs()
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_dns.c2265 #ifdef _SC_NPROCESSORS_ONLN in getaddrinfo_race_gotresolve_test()
2266 int n_threads = sysconf(_SC_NPROCESSORS_ONLN) + 1; in getaddrinfo_race_gotresolve_test()
/freebsd/contrib/libevent/test/
H A Dregress_dns.c2265 #ifdef _SC_NPROCESSORS_ONLN in getaddrinfo_race_gotresolve_test()
2266 int n_threads = sysconf(_SC_NPROCESSORS_ONLN) + 1; in getaddrinfo_race_gotresolve_test()
/freebsd/cddl/contrib/opensolaris/cmd/lockstat/
H A Dlockstat.c1401 if ((ncpus = sysconf(_SC_NPROCESSORS_ONLN)) == -1) in main()
/freebsd/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c1467 t = tpool_create(1, 2 * sysconf(_SC_NPROCESSORS_ONLN), 0, NULL); in zpool_find_import_impl()
/freebsd/contrib/sendmail/src/
H A Dconf.c5342 # ifdef _SC_NPROCESSORS_ONLN in get_num_procs_online()
5343 nproc = (int) sysconf(_SC_NPROCESSORS_ONLN); in get_num_procs_online()

12