Home
last modified time | relevance | path

Searched refs:wantipl (Results 1 – 25 of 31) sorted by relevance

12

/openbsd/sys/arch/powerpc64/include/
H A Dintr.h80 #define splsoftassert(wantipl) splassert(wantipl) argument
82 #define splassert(wantipl) do { /* nothing */ } while (0) argument
83 #define splsoftassert(wantipl) do { /* nothing */ } while (0) argument
/openbsd/sys/arch/powerpc/powerpc/
H A Dintr.c164 splassert_check(int wantipl, const char *func) in splassert_check() argument
168 if (ci->ci_cpl < wantipl) in splassert_check()
169 splassert_fail(wantipl, ci->ci_cpl, func); in splassert_check()
171 if (wantipl == IPL_NONE && ci->ci_idepth != 0) in splassert_check()
/openbsd/sys/arch/powerpc/include/
H A Dintr.h105 #define splsoftassert(wantipl) splassert(wantipl) argument
107 #define splassert(wantipl) do { /* nada */ } while (0) argument
108 #define splsoftassert(wantipl) do { /* nada */ } while (0) argument
/openbsd/sys/arch/i386/include/
H A Dintr.h79 #define splsoftassert(wantipl) splassert(wantipl) argument
81 #define splassert(wantipl) do { /* nada */ } while (0) argument
82 #define splsoftassert(wantipl) do { /* nada */ } while (0) argument
/openbsd/sys/arch/m88k/include/
H A Dintr.h87 #define splsoftassert(wantipl) splassert(IPL_SOFTINT) argument
89 #define splassert(wantipl) do { /* nothing */ } while (0) argument
90 #define splsoftassert(wantipl) do { /* nothing */ } while (0) argument
/openbsd/sys/arch/riscv64/include/
H A Dintr.h222 #define splsoftassert(wantipl) splassert(wantipl) argument
224 #define splassert(wantipl) do { /* nothing */ } while (0) argument
225 #define splsoftassert(wantipl) do { /* nothing */ } while (0) argument
/openbsd/sys/arch/arm64/include/
H A Dintr.h214 #define splsoftassert(wantipl) splassert(wantipl) argument
216 #define splassert(wantipl) do { /* nothing */ } while (0) argument
217 #define splsoftassert(wantipl) do { /* nothing */ } while (0) argument
/openbsd/sys/arch/amd64/include/
H A Dintr.h167 #define splsoftassert(wantipl) splassert(wantipl) argument
169 #define splassert(wantipl) do { /* nada */ } while (0) argument
170 #define splsoftassert(wantipl) do { /* nada */ } while (0) argument
/openbsd/sys/arch/mips64/mips64/
H A Dinterrupt.c250 splassert_check(int wantipl, const char *func) in splassert_check() argument
254 if (ci->ci_ipl < wantipl) in splassert_check()
255 splassert_fail(wantipl, ci->ci_ipl, func); in splassert_check()
257 if (wantipl == IPL_NONE && ci->ci_idepth != 0) in splassert_check()
/openbsd/sys/arch/armv7/include/
H A Dintr.h217 #define splsoftassert(wantipl) splassert(wantipl) argument
219 #define splassert(wantipl) do { /* nothing */ } while (0) argument
220 #define splsoftassert(wantipl) do { /* nothing */ } while (0) argument
/openbsd/sys/arch/sparc64/include/
H A Dpsl.h220 #define splsoftassert(wantipl) splassert(wantipl) argument
222 #define splassert(wantipl) do { /* nada */ } while (0) argument
223 #define splsoftassert(wantipl) do { /* nada */ } while (0) argument
/openbsd/sys/arch/sparc64/sparc64/
H A Dintr.c319 splassert_check(int wantipl, const char *func) in splassert_check() argument
326 if (oldipl < wantipl) { in splassert_check()
327 splassert_fail(wantipl, oldipl, func); in splassert_check()
330 if (ci->ci_handled_intr_level > wantipl) { in splassert_check()
335 splassert_fail(wantipl, ci->ci_handled_intr_level, func); in splassert_check()
/openbsd/sys/arch/powerpc64/powerpc64/
H A Dintr.c156 splassert_check(int wantipl, const char *func) in splassert_check() argument
160 if (oldipl < wantipl) { in splassert_check()
161 splassert_fail(wantipl, oldipl, func); in splassert_check()
166 (*_setipl)(wantipl); in splassert_check()
169 if (wantipl == IPL_NONE && curcpu()->ci_idepth != 0) { in splassert_check()
/openbsd/sys/arch/alpha/include/
H A Dintr.h163 #define splsoftassert(wantipl) splassert(IPL_SOFTINT) argument
165 #define splassert(wantipl) do { /* nothing */ } while (0) argument
166 #define splsoftassert(wantipl) do { /* nothing */ } while (0) argument
/openbsd/sys/arch/landisk/include/
H A Dintr.h84 #define splassert(wantipl) do { /* nothing yet */ } while (0) argument
85 #define splsoftassert(wantipl) do { /* nothing yet */ } while (0) argument
/openbsd/sys/arch/landisk/landisk/
H A Dintr.c378 splassert_check(int wantipl, const char *func) in splassert_check() argument
386 if (oldipl < wantipl) { in splassert_check()
387 splassert_fail(wantipl, oldipl, func); in splassert_check()
392 _cpu_intr_raise(wantipl << 4); in splassert_check()
/openbsd/sys/arch/hppa/hppa/
H A Dmutex.c43 __mtx_init(struct mutex *mtx, int wantipl) in __mtx_init() argument
51 mtx->mtx_wantipl = wantipl; in __mtx_init()
H A Dintr.c79 splassert_check(int wantipl, const char *func) in splassert_check() argument
83 if (ci->ci_cpl < wantipl) in splassert_check()
84 splassert_fail(wantipl, ci->ci_cpl, func); in splassert_check()
/openbsd/sys/arch/loongson/include/
H A Dintr.h144 #define splsoftassert(wantipl) splassert(wantipl) argument
/openbsd/sys/arch/octeon/include/
H A Dintr.h143 #define splsoftassert(wantipl) splassert(wantipl) argument
/openbsd/sys/dev/pci/drm/include/linux/
H A Dseqlock.h93 seqlock_init(seqlock_t *sl, int wantipl) in seqlock_init() argument
96 mtx_init(&sl->lock, wantipl); in seqlock_init()
/openbsd/sys/arch/m88k/m88k/
H A Dmutex.c45 __mtx_init(struct mutex *mtx, int wantipl) in __mtx_init() argument
49 mtx->mtx_wantipl = wantipl; in __mtx_init()
/openbsd/sys/arch/alpha/alpha/
H A Dinterrupt.c598 splassert_check(int wantipl, const char *func) in splassert_check() argument
609 if (curipl < wantipl) { in splassert_check()
610 splassert_fail(wantipl, curipl, func); in splassert_check()
615 alpha_pal_swpipl(wantipl); in splassert_check()
/openbsd/sys/arch/riscv64/riscv64/
H A Dintr.c698 riscv_splassert_check(int wantipl, const char *func) in riscv_splassert_check() argument
702 if (oldipl < wantipl) { in riscv_splassert_check()
703 splassert_fail(wantipl, oldipl, func); in riscv_splassert_check()
708 riscv_intr_func.setipl(wantipl); in riscv_splassert_check()
711 if (wantipl == IPL_NONE && curcpu()->ci_idepth != 0) { in riscv_splassert_check()
/openbsd/sys/arch/arm64/arm64/
H A Dintr.c778 arm_splassert_check(int wantipl, const char *func) in arm_splassert_check() argument
782 if (oldipl < wantipl) { in arm_splassert_check()
783 splassert_fail(wantipl, oldipl, func); in arm_splassert_check()
788 arm_intr_func.setipl(wantipl); in arm_splassert_check()
791 if (wantipl == IPL_NONE && curcpu()->ci_idepth != 0) { in arm_splassert_check()

12