Lines Matching refs:cp
112 intr_init(cpu_t *cp)
134 cp->cpu_m.poke_cpu_outstanding = B_FALSE;
304 cpu_t *cp = cpu[id];
307 ASSERT(cp != NULL);
311 siron_cpu_inum[cp->cpu_id] = add_softintr(PIL_1,
315 (void) rem_softintr(siron_cpu_inum[cp->cpu_id]);
316 siron_cpu_inum[cp->cpu_id] = 0;
412 cpu_disable_intr(struct cpu *cp)
420 cp->cpu_flags &= ~CPU_ENABLE;
434 cpu_enable_intr(struct cpu *cp)
438 cp->cpu_flags |= CPU_ENABLE;
573 struct cpu *cp;
584 cp = cpu_list;
586 cp->cpu_intr_weight = 0;
587 } while ((cp = cp->cpu_next) != cpu_list);
679 struct cpu *cp;
718 cp = start_cpu = curr_cpu->cpu_next_onln;
722 if ((cp->cpu_flags & CPU_ENABLE) == 0)
727 new_cpu = cp;
730 (cp->cpu_intr_weight < new_cpu->cpu_intr_weight)) {
732 new_cpu = cp;
734 } while ((cp = cp->cpu_next_onln) != start_cpu);
815 struct cpu *cp;
834 cp = cpu[cpuid];
835 cp->cpu_intr_weight -= weight;
836 if (cp->cpu_intr_weight < 0)
837 cp->cpu_intr_weight = 0; /* sanity */