Home
last modified time | relevance | path

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

12

/linux-6.1.9/tools/testing/selftests/rseq/
Dbasic_test.c21 sched_getaffinity(0, sizeof(affinity), &affinity); in test_cpu_pointer()
Dbasic_percpu_ops_test.c247 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_list()
Dparam_test.c653 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_list()
844 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_buffer()
1059 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_memcpy_buffer()
/linux-6.1.9/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.h87 if (sched_getaffinity(getpid(), sizeof(set), &set) == 0) { in bind_cpu()
/linux-6.1.9/tools/perf/util/
Daffinity.c31 sched_getaffinity(0, cpu_set_size, (cpu_set_t *)a->orig_cpus); in affinity__setup()
/linux-6.1.9/kernel/
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-6.1.9/tools/testing/selftests/bpf/map_tests/
Dtask_storage_map.c88 sched_getaffinity(getpid(), sizeof(old), &old); in test_task_storage_map_stress_lookup()
/linux-6.1.9/tools/testing/selftests/kvm/
Drseq_test.c211 r = sched_getaffinity(0, sizeof(possible_mask), &possible_mask); in main()
Dmax_guest_memory_test.c148 r = sched_getaffinity(0, sizeof(possible_mask), &possible_mask); in calc_default_nr_vcpus()
/linux-6.1.9/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c187 err = sched_getaffinity(0, sizeof(available_cpus), &available_cpus); in main()
/linux-6.1.9/samples/bpf/
Dcpustat_user.c121 sched_getaffinity(0, sizeof(original_cpumask), &original_cpumask); in cpu_stat_inject_cpu_idle_event()
/linux-6.1.9/tools/testing/selftests/powerpc/
Dutils.c105 if (sched_getaffinity(0, size, mask)) { in pick_online_cpu()
/linux-6.1.9/tools/perf/tests/
Dperf-record.c21 if (sched_getaffinity(pid, sizeof(*maskp), maskp) == -1) { in sched__get_first_possible_cpu()
/linux-6.1.9/tools/testing/selftests/arm64/pauth/
Dpac.c118 sched_getaffinity(0, sizeof(mask), &mask); in exec_sign_all()
/linux-6.1.9/tools/testing/selftests/kvm/aarch64/
Darch_timer.c256 sched_getaffinity(0, sizeof(cpu_set_t), &online_cpuset); in test_get_pcpu()
/linux-6.1.9/tools/lib/perf/tests/
Dtest-evlist.c375 err = sched_getaffinity(0, sizeof(saved_mask), &saved_mask); in test_mmap_cpus()
/linux-6.1.9/tools/testing/kunit/
Dkunit.py277 return len(os.sched_getaffinity(0))
/linux-6.1.9/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl207 196 n64 sched_getaffinity sys_sched_getaffinity
/linux-6.1.9/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl207 196 n64 sched_getaffinity sys_sched_getaffinity
Dsyscall_n32.tbl207 196 n32 sched_getaffinity compat_sys_sched_getaffinity
/linux-6.1.9/arch/ia64/kernel/syscalls/
Dsyscall.tbl220 208 common sched_getaffinity sys_sched_getaffinity
/linux-6.1.9/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl215 204 common sched_getaffinity sys_sched_getaffinity
/linux-6.1.9/arch/xtensa/kernel/syscalls/
Dsyscall.tbl173 157 common sched_getaffinity sys_sched_getaffinity
/linux-6.1.9/arch/x86/entry/syscalls/
Dsyscall_64.tbl215 204 common sched_getaffinity sys_sched_getaffinity
/linux-6.1.9/arch/m68k/kernel/syscalls/
Dsyscall.tbl322 312 common sched_getaffinity sys_sched_getaffinity

12