/third_party/musl/libc-test/src/functionalext/supplement/sched/ |
D | __sched_cpucount.c | 39 size = CPU_ALLOC_SIZE(num_cpus); in __sched_cpucount_0100() 65 size = CPU_ALLOC_SIZE(num_cpus); in __sched_cpucount_0200() 91 size = CPU_ALLOC_SIZE(num_cpus); in __sched_cpucount_0300()
|
D | sched_setaffinity.c | 36 size_t set_size = CPU_ALLOC_SIZE(max); in sched_setaffinity_0100()
|
/third_party/ltp/include/lapi/ |
D | cpuset.h | 35 #ifndef CPU_ALLOC_SIZE 36 #define CPU_ALLOC_SIZE(size) sizeof(cpu_set_t) macro
|
/third_party/ltp/testcases/kernel/syscalls/sched_setaffinity/ |
D | sched_setaffinity01.c | 100 mask_size = CPU_ALLOC_SIZE(ncpus); in setup() 109 emask_size = CPU_ALLOC_SIZE(ncpus + 1); in setup()
|
/third_party/musl/porting/linux/user/include/ |
D | sched.h | 124 #define CPU_ALLOC_SIZE(n) (sizeof(long) * ( (n)/(8*sizeof(long)) \ macro 126 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n)))
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | sched.h | 109 #define CPU_ALLOC_SIZE(n) (sizeof(long) * ( (n)/(8*sizeof(long)) \ macro 111 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n)))
|
/third_party/musl/porting/liteos_m/user/include/ |
D | sched.h | 121 #define CPU_ALLOC_SIZE(n) (sizeof(long) * ( (n)/(8*sizeof(long)) \ macro 123 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n)))
|
/third_party/musl/porting/liteos_a/user/include/ |
D | sched.h | 117 #define CPU_ALLOC_SIZE(n) (sizeof(long) * ( (n)/(8*sizeof(long)) \ macro 119 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n)))
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | sched.h | 110 #define CPU_ALLOC_SIZE(n) (sizeof(long) * ( (n)/(8*sizeof(long)) \ macro 112 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n)))
|
/third_party/musl/ndk_musl_include/ |
D | sched.h | 123 #define CPU_ALLOC_SIZE(n) (sizeof(long) * ( (n)/(8*sizeof(long)) \ macro 125 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n)))
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | sched.h | 109 #define CPU_ALLOC_SIZE(n) (sizeof(long) * ( (n)/(8*sizeof(long)) \ macro 111 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n)))
|
/third_party/musl/include/ |
D | sched.h | 122 #define CPU_ALLOC_SIZE(n) (sizeof(long) * ( (n)/(8*sizeof(long)) \ macro 124 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n)))
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | sched.h | 109 #define CPU_ALLOC_SIZE(n) (sizeof(long) * ( (n)/(8*sizeof(long)) \ macro 111 #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n)))
|
/third_party/musl/porting/linux/user/src/sched/ |
D | sched_cpualloc.c | 10 return (cpu_set_t*) malloc(CPU_ALLOC_SIZE(count)); // NOLINT in __sched_cpualloc()
|
/third_party/ltp/lib/ |
D | tst_cpu.c | 81 size_t cpusz = CPU_ALLOC_SIZE(ncpus); in tst_ncpus_available()
|
/third_party/ltp/testcases/kernel/syscalls/sched_getaffinity/ |
D | sched_getaffinity01.c | 53 len = CPU_ALLOC_SIZE(nrcpus); in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/getcpu/ |
D | getcpu01.c | 60 size = CPU_ALLOC_SIZE(nrcpus); in set_cpu_affinity()
|
/third_party/ltp/testcases/kernel/syscalls/perf_event_open/ |
D | perf_event_open02.c | 189 mask_size = CPU_ALLOC_SIZE(cpu + 1); in bind_to_current_cpu()
|
/third_party/rust/crates/libc/libc-test/semver/ |
D | linux.txt | 289 CPU_ALLOC_SIZE
|
/third_party/python/Modules/ |
D | posixmodule.c | 7051 setsize = CPU_ALLOC_SIZE(ncpus); in os_sched_setaffinity_impl() 7096 newsetsize = CPU_ALLOC_SIZE(newncpus); in os_sched_setaffinity_impl() 7147 setsize = CPU_ALLOC_SIZE(ncpus); in os_sched_getaffinity_impl()
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
D | mod.rs | 3003 pub fn CPU_ALLOC_SIZE(count: ::c_int) -> ::size_t {
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
D | mod.rs | 3614 pub fn CPU_ALLOC_SIZE(count: ::c_int) -> ::size_t {
|