Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/sched_getaffinity/
Dsched_getaffinity01.c66 long i, af_cpus = 0; in do_test() local
69 af_cpus += !!CPU_ISSET_S(i, len, mask); in do_test()
71 if (af_cpus == 0) in do_test()
73 else if (af_cpus > ncpu) in do_test()
74 tst_res(TFAIL, "Enabled cpus = %li > system cpus %li", af_cpus, ncpu); in do_test()
76 tst_res(TPASS, "cpuset size = %u, enabled cpus %ld", len, af_cpus); in do_test()