Home
last modified time | relevance | path

Searched refs:CPU_ALLOC_SIZE (Results 1 – 12 of 12) sorted by relevance

/external/ltp/include/lapi/
Dcpuset.h47 #ifndef CPU_ALLOC_SIZE
48 #define CPU_ALLOC_SIZE(size) sizeof(cpu_set_t) macro
/external/ltp/testcases/kernel/syscalls/sched_setaffinity/
Dsched_setaffinity01.c100 mask_size = CPU_ALLOC_SIZE(ncpus); in setup()
109 emask_size = CPU_ALLOC_SIZE(ncpus + 1); in setup()
/external/ltp/testcases/kernel/syscalls/sched_getaffinity/
Dsched_getaffinity01.c53 len = CPU_ALLOC_SIZE(nrcpus); in do_test()
/external/ltp/testcases/kernel/syscalls/getcpu/
Dgetcpu01.c60 size = CPU_ALLOC_SIZE(nrcpus); in set_cpu_affinity()
/external/blktrace/
Dblktrace.c630 size = CPU_ALLOC_SIZE(max_cpus); in lock_on_cpu()
1032 size_t alloc_size = CPU_ALLOC_SIZE(max_cpus); in open_client_connections()
1055 size_t alloc_size = CPU_ALLOC_SIZE(max_cpus); in close_client_connections()
1925 size_t alloc_size = CPU_ALLOC_SIZE(max_cpus); in start_tracers()
2775 alloc_size = CPU_ALLOC_SIZE(max_cpus); in get_online_cpus()
2803 ncpus = CPU_COUNT_S(CPU_ALLOC_SIZE(max_cpus), online_cpus); in main()
/external/ltp/testcases/kernel/syscalls/perf_event_open/
Dperf_event_open02.c219 mask_size = CPU_ALLOC_SIZE(cpu + 1); in bind_to_current_cpu()
/external/blktrace/btreplay/
Dbtreplay.c511 size = CPU_ALLOC_SIZE(nrcpus); in get_ncpus()
547 size = CPU_ALLOC_SIZE(ncpus); in pin_to_cpu()
/external/linux-kselftest/tools/testing/selftests/mqueue/
Dmq_perf_tests.c560 cpu_set_size = CPU_ALLOC_SIZE(cpus_online); in main()
/external/llvm-project/llvm/lib/Support/
DHost.cpp1303 if (sched_getaffinity(0, CPU_ALLOC_SIZE(2048), DynAffinity) == 0) { in computeHostNumPhysicalCores()
/external/python/cpython3/Modules/
Dposixmodule.c6916 setsize = CPU_ALLOC_SIZE(ncpus); in os_sched_setaffinity_impl()
6961 newsetsize = CPU_ALLOC_SIZE(newncpus); in os_sched_setaffinity_impl()
7012 setsize = CPU_ALLOC_SIZE(ncpus); in os_sched_getaffinity_impl()
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs2835 pub fn CPU_ALLOC_SIZE(count: ::c_int) -> ::size_t {
/external/llvm-project/compiler-rt/lib/msan/tests/
Dmsan_test.cpp3229 int res = sched_getaffinity(getpid(), CPU_ALLOC_SIZE(2048), DynAffinity); in TEST()