Lines Matching defs:old_ipl

553 	const int old_ipl = ci->ci_cpl;
558 if (ipl == old_ipl)
561 if (__predict_false(ipl > old_ipl)) {
563 __func__, __builtin_return_address(0), old_ipl, ipl);
564 if (old_ipl == IPL_NONE)
582 if (ipl < IPL_VM && old_ipl >= IPL_VM)
592 const int old_ipl = ci->ci_cpl;
597 if (old_ipl < ipl) {
602 if (old_ipl < IPL_VM && ipl >= IPL_VM)
610 __func__, __builtin_return_address(0), old_ipl);
611 } else if (old_ipl > ipl) {
613 __func__, __builtin_return_address(0), old_ipl, ipl);
617 return old_ipl;
940 const int old_ipl = ci->ci_cpl;
958 cpu->cpu_pcpls[ci->ci_idepth] = old_ipl;
962 if (old_ipl == IPL_HIGH
963 || IPL2CTPR(old_ipl) != openpic_read(cpu, OPENPIC_CTPR))
964 panic("%s(%p): old_ipl(%u) == IPL_HIGH(%u) "
965 "|| old_ipl + %u != OPENPIC_CTPR (%u)",
966 __func__, tf, old_ipl, IPL_HIGH,
969 if (old_ipl >= IPL_VM)
970 panic("%s(%p): old_ipl(%u) >= IPL_VM(%u) CTPR=%u",
971 __func__, tf, old_ipl, IPL_VM, openpic_read(cpu, OPENPIC_CTPR));
980 if (IPL2CTPR(old_ipl) != openpic_read(cpu, OPENPIC_CTPR))
981 panic("%s(%p): %d: old_ipl(%u) + %u != OPENPIC_CTPR (%u)",
982 __func__, tf, __LINE__, old_ipl,
993 if (IPL2CTPR(old_ipl) != openpic_read(cpu, OPENPIC_CTPR))
994 panic("%s(%p): %d: old_ipl(%u) + %u != OPENPIC_CTPR (%u)",
995 __func__, tf, __LINE__, old_ipl,
1010 if (is->is_ipl <= old_ipl)
1011 panic("%s(%p): %s (%u): is->is_ipl (%u) <= old_ipl (%u)\n",
1014 is->is_ipl, old_ipl);
1015 KASSERT(is->is_ipl > old_ipl);
1035 e500_splset(ci, old_ipl); /* restore IPL */
1049 if (IPL2CTPR(old_ipl) != openpic_read(cpu, OPENPIC_CTPR))
1050 panic("%s(%p): %d: old_ipl(%u) + %u != OPENPIC_CTPR (%u)",
1051 __func__, tf, __LINE__, old_ipl,
1055 if (IPL2CTPR(old_ipl) != openpic_read(cpu, OPENPIC_CTPR))
1056 panic("%s(%p): %d: old_ipl(%u) + %u != OPENPIC_CTPR (%u)",
1057 __func__, tf, __LINE__, old_ipl,
1069 const u_int softints = ci->ci_data.cpu_softints & (IPL_SOFTMASK << old_ipl);
1071 KASSERT(old_ipl < IPL_VM);
1074 powerpc_softint(ci, old_ipl, /* deal with them */
1077 e500_splset(ci, old_ipl); /* and drop back */
1080 KASSERT(ci->ci_cpl == old_ipl);