Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/rseq/
Dbasic_test.c21 sched_getaffinity(0, sizeof(affinity), &affinity); in test_cpu_pointer()
Dbasic_percpu_ops_test.c248 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_list()
Dparam_test.c628 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_list()
819 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_buffer()
1034 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_memcpy_buffer()
/Linux-v4.19/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.h86 if (sched_getaffinity(getpid(), sizeof(set), &set) == 0) { in bind_cpu()
/Linux-v4.19/tools/testing/selftests/powerpc/
Dutils.c91 if (sched_getaffinity(0, sizeof(mask), &mask)) { in pick_online_cpu()
/Linux-v4.19/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c197 err = sched_getaffinity(0, sizeof(available_cpus), &available_cpus); in main()
/Linux-v4.19/samples/bpf/
Dcpustat_user.c121 sched_getaffinity(0, sizeof(original_cpumask), &original_cpumask); in cpu_stat_inject_cpu_idle_event()
/Linux-v4.19/kernel/
Dcompat.c299 COMPAT_SYSCALL_DEFINE3(sched_getaffinity, compat_pid_t, pid, unsigned int, len, in COMPAT_SYSCALL_DEFINE3() argument
313 ret = sched_getaffinity(pid, mask); in COMPAT_SYSCALL_DEFINE3()
/Linux-v4.19/tools/perf/tests/
Dperf-record.c20 if (sched_getaffinity(pid, sizeof(*maskp), maskp) == -1) { in sched__get_first_possible_cpu()
/Linux-v4.19/arch/powerpc/include/asm/
Dsystbl.h231 COMPAT_SYS_SPU(sched_getaffinity)
/Linux-v4.19/arch/parisc/kernel/
Dsyscall_table.S310 ENTRY_COMP(sched_getaffinity)
/Linux-v4.19/arch/x86/entry/syscalls/
Dsyscall_64.tbl215 204 common sched_getaffinity __x64_sys_sched_getaffinity
Dsyscall_32.tbl256 242 i386 sched_getaffinity sys_sched_getaffinity __ia32_compat_sys_sched_getaffinity
/Linux-v4.19/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl215 204 common sched_getaffinity __x64_sys_sched_getaffinity
/Linux-v4.19/arch/arm/tools/
Dsyscall.tbl259 242 common sched_getaffinity sys_sched_getaffinity
/Linux-v4.19/tools/perf/bench/
Dnuma.c265 ret = sched_getaffinity(0, sizeof(orig_mask), &orig_mask); in bind_to_cpu()
296 ret = sched_getaffinity(0, sizeof(orig_mask), &orig_mask); in bind_to_node()
/Linux-v4.19/tools/perf/arch/s390/entry/syscalls/
Dsyscall.tbl251 240 common sched_getaffinity sys_sched_getaffinity compat_sys_sched_getaffinity
/Linux-v4.19/arch/s390/kernel/syscalls/
Dsyscall.tbl251 240 common sched_getaffinity sys_sched_getaffinity compat_sys_sched_getaffinity
/Linux-v4.19/include/linux/
Dsched.h1764 extern long sched_getaffinity(pid_t pid, struct cpumask *mask);
/Linux-v4.19/Documentation/networking/
Dcxgb.txt315 sched_setaffinity & sched_getaffinity to bind your application.
/Linux-v4.19/kernel/sched/
Dcore.c4858 long sched_getaffinity(pid_t pid, struct cpumask *mask) in sched_getaffinity() function
4894 SYSCALL_DEFINE3(sched_getaffinity, pid_t, pid, unsigned int, len, in SYSCALL_DEFINE3() argument
4908 ret = sched_getaffinity(pid, mask); in SYSCALL_DEFINE3()