cpuset 13 include/linux/cgroup_subsys.h SUBSYS(cpuset) cpuset 192 kernel/cgroup/cpuset.c static inline struct cpuset *css_cs(struct cgroup_subsys_state *css) cpuset 194 kernel/cgroup/cpuset.c return css ? container_of(css, struct cpuset, css) : NULL; cpuset 198 kernel/cgroup/cpuset.c static inline struct cpuset *task_cs(struct task_struct *task) cpuset 203 kernel/cgroup/cpuset.c static inline struct cpuset *parent_cs(struct cpuset *cs) cpuset 221 kernel/cgroup/cpuset.c static inline bool is_cpuset_online(struct cpuset *cs) cpuset 226 kernel/cgroup/cpuset.c static inline int is_cpu_exclusive(const struct cpuset *cs) cpuset 231 kernel/cgroup/cpuset.c static inline int is_mem_exclusive(const struct cpuset *cs) cpuset 236 kernel/cgroup/cpuset.c static inline int is_mem_hardwall(const struct cpuset *cs) cpuset 241 kernel/cgroup/cpuset.c static inline int is_sched_load_balance(const struct cpuset *cs) cpuset 246 kernel/cgroup/cpuset.c static inline int is_memory_migrate(const struct cpuset *cs) cpuset 251 kernel/cgroup/cpuset.c static inline int is_spread_page(const struct cpuset *cs) cpuset 256 kernel/cgroup/cpuset.c static inline int is_spread_slab(const struct cpuset *cs) cpuset 261 kernel/cgroup/cpuset.c static inline int is_partition_root(const struct cpuset *cs) cpuset 266 kernel/cgroup/cpuset.c static struct cpuset top_cpuset = { cpuset 380 kernel/cgroup/cpuset.c static void guarantee_online_cpus(struct cpuset *cs, struct cpumask *pmask) cpuset 410 kernel/cgroup/cpuset.c static void guarantee_online_mems(struct cpuset *cs, nodemask_t *pmask) cpuset 422 kernel/cgroup/cpuset.c static void cpuset_update_task_spread_flag(struct cpuset *cs, cpuset 444 kernel/cgroup/cpuset.c static int is_cpuset_subset(const struct cpuset *p, const struct cpuset *q) cpuset 460 kernel/cgroup/cpuset.c static inline int alloc_cpumasks(struct cpuset *cs, struct tmpmasks *tmp) cpuset 497 kernel/cgroup/cpuset.c static inline void free_cpumasks(struct cpuset *cs, struct tmpmasks *tmp) cpuset 515 kernel/cgroup/cpuset.c static struct cpuset *alloc_trial_cpuset(struct cpuset *cs) cpuset 517 kernel/cgroup/cpuset.c struct cpuset *trial; cpuset 537 kernel/cgroup/cpuset.c static inline void free_cpuset(struct cpuset *cs) cpuset 563 kernel/cgroup/cpuset.c static int validate_change(struct cpuset *cur, struct cpuset *trial) cpuset 566 kernel/cgroup/cpuset.c struct cpuset *c, *par; cpuset 640 kernel/cgroup/cpuset.c static int cpusets_overlap(struct cpuset *a, struct cpuset *b) cpuset 646 kernel/cgroup/cpuset.c update_domain_attr(struct sched_domain_attr *dattr, struct cpuset *c) cpuset 654 kernel/cgroup/cpuset.c struct cpuset *root_cs) cpuset 656 kernel/cgroup/cpuset.c struct cpuset *cp; cpuset 736 kernel/cgroup/cpuset.c struct cpuset *cp; /* top-down scan of cpusets */ cpuset 737 kernel/cgroup/cpuset.c struct cpuset **csa; /* array of all cpuset ptrs */ cpuset 818 kernel/cgroup/cpuset.c struct cpuset *a = csa[i]; cpuset 822 kernel/cgroup/cpuset.c struct cpuset *b = csa[j]; cpuset 827 kernel/cgroup/cpuset.c struct cpuset *c = csa[k]; cpuset 854 kernel/cgroup/cpuset.c struct cpuset *a = csa[i]; cpuset 879 kernel/cgroup/cpuset.c struct cpuset *b = csa[j]; cpuset 910 kernel/cgroup/cpuset.c static void update_tasks_root_domain(struct cpuset *cs) cpuset 925 kernel/cgroup/cpuset.c struct cpuset *cs = NULL; cpuset 1033 kernel/cgroup/cpuset.c static void update_tasks_cpumask(struct cpuset *cs) cpuset 1056 kernel/cgroup/cpuset.c struct cpuset *cs, struct cpuset *parent) cpuset 1119 kernel/cgroup/cpuset.c static int update_parent_subparts_cpumask(struct cpuset *cpuset, int cmd, cpuset 1123 kernel/cgroup/cpuset.c struct cpuset *parent = parent_cs(cpuset); cpuset 1137 kernel/cgroup/cpuset.c (!newmask && cpumask_empty(cpuset->cpus_allowed))) cpuset 1144 kernel/cgroup/cpuset.c if ((cmd != partcmd_update) && css_has_online_children(&cpuset->css)) cpuset 1153 kernel/cgroup/cpuset.c (!cpumask_subset(cpuset->cpus_allowed, parent->effective_cpus) || cpuset 1154 kernel/cgroup/cpuset.c cpumask_equal(cpuset->cpus_allowed, parent->effective_cpus))) cpuset 1162 kernel/cgroup/cpuset.c cpumask_copy(tmp->addmask, cpuset->cpus_allowed); cpuset 1165 kernel/cgroup/cpuset.c deleting = cpumask_and(tmp->delmask, cpuset->cpus_allowed, cpuset 1175 kernel/cgroup/cpuset.c cpumask_andnot(tmp->delmask, cpuset->cpus_allowed, newmask); cpuset 1209 kernel/cgroup/cpuset.c adding = cpumask_and(tmp->addmask, cpuset->cpus_allowed, cpuset 1216 kernel/cgroup/cpuset.c int prev_prs = cpuset->partition_root_state; cpuset 1222 kernel/cgroup/cpuset.c switch (cpuset->partition_root_state) { cpuset 1225 kernel/cgroup/cpuset.c cpuset->partition_root_state = PRS_ERROR; cpuset 1229 kernel/cgroup/cpuset.c cpuset->partition_root_state = PRS_ENABLED; cpuset 1238 kernel/cgroup/cpuset.c if (!part_error && (cpuset->partition_root_state == PRS_ERROR)) cpuset 1241 kernel/cgroup/cpuset.c if (cpuset->partition_root_state == PRS_ERROR) { cpuset 1246 kernel/cgroup/cpuset.c deleting = cpumask_and(tmp->delmask, cpuset->cpus_allowed, cpuset 1294 kernel/cgroup/cpuset.c static void update_cpumasks_hier(struct cpuset *cs, struct tmpmasks *tmp) cpuset 1296 kernel/cgroup/cpuset.c struct cpuset *cp; cpuset 1302 kernel/cgroup/cpuset.c struct cpuset *parent = parent_cs(cp); cpuset 1447 kernel/cgroup/cpuset.c static void update_sibling_cpumasks(struct cpuset *parent, struct cpuset *cs, cpuset 1450 kernel/cgroup/cpuset.c struct cpuset *sibling; cpuset 1476 kernel/cgroup/cpuset.c static int update_cpumask(struct cpuset *cs, struct cpuset *trialcs, cpuset 1547 kernel/cgroup/cpuset.c struct cpuset *parent = parent_cs(cs); cpuset 1645 kernel/cgroup/cpuset.c static void update_tasks_nodemask(struct cpuset *cs) cpuset 1708 kernel/cgroup/cpuset.c static void update_nodemasks_hier(struct cpuset *cs, nodemask_t *new_mems) cpuset 1710 kernel/cgroup/cpuset.c struct cpuset *cp; cpuset 1715 kernel/cgroup/cpuset.c struct cpuset *parent = parent_cs(cp); cpuset 1764 kernel/cgroup/cpuset.c static int update_nodemask(struct cpuset *cs, struct cpuset *trialcs, cpuset 1827 kernel/cgroup/cpuset.c static int update_relax_domain_level(struct cpuset *cs, s64 val) cpuset 1852 kernel/cgroup/cpuset.c static void update_tasks_flags(struct cpuset *cs) cpuset 1872 kernel/cgroup/cpuset.c static int update_flag(cpuset_flagbits_t bit, struct cpuset *cs, cpuset 1875 kernel/cgroup/cpuset.c struct cpuset *trialcs; cpuset 1920 kernel/cgroup/cpuset.c static int update_prstate(struct cpuset *cs, int val) cpuset 1923 kernel/cgroup/cpuset.c struct cpuset *parent = parent_cs(cs); cpuset 2102 kernel/cgroup/cpuset.c static struct cpuset *cpuset_attach_old_cs; cpuset 2108 kernel/cgroup/cpuset.c struct cpuset *cs; cpuset 2169 kernel/cgroup/cpuset.c struct cpuset *cs; cpuset 2170 kernel/cgroup/cpuset.c struct cpuset *oldcs = cpuset_attach_old_cs; cpuset 2256 kernel/cgroup/cpuset.c struct cpuset *cs = css_cs(css); cpuset 2305 kernel/cgroup/cpuset.c struct cpuset *cs = css_cs(css); cpuset 2334 kernel/cgroup/cpuset.c struct cpuset *cs = css_cs(of_css(of)); cpuset 2335 kernel/cgroup/cpuset.c struct cpuset *trialcs; cpuset 2406 kernel/cgroup/cpuset.c struct cpuset *cs = css_cs(seq_css(sf)); cpuset 2438 kernel/cgroup/cpuset.c struct cpuset *cs = css_cs(css); cpuset 2469 kernel/cgroup/cpuset.c struct cpuset *cs = css_cs(css); cpuset 2484 kernel/cgroup/cpuset.c struct cpuset *cs = css_cs(seq_css(seq)); cpuset 2503 kernel/cgroup/cpuset.c struct cpuset *cs = css_cs(of_css(of)); cpuset 2701 kernel/cgroup/cpuset.c struct cpuset *cs; cpuset 2726 kernel/cgroup/cpuset.c struct cpuset *cs = css_cs(css); cpuset 2727 kernel/cgroup/cpuset.c struct cpuset *parent = parent_cs(cs); cpuset 2728 kernel/cgroup/cpuset.c struct cpuset *tmp_cs; cpuset 2804 kernel/cgroup/cpuset.c struct cpuset *cs = css_cs(css); cpuset 2817 kernel/cgroup/cpuset.c struct cpuset *parent = parent_cs(cs); cpuset 2832 kernel/cgroup/cpuset.c struct cpuset *cs = css_cs(css); cpuset 2921 kernel/cgroup/cpuset.c static void remove_tasks_in_empty_cpuset(struct cpuset *cs) cpuset 2923 kernel/cgroup/cpuset.c struct cpuset *parent; cpuset 2942 kernel/cgroup/cpuset.c hotplug_update_tasks_legacy(struct cpuset *cs, cpuset 2981 kernel/cgroup/cpuset.c hotplug_update_tasks(struct cpuset *cs, cpuset 3017 kernel/cgroup/cpuset.c static void cpuset_hotplug_update_tasks(struct cpuset *cs, struct tmpmasks *tmp) cpuset 3023 kernel/cgroup/cpuset.c struct cpuset *parent; cpuset 3186 kernel/cgroup/cpuset.c struct cpuset *cs; cpuset 3370 kernel/cgroup/cpuset.c static struct cpuset *nearest_hardwall_ancestor(struct cpuset *cs) cpuset 3419 kernel/cgroup/cpuset.c struct cpuset *cs; /* current cpuset ancestors */ cpuset 2030 kernel/sched/core.c enum { cpuset, possible, fail } state = cpuset; cpuset 2061 kernel/sched/core.c case cpuset: cpuset 2080 kernel/sched/core.c if (state != cpuset) { cpuset 326 samples/bpf/map_perf_test_user.c cpu_set_t cpuset; cpuset 329 samples/bpf/map_perf_test_user.c CPU_ZERO(&cpuset); cpuset 330 samples/bpf/map_perf_test_user.c CPU_SET(cpu, &cpuset); cpuset 331 samples/bpf/map_perf_test_user.c sched_setaffinity(0, sizeof(cpuset), &cpuset); cpuset 223 samples/bpf/test_lru_dist.c cpu_set_t cpuset; cpuset 229 samples/bpf/test_lru_dist.c CPU_ZERO(&cpuset); cpuset 230 samples/bpf/test_lru_dist.c CPU_SET(next_to_try++, &cpuset); cpuset 231 samples/bpf/test_lru_dist.c if (!sched_setaffinity(pid, sizeof(cpuset), &cpuset)) cpuset 83 samples/bpf/test_overhead_user.c cpu_set_t cpuset; cpuset 85 samples/bpf/test_overhead_user.c CPU_ZERO(&cpuset); cpuset 86 samples/bpf/test_overhead_user.c CPU_SET(cpu, &cpuset); cpuset 87 samples/bpf/test_overhead_user.c sched_setaffinity(0, sizeof(cpuset), &cpuset); cpuset 59 tools/perf/bench/bench.h cpu_set_t *cpuset __maybe_unused) cpuset 227 tools/perf/bench/epoll-ctl.c cpu_set_t cpuset; cpuset 257 tools/perf/bench/epoll-ctl.c CPU_ZERO(&cpuset); cpuset 258 tools/perf/bench/epoll-ctl.c CPU_SET(cpu->map[i % cpu->nr], &cpuset); cpuset 260 tools/perf/bench/epoll-ctl.c ret = pthread_attr_setaffinity_np(&thread_attr, sizeof(cpu_set_t), &cpuset); cpuset 296 tools/perf/bench/epoll-wait.c cpu_set_t cpuset; cpuset 346 tools/perf/bench/epoll-wait.c CPU_ZERO(&cpuset); cpuset 347 tools/perf/bench/epoll-wait.c CPU_SET(cpu->map[i % cpu->nr], &cpuset); cpuset 349 tools/perf/bench/epoll-wait.c ret = pthread_attr_setaffinity_np(&thread_attr, sizeof(cpu_set_t), &cpuset); cpuset 123 tools/perf/bench/futex-hash.c cpu_set_t cpuset; cpuset 171 tools/perf/bench/futex-hash.c CPU_ZERO(&cpuset); cpuset 172 tools/perf/bench/futex-hash.c CPU_SET(cpu->map[i % cpu->nr], &cpuset); cpuset 174 tools/perf/bench/futex-hash.c ret = pthread_attr_setaffinity_np(&thread_attr, sizeof(cpu_set_t), &cpuset); cpuset 122 tools/perf/bench/futex-lock-pi.c cpu_set_t cpuset; cpuset 137 tools/perf/bench/futex-lock-pi.c CPU_ZERO(&cpuset); cpuset 138 tools/perf/bench/futex-lock-pi.c CPU_SET(cpu->map[i % cpu->nr], &cpuset); cpuset 140 tools/perf/bench/futex-lock-pi.c if (pthread_attr_setaffinity_np(&thread_attr, sizeof(cpu_set_t), &cpuset)) cpuset 90 tools/perf/bench/futex-requeue.c cpu_set_t cpuset; cpuset 97 tools/perf/bench/futex-requeue.c CPU_ZERO(&cpuset); cpuset 98 tools/perf/bench/futex-requeue.c CPU_SET(cpu->map[i % cpu->nr], &cpuset); cpuset 100 tools/perf/bench/futex-requeue.c if (pthread_attr_setaffinity_np(&thread_attr, sizeof(cpu_set_t), &cpuset)) cpuset 144 tools/perf/bench/futex-wake-parallel.c cpu_set_t cpuset; cpuset 151 tools/perf/bench/futex-wake-parallel.c CPU_ZERO(&cpuset); cpuset 152 tools/perf/bench/futex-wake-parallel.c CPU_SET(cpu->map[i % cpu->nr], &cpuset); cpuset 154 tools/perf/bench/futex-wake-parallel.c if (pthread_attr_setaffinity_np(&thread_attr, sizeof(cpu_set_t), &cpuset)) cpuset 96 tools/perf/bench/futex-wake.c cpu_set_t cpuset; cpuset 103 tools/perf/bench/futex-wake.c CPU_ZERO(&cpuset); cpuset 104 tools/perf/bench/futex-wake.c CPU_SET(cpu->map[i % cpu->nr], &cpuset); cpuset 106 tools/perf/bench/futex-wake.c if (pthread_attr_setaffinity_np(&thread_attr, sizeof(cpu_set_t), &cpuset)) cpuset 61 tools/perf/builtin-c2c.c unsigned long *cpuset; cpuset 139 tools/perf/builtin-c2c.c c2c_he->cpuset = bitmap_alloc(c2c.cpus_cnt); cpuset 140 tools/perf/builtin-c2c.c if (!c2c_he->cpuset) cpuset 168 tools/perf/builtin-c2c.c free(c2c_he->cpuset); cpuset 217 tools/perf/builtin-c2c.c set_bit(sample->cpu, c2c_he->cpuset); cpuset 1097 tools/perf/builtin-c2c.c bitmap_and(set, c2c_he->cpuset, c2c.nodes[node], c2c.cpus_cnt); cpuset 1214 tools/perf/builtin-c2c.c scnprintf(buf, 10, "%d", bitmap_weight(c2c_he->cpuset, c2c.cpus_cnt)); cpuset 77 tools/power/cpupower/bench/system.c cpu_set_t cpuset; cpuset 79 tools/power/cpupower/bench/system.c CPU_ZERO(&cpuset); cpuset 80 tools/power/cpupower/bench/system.c CPU_SET(cpu, &cpuset); cpuset 84 tools/power/cpupower/bench/system.c if (sched_setaffinity(getpid(), sizeof(cpu_set_t), &cpuset) < 0) { cpuset 134 tools/testing/selftests/bpf/test_lru_map.c cpu_set_t cpuset; cpuset 139 tools/testing/selftests/bpf/test_lru_map.c CPU_ZERO(&cpuset); cpuset 140 tools/testing/selftests/bpf/test_lru_map.c CPU_SET(next++, &cpuset); cpuset 141 tools/testing/selftests/bpf/test_lru_map.c if (!sched_setaffinity(pid, sizeof(cpuset), &cpuset)) { cpuset 82 tools/testing/selftests/bpf/test_tcpnotify_user.c cpu_set_t cpuset; cpuset 85 tools/testing/selftests/bpf/test_tcpnotify_user.c CPU_ZERO(&cpuset); cpuset 86 tools/testing/selftests/bpf/test_tcpnotify_user.c CPU_SET(0, &cpuset); cpuset 87 tools/testing/selftests/bpf/test_tcpnotify_user.c pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); cpuset 27 tools/testing/selftests/intel_pstate/aperf.c cpu_set_t cpuset; cpuset 50 tools/testing/selftests/intel_pstate/aperf.c CPU_ZERO(&cpuset); cpuset 51 tools/testing/selftests/intel_pstate/aperf.c CPU_SET(cpu, &cpuset); cpuset 53 tools/testing/selftests/intel_pstate/aperf.c if (sched_setaffinity(0, sizeof(cpu_set_t), &cpuset)) { cpuset 77 tools/testing/selftests/powerpc/benchmarks/context_switch.c cpu_set_t cpuset; cpuset 80 tools/testing/selftests/powerpc/benchmarks/context_switch.c CPU_ZERO(&cpuset); cpuset 81 tools/testing/selftests/powerpc/benchmarks/context_switch.c CPU_SET(cpu, &cpuset); cpuset 90 tools/testing/selftests/powerpc/benchmarks/context_switch.c rc = pthread_attr_setaffinity_np(&attr, sizeof(cpu_set_t), &cpuset); cpuset 108 tools/testing/selftests/powerpc/benchmarks/context_switch.c cpu_set_t cpuset; cpuset 119 tools/testing/selftests/powerpc/benchmarks/context_switch.c CPU_ZERO(&cpuset); cpuset 120 tools/testing/selftests/powerpc/benchmarks/context_switch.c CPU_SET(cpu, &cpuset); cpuset 122 tools/testing/selftests/powerpc/benchmarks/context_switch.c if (sched_setaffinity(0, sizeof(cpuset), &cpuset)) { cpuset 32 tools/testing/selftests/powerpc/benchmarks/fork.c cpu_set_t cpuset; cpuset 37 tools/testing/selftests/powerpc/benchmarks/fork.c CPU_ZERO(&cpuset); cpuset 38 tools/testing/selftests/powerpc/benchmarks/fork.c CPU_SET(cpu, &cpuset); cpuset 40 tools/testing/selftests/powerpc/benchmarks/fork.c if (sched_setaffinity(0, sizeof(cpuset), &cpuset)) { cpuset 137 tools/testing/selftests/powerpc/benchmarks/fork.c cpu_set_t cpuset; cpuset 149 tools/testing/selftests/powerpc/benchmarks/fork.c CPU_ZERO(&cpuset); cpuset 150 tools/testing/selftests/powerpc/benchmarks/fork.c CPU_SET(cpu, &cpuset); cpuset 152 tools/testing/selftests/powerpc/benchmarks/fork.c rc = pthread_attr_setaffinity_np(&attr, sizeof(cpu_set_t), &cpuset); cpuset 30 tools/testing/selftests/powerpc/tm/tm-poison.c cpu_set_t cpuset; cpuset 39 tools/testing/selftests/powerpc/tm/tm-poison.c CPU_ZERO(&cpuset); cpuset 40 tools/testing/selftests/powerpc/tm/tm-poison.c CPU_SET(0, &cpuset); cpuset 41 tools/testing/selftests/powerpc/tm/tm-poison.c sched_setaffinity(0, sizeof(cpuset), &cpuset); cpuset 43 tools/testing/selftests/powerpc/tm/tm-tmspr.c cpu_set_t cpuset; cpuset 45 tools/testing/selftests/powerpc/tm/tm-tmspr.c CPU_ZERO(&cpuset); cpuset 47 tools/testing/selftests/powerpc/tm/tm-tmspr.c CPU_SET(cpu, &cpuset); cpuset 48 tools/testing/selftests/powerpc/tm/tm-tmspr.c sched_setaffinity(0, sizeof(cpuset), &cpuset); cpuset 254 tools/testing/selftests/powerpc/tm/tm-trap.c cpu_set_t cpuset; cpuset 271 tools/testing/selftests/powerpc/tm/tm-trap.c CPU_ZERO(&cpuset); cpuset 272 tools/testing/selftests/powerpc/tm/tm-trap.c CPU_SET(0, &cpuset); cpuset 284 tools/testing/selftests/powerpc/tm/tm-trap.c rc = pthread_attr_setaffinity_np(&attr, sizeof(cpu_set_t), &cpuset); cpuset 344 tools/testing/selftests/powerpc/tm/tm-unavailable.c cpu_set_t cpuset; cpuset 349 tools/testing/selftests/powerpc/tm/tm-unavailable.c CPU_ZERO(&cpuset); cpuset 350 tools/testing/selftests/powerpc/tm/tm-unavailable.c CPU_SET(0, &cpuset); cpuset 358 tools/testing/selftests/powerpc/tm/tm-unavailable.c rc = pthread_attr_setaffinity_np(&attr, sizeof(cpu_set_t), &cpuset); cpuset 539 tools/testing/selftests/x86/fsgsbase.c cpu_set_t cpuset; cpuset 540 tools/testing/selftests/x86/fsgsbase.c CPU_ZERO(&cpuset); cpuset 541 tools/testing/selftests/x86/fsgsbase.c CPU_SET(0, &cpuset); cpuset 542 tools/testing/selftests/x86/fsgsbase.c if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) cpuset 90 tools/testing/selftests/x86/ioperm.c cpu_set_t cpuset; cpuset 91 tools/testing/selftests/x86/ioperm.c CPU_ZERO(&cpuset); cpuset 92 tools/testing/selftests/x86/ioperm.c CPU_SET(0, &cpuset); cpuset 93 tools/testing/selftests/x86/ioperm.c if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) cpuset 47 tools/testing/selftests/x86/iopl.c cpu_set_t cpuset; cpuset 48 tools/testing/selftests/x86/iopl.c CPU_ZERO(&cpuset); cpuset 49 tools/testing/selftests/x86/iopl.c CPU_SET(0, &cpuset); cpuset 50 tools/testing/selftests/x86/iopl.c if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) cpuset 437 tools/testing/selftests/x86/ldt_gdt.c cpu_set_t cpuset; cpuset 438 tools/testing/selftests/x86/ldt_gdt.c CPU_ZERO(&cpuset); cpuset 439 tools/testing/selftests/x86/ldt_gdt.c CPU_SET(1, &cpuset); cpuset 440 tools/testing/selftests/x86/ldt_gdt.c if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) cpuset 532 tools/testing/selftests/x86/ldt_gdt.c cpu_set_t cpuset; cpuset 537 tools/testing/selftests/x86/ldt_gdt.c CPU_ZERO(&cpuset); cpuset 538 tools/testing/selftests/x86/ldt_gdt.c CPU_SET(1, &cpuset); cpuset 539 tools/testing/selftests/x86/ldt_gdt.c if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) { cpuset 544 tools/testing/selftests/x86/ldt_gdt.c CPU_ZERO(&cpuset); cpuset 545 tools/testing/selftests/x86/ldt_gdt.c CPU_SET(0, &cpuset); cpuset 546 tools/testing/selftests/x86/ldt_gdt.c if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) { cpuset 55 tools/testing/selftests/x86/sysret_ss_attrs.c cpu_set_t cpuset; cpuset 56 tools/testing/selftests/x86/sysret_ss_attrs.c CPU_ZERO(&cpuset); cpuset 57 tools/testing/selftests/x86/sysret_ss_attrs.c CPU_SET(0, &cpuset); cpuset 58 tools/testing/selftests/x86/sysret_ss_attrs.c if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) cpuset 139 tools/testing/selftests/x86/test_vdso.c cpu_set_t cpuset; cpuset 140 tools/testing/selftests/x86/test_vdso.c CPU_ZERO(&cpuset); cpuset 141 tools/testing/selftests/x86/test_vdso.c CPU_SET(cpu, &cpuset); cpuset 142 tools/testing/selftests/x86/test_vdso.c if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) cpuset 318 tools/testing/selftests/x86/test_vsyscall.c cpu_set_t cpuset; cpuset 319 tools/testing/selftests/x86/test_vsyscall.c CPU_ZERO(&cpuset); cpuset 320 tools/testing/selftests/x86/test_vsyscall.c CPU_SET(cpu, &cpuset); cpuset 321 tools/testing/selftests/x86/test_vsyscall.c if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) { cpuset 78 tools/virtio/ringtest/main.c cpu_set_t cpuset; cpuset 93 tools/virtio/ringtest/main.c CPU_ZERO(&cpuset); cpuset 94 tools/virtio/ringtest/main.c CPU_SET(cpu, &cpuset); cpuset 96 tools/virtio/ringtest/main.c ret = pthread_setaffinity_np(self, sizeof(cpu_set_t), &cpuset);