sched_getaffinity 2138 include/linux/sched.h extern long sched_getaffinity(pid_t pid, cpumask_t *mask); sched_getaffinity 465 kernel/compat.c ret = sched_getaffinity(pid, &mask); sched_getaffinity 5516 kernel/sched.c ret = sched_getaffinity(pid, &mask);