Searched refs:nrcpus (Results 1 – 4 of 4) 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()
161 nrcpus: usize, in setup_cpuid()168 filter_cpuid(vcpu_id, nrcpus, &mut cpuid, irq_chip, no_smt); in setup_cpuid()
506 int nrcpus = 4096; in get_ncpus()510 cpus = CPU_ALLOC(nrcpus); in get_ncpus()511 size = CPU_ALLOC_SIZE(nrcpus); in get_ncpus()515 if( errno == EINVAL && nrcpus < (4096<<4) ) { in get_ncpus()517 nrcpus <<= 1; in get_ncpus()