Home
last modified time | relevance | path

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

123

/openbmc/qemu/linux-user/alpha/
H A Dtarget_proc.h25 t = sched_getaffinity(getpid(), sizeof(cpu_mask), (cpu_set_t *)&cpu_mask); in open_cpuinfo()
/openbmc/linux/tools/testing/selftests/rseq/
H A Dbasic_test.c21 sched_getaffinity(0, sizeof(affinity), &affinity); in test_cpu_pointer()
H A Dbasic_percpu_ops_test.c275 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_list()
H A Dparam_test.c716 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_list()
903 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_buffer()
1114 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_memcpy_buffer()
/openbmc/linux/tools/power/cpupower/utils/idle_monitor/
H A Dcpupower-monitor.h87 if (sched_getaffinity(getpid(), sizeof(set), &set) == 0) { in bind_cpu()
/openbmc/linux/kernel/
H 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()
/openbmc/linux/tools/perf/util/
H A Daffinity.c31 sched_getaffinity(0, cpu_set_size, (cpu_set_t *)a->orig_cpus); in affinity__setup()
/openbmc/linux/tools/testing/selftests/kvm/
H A Drseq_test.c196 r = sched_getaffinity(0, sizeof(possible_mask), &possible_mask); in main()
H A Dmax_guest_memory_test.c149 r = sched_getaffinity(0, sizeof(possible_mask), &possible_mask); in calc_default_nr_vcpus()
/openbmc/linux/tools/testing/selftests/bpf/map_tests/
H A Dtask_storage_map.c88 sched_getaffinity(getpid(), sizeof(old), &old); in test_task_storage_map_stress_lookup()
/openbmc/linux/tools/testing/selftests/breakpoints/
H A Dstep_after_suspend_test.c190 err = sched_getaffinity(0, sizeof(available_cpus), &available_cpus); in main()
/openbmc/linux/samples/bpf/
H A Dcpustat_user.c121 sched_getaffinity(0, sizeof(original_cpumask), &original_cpumask); in cpu_stat_inject_cpu_idle_event()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtask_local_storage.c184 err = sched_getaffinity(getpid(), sizeof(old), &old); in test_nodeadlock()
/openbmc/qemu/linux-user/mips/
H A Dsyscall-args-o32.c.inc241 [ 240] = 3, /* sched_getaffinity */
/openbmc/linux/tools/perf/tests/
H A Dperf-record.c23 if (sched_getaffinity(pid, sizeof(*maskp), maskp) == -1) { in sched__get_first_possible_cpu()
/openbmc/linux/tools/testing/selftests/arm64/pauth/
H A Dpac.c118 sched_getaffinity(0, sizeof(mask), &mask); in exec_sign_all()
/openbmc/linux/tools/testing/selftests/kvm/aarch64/
H A Darch_timer.c264 sched_getaffinity(0, sizeof(cpu_set_t), &online_cpuset); in test_get_pcpu()
/openbmc/linux/tools/tracing/rtla/src/
H A Dutils.c778 retval = sched_getaffinity(getpid(), sizeof(rtla_cpus), &rtla_cpus); in auto_house_keeping()
/openbmc/linux/tools/testing/selftests/powerpc/
H A Dutils.c433 if (sched_getaffinity(0, size, mask)) { in pick_online_cpu()
/openbmc/linux/tools/lib/perf/tests/
H A Dtest-evlist.c375 err = sched_getaffinity(0, sizeof(saved_mask), &saved_mask); in test_mmap_cpus()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dutils.py255 cpus = len(os.sched_getaffinity(0))
/openbmc/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl207 196 n64 sched_getaffinity sys_sched_getaffinity
/openbmc/qemu/linux-user/mips64/
H A Dsyscall_n64.tbl207 196 n64 sched_getaffinity sys_sched_getaffinity
/openbmc/linux/tools/testing/kunit/
H A Dkunit.py306 return len(os.sched_getaffinity(0))
/openbmc/linux/arch/ia64/kernel/syscalls/
H A Dsyscall.tbl220 208 common sched_getaffinity sys_sched_getaffinity

123