Home
last modified time | relevance | path

Searched refs:cpuset (Results 1 – 7 of 7) sorted by relevance

/external/libhevc/common/
Dithread.c153 cpu_set_t cpuset; in ithread_set_affinity() local
160 CPU_ZERO(&cpuset); in ithread_set_affinity()
161 CPU_SET(core_id, &cpuset); in ithread_set_affinity()
163 return pthread_setaffinity_np(cur_thread, sizeof(cpu_set_t), &cpuset); in ithread_set_affinity()
/external/libmpeg2/common/
Dithread.c160 cpu_set_t cpuset; in ithread_set_affinity() local
167 CPU_ZERO(&cpuset); in ithread_set_affinity()
168 CPU_SET(core_id, &cpuset); in ithread_set_affinity()
170 return pthread_setaffinity_np(cur_thread, sizeof(cpu_set_t), &cpuset); in ithread_set_affinity()
/external/toybox/toys/other/
Dtaskset.c38 #define sched_setaffinity(pid, size, cpuset) \ argument
39 syscall(__NR_sched_setaffinity, (pid_t)pid, (size_t)size, (void *)cpuset)
40 #define sched_getaffinity(pid, size, cpuset) \ argument
41 syscall(__NR_sched_getaffinity, (pid_t)pid, (size_t)size, (void *)cpuset)
/external/libavc/common/
Dithread.c178 cpu_set_t cpuset; in ithread_set_affinity() local
185 CPU_ZERO(&cpuset); in ithread_set_affinity()
186 CPU_SET(core_id, &cpuset); in ithread_set_affinity()
188 return pthread_setaffinity_np(cur_thread, sizeof(cpu_set_t), &cpuset); in ithread_set_affinity()
/external/autotest/client/tests/monotonic_time/src/
DMakefile8 SRCS= time_test.c cpuset.c threads.c logging.c
9 HDRS= spinlock.h cpuset.h threads.h logging.h
/external/llvm/test/Analysis/ScalarEvolution/
Davoid-infinite-recursion-1.ll53 %struct.cpuset = type opaque
111 …10, %9, %struct.prison*, %struct.mtx, %struct.task, %struct.osd, %struct.cpuset*, %struct.vnet*, %…
138 …%struct.thread = type <{ %struct.mtx*, %struct.proc*, %8, %8, %8, %8, %struct.cpuset*, %struct.sel…
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc3739 void *cpuset) {
3742 cpuset);
3746 int res = REAL(pthread_attr_getaffinity_np)(attr, cpusetsize, cpuset);
3747 if (!res && cpusetsize && cpuset)
3748 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, cpuset, cpusetsize);