Home
last modified time | relevance | path

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

/linux-4.1.27/arch/tile/kernel/
Dsmpboot.c68 rc = sched_setaffinity(current->pid, cpumask_of(boot_cpu)); in smp_prepare_cpus()
128 long rc = sched_setaffinity(current->pid, &init_affinity); in reset_init_affinity()
265 rc = sched_setaffinity(current->pid, cpumask_of(cpu)); in smp_cpus_done()
/linux-4.1.27/tools/perf/tests/
Dmmap-basic.c50 sched_setaffinity(0, sizeof(cpu_set), &cpu_set); in test__basic_mmap()
51 if (sched_setaffinity(0, sizeof(cpu_set), &cpu_set) < 0) { in test__basic_mmap()
Dopen-syscall-all-cpus.c62 if (sched_setaffinity(0, sizeof(cpu_set), &cpu_set) < 0) { in test__open_syscall_event_on_all_cpus()
Dperf-record.c114 if (sched_setaffinity(evlist->workload.pid, cpu_mask_size, &cpu_mask) < 0) { in test__PERF_RECORD()
/linux-4.1.27/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.h80 return sched_setaffinity(getpid(), sizeof(set), &set); in bind_cpu()
/linux-4.1.27/tools/power/cpupower/bench/
Dsystem.c96 if (sched_setaffinity(getpid(), sizeof(cpu_set_t), &cpuset) < 0) { in set_cpu_affinity()
/linux-4.1.27/tools/virtio/virtio-trace/
Dtrace-agent-rw.c102 if (sched_setaffinity(0, sizeof(mask), &mask) == -1) in bind_cpu()
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/
Dlib.c53 return sched_setaffinity(0, sizeof(mask), &mask); in bind_to_cpu()
/linux-4.1.27/tools/virtio/
Dvringh_test.c100 if (sched_setaffinity(getpid(), sizeof(set), &set) == 0) { in find_cpus()
191 if (sched_setaffinity(getpid(), sizeof(cpu_set), &cpu_set)) in parallel_test()
313 if (sched_setaffinity(getpid(), sizeof(cpu_set), &cpu_set)) in parallel_test()
/linux-4.1.27/tools/testing/selftests/net/
Dpsock_fanout.c259 if (sched_setaffinity(0, sizeof(mask), &mask)) { in set_cpuaffinity()
/linux-4.1.27/Documentation/cgroups/
Dcpusets.txt53 Requests by a task, using the sched_setaffinity(2) system call to
114 CPUs a task may be scheduled (sched_setaffinity) and on which Memory
123 - Calls to sched_setaffinity are filtered to just those CPUs
143 - in sched_setaffinity, to mask the requested CPUs by what's
203 using the sched_setaffinity, mbind and set_mempolicy system calls.
380 as cpusets and sched_setaffinity.
412 can move a task (not otherwised pinned, as by sched_setaffinity)
620 bound to some subset of its cpuset using the sched_setaffinity() call,
622 negating the effect of the prior sched_setaffinity() call.
704 The sched_setaffinity calls can also be done at the shell prompt using
/linux-4.1.27/tools/perf/bench/
Dnuma.c226 ret = sched_setaffinity(0, sizeof(mask), &mask); in bind_to_cpu()
260 ret = sched_setaffinity(0, sizeof(mask), &mask); in bind_to_node()
270 ret = sched_setaffinity(0, sizeof(mask), &mask); in bind_to_cpumask()
/linux-4.1.27/arch/parisc/kernel/
Dsyscall_table.S309 ENTRY_COMP(sched_setaffinity)
/linux-4.1.27/arch/powerpc/include/asm/
Dsystbl.h229 COMPAT_SYS_SPU(sched_setaffinity)
/linux-4.1.27/Documentation/ia64/
Derr_inject.txt116 int sched_setaffinity(pid_t pid, unsigned int len, unsigned long *mask);
887 if (sched_setaffinity(0, MASK_SIZE*8, mask)==-1) {
888 perror("Error sched_setaffinity:");
/linux-4.1.27/kernel/
Dcompat.c616 COMPAT_SYSCALL_DEFINE3(sched_setaffinity, compat_pid_t, pid, in COMPAT_SYSCALL_DEFINE3() argument
630 retval = sched_setaffinity(pid, new_mask); in COMPAT_SYSCALL_DEFINE3()
/linux-4.1.27/Documentation/
Dkernel-per-CPU-kthreads.txt18 o man sched_setaffinity: Using the sched_setaffinity() system
/linux-4.1.27/arch/x86/syscalls/
Dsyscall_64.tbl212 203 common sched_setaffinity sys_sched_setaffinity
Dsyscall_32.tbl250 241 i386 sched_setaffinity sys_sched_setaffinity compat_sys_sched_setaffinity
/linux-4.1.27/Documentation/vm/
Dnuma110 sched_setaffinity(2). Further, one can modify the kernel's default local
/linux-4.1.27/Documentation/networking/
Dcxgb.txt315 sched_setaffinity & sched_getaffinity to bind your application.
/linux-4.1.27/tools/power/x86/turbostat/
Dturbostat.c255 if (sched_setaffinity(0, cpu_affinity_setsize, cpu_affinity_set) == -1) in cpu_migrate()
2964 sched_setaffinity(0, cpu_present_setsize, cpu_present_set); in fork_it()
/linux-4.1.27/kernel/sched/
Dcore.c4017 long sched_setaffinity(pid_t pid, const struct cpumask *in_mask) in sched_setaffinity() function
4125 SYSCALL_DEFINE3(sched_setaffinity, pid_t, pid, unsigned int, len, in SYSCALL_DEFINE3() argument
4136 retval = sched_setaffinity(pid, new_mask); in SYSCALL_DEFINE3()
/linux-4.1.27/include/linux/
Dsched.h3015 extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask);
/linux-4.1.27/Documentation/RCU/
DwhatisRCU.txt650 in terms of the sched_setaffinity() primitive. Of course, a somewhat less