Home
last modified time | relevance | path

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

/third_party/musl/libc-test/src/functionalext/supplement/sched/
D__sched_cpucount.c36 cpusetp = CPU_ALLOC(num_cpus); in __sched_cpucount_0100()
62 cpusetp = CPU_ALLOC(num_cpus); in __sched_cpucount_0200()
88 cpusetp = CPU_ALLOC(num_cpus); in __sched_cpucount_0300()
Dsched_setaffinity.c31 cpu_set_t *set = CPU_ALLOC(max); in sched_setaffinity_0100()
/third_party/ltp/include/lapi/
Dcpuset.h23 #ifndef CPU_ALLOC
24 #define CPU_ALLOC(ncpus) malloc(sizeof(cpu_set_t)); \ macro
/third_party/ltp/testcases/kernel/syscalls/sched_setaffinity/
Dsched_setaffinity01.c96 mask = CPU_ALLOC(ncpus); in setup()
105 emask = CPU_ALLOC(ncpus + 1); in setup()
/third_party/ltp/lib/
Dtst_cpu.c82 cpu_set_t *cpus = CPU_ALLOC(ncpus); in tst_ncpus_available()
/third_party/ltp/testcases/kernel/syscalls/sched_getaffinity/
Dsched_getaffinity01.c49 mask = CPU_ALLOC(nrcpus); in do_test()
/third_party/ltp/testcases/kernel/syscalls/getcpu/
Dgetcpu01.c56 set = CPU_ALLOC(nrcpus); in set_cpu_affinity()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dsched.h111 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n))) macro
/third_party/musl/porting/liteos_a/user/include/
Dsched.h119 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n))) macro
/third_party/musl/porting/liteos_m/kernel/include/
Dsched.h111 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n))) macro
/third_party/musl/ndk_musl_include/
Dsched.h125 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n))) macro
/third_party/musl/porting/uniproton/kernel/include/
Dsched.h111 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n))) macro
/third_party/musl/porting/linux/user/include/
Dsched.h126 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n))) macro
/third_party/musl/include/
Dsched.h124 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n))) macro
/third_party/musl/porting/liteos_a/kernel/include/
Dsched.h112 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n))) macro
/third_party/musl/porting/liteos_m/user/include/
Dsched.h123 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n))) macro
/third_party/ltp/testcases/kernel/syscalls/perf_event_open/
Dperf_event_open02.c188 mask = CPU_ALLOC(cpu + 1); in bind_to_current_cpu()
/third_party/python/Modules/
Dposixmodule.c246 #if !defined(CPU_ALLOC) && defined(HAVE_SCHED_SETAFFINITY)
7052 cpu_set = CPU_ALLOC(ncpus); in os_sched_setaffinity_impl()
7091 newmask = CPU_ALLOC(newncpus); in os_sched_setaffinity_impl()
7148 mask = CPU_ALLOC(ncpus); in os_sched_getaffinity_impl()