Lines Matching defs:cpu
57 #include <machine/cpu.h>
292 * be bound to the specificed CPU. Using a cpu id of NOCPU unbinds
296 intr_event_bind(struct intr_event *ie, u_char cpu)
303 if (cpu != NOCPU && CPU_ABSENT(cpu))
320 if (cpu == NOCPU)
323 CPU_SET(cpu, &mask);
331 error = ie->ie_assign_cpu(ie->ie_source, cpu);
339 CPU_SET(cpu, &mask);
349 ie->ie_cpu = cpu;
375 u_char cpu;
379 cpu = NOCPU;
382 * only one cpu is in the set.
388 if (cpu != NOCPU)
390 cpu = (u_char)n;
396 return (intr_event_bind(ie, cpu));
1092 swi_assign_cpu(void *arg, u_char cpu)