Searched refs:CPU_ALLOC (Results 1 – 8 of 8) sorted by relevance
35 #ifndef CPU_ALLOC36 #define CPU_ALLOC(ncpus) malloc(sizeof(cpu_set_t)); \ macro
101 mask = CPU_ALLOC(ncpus); in setup()110 emask = CPU_ALLOC(ncpus + 1); in setup()
101 mask = CPU_ALLOC(nrcpus); in do_test()
55 set = CPU_ALLOC(nrcpus); in set_cpu_affinity()
510 cpus = CPU_ALLOC(nrcpus); in get_ncpus()546 cpus = CPU_ALLOC(ncpus); in pin_to_cpu()561 cpu_set_t *now = CPU_ALLOC(ncpus); in pin_to_cpu()
555 cpu_set = CPU_ALLOC(cpus_online); in main()
629 cpu_mask = CPU_ALLOC(max_cpus); in lock_on_cpu()2770 set = CPU_ALLOC(max_cpus); in get_online_cpus()
104 #if !defined(CPU_ALLOC) && defined(HAVE_SCHED_SETAFFINITY)5758 cpu_set = CPU_ALLOC(ncpus); in os_sched_setaffinity_impl()5797 newmask = CPU_ALLOC(newncpus); in os_sched_setaffinity_impl()5851 mask = CPU_ALLOC(ncpus); in os_sched_getaffinity_impl()