Home
last modified time | relevance | path

Searched refs:CPU_ALLOC_SIZE (Results 1 – 8 of 8) 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.c105 mask_size = CPU_ALLOC_SIZE(ncpus); in setup()
114 emask_size = CPU_ALLOC_SIZE(ncpus + 1); in setup()
/external/ltp/testcases/kernel/syscalls/sched_getaffinity/
Dsched_getaffinity01.c108 len = CPU_ALLOC_SIZE(nrcpus); in do_test()
/external/ltp/testcases/kernel/syscalls/getcpu/
Dgetcpu01.c59 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/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/python/cpython3/Modules/
Dposixmodule.c5757 setsize = CPU_ALLOC_SIZE(ncpus); in os_sched_setaffinity_impl()
5802 newsetsize = CPU_ALLOC_SIZE(newncpus); in os_sched_setaffinity_impl()
5850 setsize = CPU_ALLOC_SIZE(ncpus); in os_sched_getaffinity_impl()