Home
last modified time | relevance | path

Searched refs:total_cpus (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/testcases/kernel/power_management/
Drunpwtests03.sh28 total_cpus=`expr $(tst_ncpus) - 1`
31 for cpu in $(seq 0 "${total_cpus}" )
53 total_cpus=`expr $(tst_ncpus) - 1`
56 for cpu in $(seq 0 "${total_cpus}" )
80 total_cpus=`expr $(tst_ncpus) - 1`
84 for cpu in $(seq 0 "${total_cpus}" )
93 for cpu in $(seq 0 "${total_cpus}" )
Dpm_include.sh45 total_cpus=`tst_ncpus`
46 (( total_cpus-=1 ))
47 for cpu in $(seq 0 "${total_cpus}" )
54 while [ "${j}" -lt "${total_cpus}" ]
65 total_cpus=`tst_ncpus`
66 (( total_cpus-=1 ))
68 for cpu in $(seq 0 "${total_cpus}" )
/third_party/mesa3d/src/util/
Du_cpu_detect.c591 int total_cpus = 0; in util_cpu_detect_once() local
657 total_cpus = sysconf(_SC_NPROCESSORS_CONF); in util_cpu_detect_once()
658 if (total_cpus == ~0) in util_cpu_detect_once()
659 total_cpus = 1; in util_cpu_detect_once()
667 total_cpus = ncpu; in util_cpu_detect_once()
673 total_cpus = MAX2(total_cpus, util_cpu_caps.nr_cpus); in util_cpu_detect_once()
675 util_cpu_caps.max_cpus = total_cpus; in util_cpu_detect_once()
676 util_cpu_caps.num_cpu_mask_bits = align(total_cpus, 32); in util_cpu_detect_once()
/third_party/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_lib.sh81 local total_cpus=`tst_ncpus`
96 limit=$((limit + 4 * PAGESIZE + total_cpus * PAGESIZE + node_mem))