Home
last modified time | relevance | path

Searched refs:cpus_nbits (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dcpuinfo.c26 int cpus_nbits; variable
178 cpus_nbits = cpuset_cpus_nbits(); in get_ncpus()
179 if (cpus_nbits <= 0) in get_ncpus()
183 bmp = bitmask_alloc(cpus_nbits); in get_ncpus()
208 if (!cpus_nbits) { in get_sched_domains()
209 cpus_nbits = cpuset_cpus_nbits(); in get_sched_domains()
210 if (cpus_nbits <= 0) { in get_sched_domains()
233 bitmask_alloc(cpus_nbits); in get_sched_domains()
375 if (!cpus_nbits) { in partition_domains()
376 cpus_nbits = cpuset_cpus_nbits(); in partition_domains()
[all …]
Dcpuinfo.h14 extern int cpus_nbits;
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
Dcpuset_sched_domains_check.c58 if (!cpus_nbits) { in check_sched_domains()
59 cpus_nbits = cpuset_cpus_nbits(); in check_sched_domains()
60 if (cpus_nbits <= 0) { in check_sched_domains()
76 alldomains = bitmask_alloc(cpus_nbits); in check_sched_domains()