/linux/tools/testing/selftests/rseq/ |
H A D | basic_test.c | 21 sched_getaffinity(0, sizeof(affinity), &affinity); in test_cpu_pointer()
|
H A D | basic_percpu_ops_test.c | 285 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_list()
|
H A D | param_test.c | 750 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_list() 937 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_buffer() 1148 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_memcpy_buffer()
|
/linux/kernel/ |
H A 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/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpupower-monitor.h | 87 if (sched_getaffinity(getpid(), sizeof(set), &set) == 0) { in bind_cpu()
|
/linux/tools/perf/util/ |
H A D | affinity.c | 31 sched_getaffinity(0, cpu_set_size, (cpu_set_t *)a->orig_cpus); in affinity__setup()
|
/linux/tools/testing/selftests/bpf/map_tests/ |
H A D | task_storage_map.c | 89 sched_getaffinity(getpid(), sizeof(old), &old); in test_task_storage_map_stress_lookup()
|
/linux/tools/testing/selftests/kvm/ |
H A D | rseq_test.c | 226 r = sched_getaffinity(0, sizeof(possible_mask), &possible_mask); in main()
|
H A D | arch_timer.c | 88 sched_getaffinity(0, sizeof(cpu_set_t), &online_cpuset); in test_get_pcpu()
|
H A D | max_guest_memory_test.c |
|
H A D | mmu_stress_test.c | 262 r = sched_getaffinity(0, sizeof(possible_mask), &possible_mask); in calc_default_nr_vcpus()
|
/linux/samples/bpf/ |
H A D | cpustat_user.c | 121 sched_getaffinity(0, sizeof(original_cpumask), &original_cpumask); in cpu_stat_inject_cpu_idle_event()
|
/linux/tools/testing/selftests/riscv/hwprobe/ |
H A D | cbo.c | 194 rc = sched_getaffinity(0, sizeof(cpu_set_t), &cpus); in main()
|
H A D | which-cpus.c | 91 rc = sched_getaffinity(0, sizeof(cpu_set_t), &cpus_aff); in main()
|
/linux/kernel/sched/ |
H A D | syscalls.c | 1295 long sched_getaffinity(pid_t pid, struct cpumask *mask) in sched_getaffinity() function 1324 SYSCALL_DEFINE3(sched_getaffinity, pid_t, pid, unsigned int, len, in SYSCALL_DEFINE3() argument 1338 ret = sched_getaffinity(pid, mask); in SYSCALL_DEFINE3()
|
/linux/tools/perf/tests/ |
H A D | perf-record.c | 23 if (sched_getaffinity(pid, sizeof(*maskp), maskp) == -1) { in sched__get_first_possible_cpu()
|
/linux/tools/lib/perf/tests/ |
H A D | test-evlist.c | 375 err = sched_getaffinity(0, sizeof(saved_mask), &saved_mask); in test_mmap_cpus()
|
/linux/tools/testing/selftests/powerpc/ |
H A D | utils.c | 433 if (sched_getaffinity(0, size, mask)) { in pick_online_cpu()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | task_local_storage.c | 186 err = sched_getaffinity(getpid(), sizeof(old), &old); in test_nodeadlock()
|
/linux/tools/tracing/rtla/src/ |
H A D | utils.c | 924 retval = sched_getaffinity(getpid(), sizeof(rtla_cpus), &rtla_cpus); in auto_house_keeping()
|
/linux/tools/perf/arch/mips/entry/syscalls/ |
H A D | syscall_n64.tbl | 207 196 n64 sched_getaffinity sys_sched_getaffinity
|
/linux/scripts/ |
H A D | syscall.tbl | 158 123 common sched_getaffinity sys_sched_getaffinity compat_sys_sched_getaffinity
|
/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | perf-hwbreak.c | 172 if (sched_getaffinity(0, size, mask)) { in perf_systemwide_event_open()
|
/linux/arch/x86/entry/syscalls/ |
H A D | syscall_64.tbl | 216 204 common sched_getaffinity sys_sched_getaffinity
|
/linux/tools/perf/arch/x86/entry/syscalls/ |
H A D | syscall_64.tbl | 216 204 common sched_getaffinity sys_sched_getaffinity
|