Searched refs:ncpu (Results 51 - 66 of 66) sorted by relevance
123
/freebsd-current/usr.sbin/bhyve/aarch64/ |
H A D | bhyverun_machdep.c | 69 #define GIC_REDIST_SIZE(ncpu) ((ncpu) * 2 * PAGE_SIZE_64K)
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | crossmp5.sh | 35 N=`sysctl -n hw.ncpu`
|
H A D | churn.sh | 40 /tmp/churn `sysctl -n hw.ncpu` `sysctl -n hw.usermem`
|
H A D | sched.sh | 50 cpus=`sysctl hw.ncpu | sed 's/.*: //'`
|
H A D | namecache2.sh | 40 [ `sysctl hw.ncpu | sed 's/.* //'` -eq 1 ] && exit 0
|
H A D | mmap43.sh | 145 n=$((`sysctl -n hw.ncpu`))
|
/freebsd-current/usr.sbin/mptable/ |
H A D | mptable.c | 146 static int ncpu; variable 516 ncpu = 2; 584 ncpu = 0; 742 ++ncpu;
|
/freebsd-current/usr.bin/systat/ |
H A D | vmstat.c | 135 static int ncpu; variable 405 etime /= ncpu; 781 size = sizeof(ncpu); 782 if (sysctlbyname("hw.ncpu", &ncpu, &size, NULL, 0) < 0 || 783 size != sizeof(ncpu)) 784 ncpu = 1;
|
/freebsd-current/tools/tools/sysbuild/ |
H A D | sysbuild.sh | 74 ncpu=`sysctl -n kern.smp.cpus` 75 if [ $ncpu -gt 1 ] ; then 76 JARG="-j $ncpu"
|
/freebsd-current/usr.sbin/nfsd/ |
H A D | nfsd.c | 989 int ncpu, error, tuned_nfsdcnt; local 992 ncpu_size = sizeof(ncpu); 993 error = sysctlbyname("hw.ncpu", &ncpu, &ncpu_size, NULL, 0); 995 warnx("sysctlbyname(hw.ncpu) failed defaulting to %d nfs servers", 999 tuned_nfsdcnt = ncpu * 8;
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux_libcdep.cpp | 783 u32 ncpu; local 785 uptr len = sizeof(ncpu); 788 CHECK_EQ(internal_sysctl(req, 2, &ncpu, &len, NULL, 0), 0); 789 return ncpu;
|
/freebsd-current/usr.sbin/bhyve/ |
H A D | acpi.c | 730 acpi_build(struct vmctx *ctx, int ncpu) argument 732 basl_ncpu = ncpu;
|
/freebsd-current/tests/ci/ |
H A D | Makefile | 25 PARALLEL_JOBS!=sysctl -n hw.ncpu 2>/dev/null || nproc 2>/dev/null
|
/freebsd-current/tools/tools/nanobsd/ |
H A D | defaults.sh | 69 NANO_NCPU=$(sysctl -n hw.ncpu)
|
/freebsd-current/sys/kern/ |
H A D | kern_mib.c | 169 SYSCTL_INT(_hw, HW_NCPU, ncpu, CTLFLAG_RD|CTLFLAG_CAPRD,
|
/freebsd-current/ |
H A D | Makefile.inc1 | 1254 _ncpu_cmd=sysctl -n hw.ncpu 2>/dev/null || nproc 2>/dev/null || echo unknown 1266 echo ">>> World built in $$seconds seconds, ncpu: $$(${_ncpu_cmd})${.MAKE.JOBS:S/^/, make -j/}" 1842 echo ">>> Kernel(s) ${BUILDKERNELS} built in $$seconds seconds, ncpu: $$(${_ncpu_cmd})${.MAKE.JOBS:S/^/, make -j/}"
|
Completed in 308 milliseconds
123