Lines Matching refs:old_ipl

492 	const int old_ipl = ci->ci_cpl;
497 if (ipl == old_ipl)
500 if (__predict_false(ipl > old_ipl)) {
502 __func__, __builtin_return_address(0), old_ipl, ipl);
503 if (old_ipl == IPL_NONE)
519 if (ipl < IPL_VM && old_ipl >= IPL_VM)
529 const int old_ipl = ci->ci_cpl;
534 if (old_ipl < ipl) {
539 if (old_ipl < IPL_VM && ipl >= IPL_VM)
545 __func__, __builtin_return_address(0), old_ipl);
547 } else if (old_ipl > ipl) {
549 __func__, __builtin_return_address(0), old_ipl, ipl);
553 return old_ipl;
817 const int old_ipl = ci->ci_cpl;
835 cpu->cpu_pcpls[ci->ci_idepth] = old_ipl;
839 if (old_ipl == IPL_HIGH
840 || IPL2CTPR(old_ipl) != openpic_read(cpu, OPENPIC_CTPR))
841 panic("%s(%p): old_ipl(%u) == IPL_HIGH(%u) "
842 "|| old_ipl + %u != OPENPIC_CTPR (%u)",
843 __func__, tf, old_ipl, IPL_HIGH,
846 if (old_ipl >= IPL_VM)
847 panic("%s(%p): old_ipl(%u) >= IPL_VM(%u) CTPR=%u",
848 __func__, tf, old_ipl, IPL_VM, openpic_read(cpu, OPENPIC_CTPR));
857 if (IPL2CTPR(old_ipl) != openpic_read(cpu, OPENPIC_CTPR))
858 panic("%s(%p): %d: old_ipl(%u) + %u != OPENPIC_CTPR (%u)",
859 __func__, tf, __LINE__, old_ipl,
872 if (IPL2CTPR(old_ipl) != openpic_read(cpu, OPENPIC_CTPR))
873 panic("%s(%p): %d: old_ipl(%u) + %u != OPENPIC_CTPR (%u)",
874 __func__, tf, __LINE__, old_ipl,
887 if (is->is_ipl <= old_ipl)
888 panic("%s(%p): %s (%u): is->is_ipl (%u) <= old_ipl (%u)\n",
891 is->is_ipl, old_ipl);
892 KASSERT(is->is_ipl > old_ipl);
912 e500_splset(ci, old_ipl); /* restore IPL */
926 if (IPL2CTPR(old_ipl) != openpic_read(cpu, OPENPIC_CTPR))
927 panic("%s(%p): %d: old_ipl(%u) + %u != OPENPIC_CTPR (%u)",
928 __func__, tf, __LINE__, old_ipl,
932 if (IPL2CTPR(old_ipl) != openpic_read(cpu, OPENPIC_CTPR))
933 panic("%s(%p): %d: old_ipl(%u) + %u != OPENPIC_CTPR (%u)",
934 __func__, tf, __LINE__, old_ipl,
946 const u_int softints = ci->ci_data.cpu_softints & (IPL_SOFTMASK << old_ipl);
948 KASSERT(old_ipl < IPL_VM);
950 powerpc_softint(ci, old_ipl, /* deal with them */
952 e500_splset(ci, old_ipl); /* and drop back */
956 KASSERT(ci->ci_cpl == old_ipl);
958 e500_splset(ci, old_ipl); /* and drop back */