Lines Matching defs:c
2 * Copyright (c) 2021 The FreeBSD Foundation
79 check_cpu_switched(int c, cpuset_t *csp, uint64_t *swt, bool init)
84 if (CPU_ISSET(c, csp))
87 pc = cpuid_to_pcpu[c];
89 CPU_SET(c, csp);
102 swt[c] = sw;
103 else if (sw != swt[c])
104 CPU_SET(c, csp);
123 int c, error;
144 CPU_FOREACH(c)
145 check_cpu_switched(c, &cs, swt, first);
162 CPU_FOREACH(c) {
163 td1 = cpuid_to_pcpu[c]->pc_curthread;
167 CPU_SET(c, &cs);