/linux-6.6.21/tools/testing/selftests/rseq/ |
D | basic_test.c | 28 sched_setaffinity(0, sizeof(test_affinity), in test_cpu_pointer() 39 sched_setaffinity(0, sizeof(affinity), &affinity); in test_cpu_pointer()
|
/linux-6.6.21/tools/perf/util/ |
D | affinity.c | 67 sched_setaffinity(0, cpu_set_size, (cpu_set_t *)a->sched_cpus); in affinity__set() 76 sched_setaffinity(0, cpu_set_size, (cpu_set_t *)a->orig_cpus); in __affinity__cleanup()
|
/linux-6.6.21/tools/testing/selftests/bpf/map_tests/ |
D | task_storage_map.c | 93 sched_setaffinity(getpid(), sizeof(new), &new); in test_task_storage_map_stress_lookup() 125 sched_setaffinity(getpid(), sizeof(old), &old); in test_task_storage_map_stress_lookup()
|
/linux-6.6.21/samples/bpf/ |
D | cpustat_user.c | 136 sched_setaffinity(0, sizeof(cpumask), &cpumask); in cpu_stat_inject_cpu_idle_event() 140 sched_setaffinity(0, sizeof(original_cpumask), &original_cpumask); in cpu_stat_inject_cpu_idle_event()
|
/linux-6.6.21/tools/testing/selftests/x86/ |
D | sysret_ss_attrs.c | 58 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) in main()
|
D | corrupt_xstate_header.c | 80 sched_setaffinity(getpid(), sizeof(set), &set); in main()
|
D | ioperm.c | 93 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) in main()
|
D | ldt_gdt.c | 440 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) in threadproc() 539 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) { in do_multicpu_tests() 546 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) { in do_multicpu_tests()
|
D | iopl.c | 178 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) in main()
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | task_local_storage.c | 187 err = sched_setaffinity(getpid(), sizeof(new), &new); in test_nodeadlock() 233 sched_setaffinity(getpid(), sizeof(old), &old); in test_nodeadlock()
|
D | test_overhead.c | 54 sched_setaffinity(0, sizeof(cpuset), &cpuset); in setaffinity()
|
/linux-6.6.21/tools/testing/selftests/powerpc/tm/ |
D | tm-poison.c | 44 FAIL_IF(sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0); in tm_poison_test()
|
/linux-6.6.21/tools/testing/selftests/powerpc/dscr/ |
D | dscr_sysfs_thread_test.c | 44 if (sched_setaffinity(0, sizeof(mask), &mask)) in check_cpu_dscr_thread()
|
/linux-6.6.21/tools/power/cpupower/utils/idle_monitor/ |
D | cpupower-monitor.h | 90 return sched_setaffinity(getpid(), sizeof(set), &set); in bind_cpu()
|
/linux-6.6.21/kernel/ |
D | compat.c | 124 COMPAT_SYSCALL_DEFINE3(sched_setaffinity, compat_pid_t, pid, in COMPAT_SYSCALL_DEFINE3() argument 138 retval = sched_setaffinity(pid, new_mask); in COMPAT_SYSCALL_DEFINE3()
|
/linux-6.6.21/tools/perf/tests/ |
D | mmap-basic.c | 63 sched_setaffinity(0, sizeof(cpu_set), &cpu_set); in test__basic_mmap() 64 if (sched_setaffinity(0, sizeof(cpu_set), &cpu_set) < 0) { in test__basic_mmap()
|
D | openat-syscall-all-cpus.c | 78 if (sched_setaffinity(0, sizeof(cpu_set), &cpu_set) < 0) { in test__openat_syscall_event_on_all_cpus()
|
/linux-6.6.21/Documentation/translations/zh_CN/mm/ |
D | numa.rst | 77 序接口,如sched_setaffinity(2),来限制任务的迁移,以改善NUMA定位。此外,人们可以使用
|
/linux-6.6.21/tools/testing/selftests/intel_pstate/ |
D | aperf.c | 57 if (sched_setaffinity(0, sizeof(cpu_set_t), &cpuset)) { in main()
|
/linux-6.6.21/tools/power/cpupower/bench/ |
D | system.c | 84 if (sched_setaffinity(getpid(), sizeof(cpu_set_t), &cpuset) < 0) { in set_cpu_affinity()
|
/linux-6.6.21/tools/testing/selftests/kvm/ |
D | rseq_test.c | 92 r = sched_setaffinity(rseq_tid, sizeof(allowed_mask), &allowed_mask); in migration_worker()
|
/linux-6.6.21/tools/virtio/virtio-trace/ |
D | trace-agent-rw.c | 100 if (sched_setaffinity(0, sizeof(mask), &mask) == -1) in bind_cpu()
|
/linux-6.6.21/tools/tracing/rtla/src/ |
D | timerlat_u.c | 46 retval = sched_setaffinity(gettid(), sizeof(set), &set); in timerlat_u_main()
|
/linux-6.6.21/tools/testing/selftests/breakpoints/ |
D | step_after_suspend_test.c | 30 if (sched_setaffinity(0, sizeof(set), &set) != 0) { in child()
|
/linux-6.6.21/tools/testing/selftests/powerpc/benchmarks/ |
D | fork.c | 40 if (sched_setaffinity(0, sizeof(cpuset), &cpuset)) { in set_cpu()
|