/linux-6.12.1/tools/testing/selftests/rseq/ |
D | basic_test.c | 21 sched_getaffinity(0, sizeof(affinity), &affinity); in test_cpu_pointer()
|
D | basic_percpu_ops_test.c | 285 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_list()
|
D | param_test.c | 726 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_list() 913 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_buffer() 1124 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_memcpy_buffer()
|
/linux-6.12.1/tools/power/cpupower/utils/idle_monitor/ |
D | cpupower-monitor.h | 87 if (sched_getaffinity(getpid(), sizeof(set), &set) == 0) { in bind_cpu()
|
/linux-6.12.1/kernel/ |
D | compat.c | 144 COMPAT_SYSCALL_DEFINE3(sched_getaffinity, compat_pid_t, pid, unsigned int, len, in COMPAT_SYSCALL_DEFINE3() argument 158 ret = sched_getaffinity(pid, mask); in COMPAT_SYSCALL_DEFINE3()
|
/linux-6.12.1/tools/perf/util/ |
D | affinity.c | 31 sched_getaffinity(0, cpu_set_size, (cpu_set_t *)a->orig_cpus); in affinity__setup()
|
/linux-6.12.1/tools/testing/selftests/bpf/map_tests/ |
D | task_storage_map.c | 88 sched_getaffinity(getpid(), sizeof(old), &old); in test_task_storage_map_stress_lookup()
|
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | rseq_test.c | 226 r = sched_getaffinity(0, sizeof(possible_mask), &possible_mask); in main()
|
D | arch_timer.c | 88 sched_getaffinity(0, sizeof(cpu_set_t), &online_cpuset); in test_get_pcpu()
|
D | max_guest_memory_test.c | 144 r = sched_getaffinity(0, sizeof(possible_mask), &possible_mask); in calc_default_nr_vcpus()
|
/linux-6.12.1/tools/testing/selftests/breakpoints/ |
D | step_after_suspend_test.c | 189 err = sched_getaffinity(0, sizeof(available_cpus), &available_cpus); in main()
|
/linux-6.12.1/samples/bpf/ |
D | cpustat_user.c | 121 sched_getaffinity(0, sizeof(original_cpumask), &original_cpumask); in cpu_stat_inject_cpu_idle_event()
|
/linux-6.12.1/tools/testing/selftests/riscv/hwprobe/ |
D | cbo.c | 194 rc = sched_getaffinity(0, sizeof(cpu_set_t), &cpus); in main()
|
D | which-cpus.c | 91 rc = sched_getaffinity(0, sizeof(cpu_set_t), &cpus_aff); in main()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | task_local_storage.c | 178 err = sched_getaffinity(getpid(), sizeof(old), &old); in test_nodeadlock()
|
/linux-6.12.1/tools/perf/tests/ |
D | perf-record.c | 23 if (sched_getaffinity(pid, sizeof(*maskp), maskp) == -1) { in sched__get_first_possible_cpu()
|
/linux-6.12.1/kernel/sched/ |
D | syscalls.c | 1336 long sched_getaffinity(pid_t pid, struct cpumask *mask) in sched_getaffinity() function 1365 SYSCALL_DEFINE3(sched_getaffinity, pid_t, pid, unsigned int, len, in SYSCALL_DEFINE3() argument 1379 ret = sched_getaffinity(pid, mask); in SYSCALL_DEFINE3()
|
/linux-6.12.1/tools/testing/selftests/arm64/pauth/ |
D | pac.c | 118 sched_getaffinity(0, sizeof(mask), &mask); in exec_sign_all()
|
/linux-6.12.1/tools/testing/selftests/resctrl/ |
D | resctrlfs.c | 417 if (sched_getaffinity(bm_pid, sizeof(*old_affinity), in taskset_benchmark()
|
/linux-6.12.1/tools/tracing/rtla/src/ |
D | utils.c | 778 retval = sched_getaffinity(getpid(), sizeof(rtla_cpus), &rtla_cpus); in auto_house_keeping()
|
/linux-6.12.1/tools/lib/perf/tests/ |
D | test-evlist.c | 375 err = sched_getaffinity(0, sizeof(saved_mask), &saved_mask); in test_mmap_cpus()
|
/linux-6.12.1/tools/testing/selftests/powerpc/ |
D | utils.c | 433 if (sched_getaffinity(0, size, mask)) { in pick_online_cpu()
|
/linux-6.12.1/tools/perf/arch/mips/entry/syscalls/ |
D | syscall_n64.tbl | 207 196 n64 sched_getaffinity sys_sched_getaffinity
|
/linux-6.12.1/tools/testing/kunit/ |
D | kunit.py | 306 return len(os.sched_getaffinity(0))
|
/linux-6.12.1/arch/mips/kernel/syscalls/ |
D | syscall_n64.tbl | 207 196 n64 sched_getaffinity sys_sched_getaffinity
|