Searched refs:nrcpus (Results 1 – 2 of 2) sorted by relevance
45 int nrcpus = 1024; in do_test() local49 mask = CPU_ALLOC(nrcpus); in do_test()53 len = CPU_ALLOC_SIZE(nrcpus); in do_test()59 if (TST_ERR == EINVAL && nrcpus < (1024 << 8)) { in do_test()60 nrcpus = nrcpus << 2; in do_test()68 for (i = 0; i < nrcpus; i++) in do_test()
53 int nrcpus = 1024; in set_cpu_affinity() local56 set = CPU_ALLOC(nrcpus); in set_cpu_affinity()60 size = CPU_ALLOC_SIZE(nrcpus); in set_cpu_affinity()64 if (errno == EINVAL && nrcpus < (1024 << 8)) { in set_cpu_affinity()65 nrcpus = nrcpus << 2; in set_cpu_affinity()