Lines Matching refs:ncpu
34 ncpu=$(sysctl -n hw.ncpu)
36 if [ $ncpu -eq 1 ]; then
40 while [ $ncpu -gt 1 ]; do
42 cpuid=$(( $ncpu - 1 ))
49 ncpu=$(( $ncpu - 1 ))
88 # ncpu.
90 atf_test_case ncpu
100 ncpu=$(( $lst - 2 ))
102 if [ $ncpu -eq 1 ]; then
106 if [ $(sysctl -n hw.ncpu) -eq $ncpu ]; then
125 ncpu=$(sysctl -n hw.ncpu)
137 -o empty -x cpuctl identify $(( $ncpu + 1 ))
140 -o empty -x cpuctl offline $(( $ncpu + 1 ))
143 -o empty -x cpuctl nointr $(( $ncpu + 1 ))
161 ncpu=$(sysctl -n hw.ncpu)
163 while [ $ncpu -gt 0 ]; do
164 cpuid=$(( $ncpu - 1 ))
166 ncpu=$(( $ncpu - 1 ))
262 atf_add_test_case ncpu