thread_attr 9 tools/build/feature/test-pthread-attr-setaffinity-np.c pthread_attr_t thread_attr; thread_attr 12 tools/build/feature/test-pthread-attr-setaffinity-np.c pthread_attr_init(&thread_attr); thread_attr 15 tools/build/feature/test-pthread-attr-setaffinity-np.c ret = pthread_attr_setaffinity_np(&thread_attr, sizeof(cs), &cs); thread_attr 226 tools/perf/bench/epoll-ctl.c pthread_attr_t thread_attr, *attrp = NULL; thread_attr 232 tools/perf/bench/epoll-ctl.c pthread_attr_init(&thread_attr); thread_attr 260 tools/perf/bench/epoll-ctl.c ret = pthread_attr_setaffinity_np(&thread_attr, sizeof(cpu_set_t), &cpuset); thread_attr 264 tools/perf/bench/epoll-ctl.c attrp = &thread_attr; thread_attr 274 tools/perf/bench/epoll-ctl.c pthread_attr_destroy(&thread_attr); thread_attr 295 tools/perf/bench/epoll-wait.c pthread_attr_t thread_attr, *attrp = NULL; thread_attr 309 tools/perf/bench/epoll-wait.c pthread_attr_init(&thread_attr); thread_attr 349 tools/perf/bench/epoll-wait.c ret = pthread_attr_setaffinity_np(&thread_attr, sizeof(cpu_set_t), &cpuset); thread_attr 353 tools/perf/bench/epoll-wait.c attrp = &thread_attr; thread_attr 363 tools/perf/bench/epoll-wait.c pthread_attr_destroy(&thread_attr); thread_attr 126 tools/perf/bench/futex-hash.c pthread_attr_t thread_attr; thread_attr 163 tools/perf/bench/futex-hash.c pthread_attr_init(&thread_attr); thread_attr 174 tools/perf/bench/futex-hash.c ret = pthread_attr_setaffinity_np(&thread_attr, sizeof(cpu_set_t), &cpuset); thread_attr 178 tools/perf/bench/futex-hash.c ret = pthread_create(&worker[i].thread, &thread_attr, workerfn, thread_attr 184 tools/perf/bench/futex-hash.c pthread_attr_destroy(&thread_attr); thread_attr 119 tools/perf/bench/futex-lock-pi.c static void create_threads(struct worker *w, pthread_attr_t thread_attr, thread_attr 140 tools/perf/bench/futex-lock-pi.c if (pthread_attr_setaffinity_np(&thread_attr, sizeof(cpu_set_t), &cpuset)) thread_attr 143 tools/perf/bench/futex-lock-pi.c if (pthread_create(&w[i].thread, &thread_attr, workerfn, &worker[i])) thread_attr 153 tools/perf/bench/futex-lock-pi.c pthread_attr_t thread_attr; thread_attr 187 tools/perf/bench/futex-lock-pi.c pthread_attr_init(&thread_attr); thread_attr 190 tools/perf/bench/futex-lock-pi.c create_threads(worker, thread_attr, cpu); thread_attr 191 tools/perf/bench/futex-lock-pi.c pthread_attr_destroy(&thread_attr); thread_attr 88 tools/perf/bench/futex-requeue.c pthread_attr_t thread_attr, struct perf_cpu_map *cpu) thread_attr 100 tools/perf/bench/futex-requeue.c if (pthread_attr_setaffinity_np(&thread_attr, sizeof(cpu_set_t), &cpuset)) thread_attr 103 tools/perf/bench/futex-requeue.c if (pthread_create(&w[i], &thread_attr, workerfn, NULL)) thread_attr 120 tools/perf/bench/futex-requeue.c pthread_attr_t thread_attr; thread_attr 154 tools/perf/bench/futex-requeue.c pthread_attr_init(&thread_attr); thread_attr 164 tools/perf/bench/futex-requeue.c block_threads(worker, thread_attr, cpu); thread_attr 213 tools/perf/bench/futex-requeue.c pthread_attr_destroy(&thread_attr); thread_attr 94 tools/perf/bench/futex-wake-parallel.c static void wakeup_threads(struct thread_data *td, pthread_attr_t thread_attr) thread_attr 98 tools/perf/bench/futex-wake-parallel.c pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_JOINABLE); thread_attr 109 tools/perf/bench/futex-wake-parallel.c if (pthread_create(&td[i].worker, &thread_attr, thread_attr 141 tools/perf/bench/futex-wake-parallel.c static void block_threads(pthread_t *w, pthread_attr_t thread_attr, thread_attr 154 tools/perf/bench/futex-wake-parallel.c if (pthread_attr_setaffinity_np(&thread_attr, sizeof(cpu_set_t), &cpuset)) thread_attr 157 tools/perf/bench/futex-wake-parallel.c if (pthread_create(&w[i], &thread_attr, blocked_workerfn, NULL)) thread_attr 226 tools/perf/bench/futex-wake-parallel.c pthread_attr_t thread_attr; thread_attr 275 tools/perf/bench/futex-wake-parallel.c pthread_attr_init(&thread_attr); thread_attr 286 tools/perf/bench/futex-wake-parallel.c block_threads(blocked_worker, thread_attr, cpu); thread_attr 298 tools/perf/bench/futex-wake-parallel.c wakeup_threads(waking_worker, thread_attr); thread_attr 317 tools/perf/bench/futex-wake-parallel.c pthread_attr_destroy(&thread_attr); thread_attr 94 tools/perf/bench/futex-wake.c pthread_attr_t thread_attr, struct perf_cpu_map *cpu) thread_attr 106 tools/perf/bench/futex-wake.c if (pthread_attr_setaffinity_np(&thread_attr, sizeof(cpu_set_t), &cpuset)) thread_attr 109 tools/perf/bench/futex-wake.c if (pthread_create(&w[i], &thread_attr, workerfn, NULL)) thread_attr 126 tools/perf/bench/futex-wake.c pthread_attr_t thread_attr; thread_attr 159 tools/perf/bench/futex-wake.c pthread_attr_init(&thread_attr); thread_attr 169 tools/perf/bench/futex-wake.c block_threads(worker, thread_attr, cpu); thread_attr 207 tools/perf/bench/futex-wake.c pthread_attr_destroy(&thread_attr); thread_attr 714 tools/testing/selftests/mqueue/mq_perf_tests.c pthread_attr_t thread_attr; thread_attr 726 tools/testing/selftests/mqueue/mq_perf_tests.c pthread_attr_init(&thread_attr); thread_attr 727 tools/testing/selftests/mqueue/mq_perf_tests.c pthread_attr_setaffinity_np(&thread_attr, cpu_set_size, thread_attr 729 tools/testing/selftests/mqueue/mq_perf_tests.c if (pthread_create(&cpu_threads[i], &thread_attr, thread_func, thread_attr 732 tools/testing/selftests/mqueue/mq_perf_tests.c pthread_attr_destroy(&thread_attr);