Home
last modified time | relevance | path

Searched refs:sched_getaffinity (Results 1 – 25 of 40) sorted by relevance

12

/linux/kernel/
A Dcompat.c144 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/testing/selftests/rseq/
A Dbasic_test.c21 sched_getaffinity(0, sizeof(affinity), &affinity); in test_cpu_pointer()
A Dbasic_percpu_ops_test.c248 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_list()
A Dparam_test.c632 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_list()
823 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_buffer()
1038 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_memcpy_buffer()
/linux/tools/perf/util/
A Daffinity.c31 sched_getaffinity(0, cpu_set_size, (cpu_set_t *)a->orig_cpus); in affinity__setup()
/linux/tools/power/cpupower/utils/idle_monitor/
A Dcpupower-monitor.h87 if (sched_getaffinity(getpid(), sizeof(set), &set) == 0) { in bind_cpu()
/linux/tools/testing/selftests/kvm/
A Drseq_test.c215 r = sched_getaffinity(0, sizeof(possible_mask), &possible_mask); in main()
/linux/tools/testing/selftests/breakpoints/
A Dstep_after_suspend_test.c187 err = sched_getaffinity(0, sizeof(available_cpus), &available_cpus); in main()
/linux/samples/bpf/
A Dcpustat_user.c122 sched_getaffinity(0, sizeof(original_cpumask), &original_cpumask); in cpu_stat_inject_cpu_idle_event()
/linux/tools/testing/selftests/powerpc/
A Dutils.c105 if (sched_getaffinity(0, size, mask)) { in pick_online_cpu()
/linux/tools/perf/tests/
A Dperf-record.c23 if (sched_getaffinity(pid, sizeof(*maskp), maskp) == -1) { in sched__get_first_possible_cpu()
/linux/tools/testing/selftests/arm64/pauth/
A Dpac.c118 sched_getaffinity(0, sizeof(mask), &mask); in exec_sign_all()
/linux/tools/lib/perf/tests/
A Dtest-evlist.c370 err = sched_getaffinity(0, sizeof(saved_mask), &saved_mask); in test_mmap_cpus()
/linux/tools/testing/selftests/kvm/aarch64/
A Darch_timer.c258 sched_getaffinity(0, sizeof(cpu_set_t), &online_cpuset); in test_get_pcpu()
/linux/tools/perf/arch/mips/entry/syscalls/
A Dsyscall_n64.tbl207 196 n64 sched_getaffinity sys_sched_getaffinity
/linux/arch/ia64/kernel/syscalls/
A Dsyscall.tbl220 208 common sched_getaffinity sys_sched_getaffinity
/linux/arch/mips/kernel/syscalls/
A Dsyscall_n64.tbl207 196 n64 sched_getaffinity sys_sched_getaffinity
A Dsyscall_n32.tbl207 196 n32 sched_getaffinity compat_sys_sched_getaffinity
/linux/tools/perf/bench/
A Dnuma.c274 ret = sched_getaffinity(0, sizeof(orig_mask), &orig_mask); in bind_to_cpu()
301 ret = sched_getaffinity(0, sizeof(orig_mask), &orig_mask); in bind_to_node()
/linux/arch/xtensa/kernel/syscalls/
A Dsyscall.tbl173 157 common sched_getaffinity sys_sched_getaffinity
/linux/arch/x86/entry/syscalls/
A Dsyscall_64.tbl215 204 common sched_getaffinity sys_sched_getaffinity
/linux/tools/perf/arch/x86/entry/syscalls/
A Dsyscall_64.tbl215 204 common sched_getaffinity sys_sched_getaffinity
/linux/arch/sh/kernel/syscalls/
A Dsyscall.tbl252 242 common sched_getaffinity sys_sched_getaffinity
/linux/arch/microblaze/kernel/syscalls/
A Dsyscall.tbl252 242 common sched_getaffinity sys_sched_getaffinity
/linux/arch/m68k/kernel/syscalls/
A Dsyscall.tbl322 312 common sched_getaffinity sys_sched_getaffinity

Completed in 40 milliseconds

12