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_intrdepth != -1) 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.h227 #define splsoftassert(wantipl) splassert(wantipl) argument
229 #define splassert(wantipl) do { /* nothing */ } while (0) argument
230 #define splsoftassert(wantipl) do { /* nothing */ } while (0) argument
/openbsd/sys/arch/arm64/include/
H A Dintr.h215 #define splsoftassert(wantipl) splassert(wantipl) argument
217 #define splassert(wantipl) do { /* nothing */ } while (0) argument
218 #define splsoftassert(wantipl) do { /* nothing */ } 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_intrdepth != 0) in splassert_check()
/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/armv7/include/
H A Dintr.h218 #define splsoftassert(wantipl) splassert(wantipl) argument
220 #define splassert(wantipl) do { /* nothing */ } while (0) argument
221 #define splsoftassert(wantipl) do { /* nothing */ } while (0) argument
/openbsd/sys/arch/sparc64/include/
H A Dpsl.h243 #define splsoftassert(wantipl) splassert(wantipl) argument
245 #define splassert(wantipl) do { /* nada */ } while (0) argument
246 #define splsoftassert(wantipl) do { /* nada */ } while (0) argument
/openbsd/sys/arch/sparc64/sparc64/
H A Dintr.c316 splassert_check(int wantipl, const char *func) in splassert_check() argument
323 if (oldipl < wantipl) { in splassert_check()
324 splassert_fail(wantipl, oldipl, func); in splassert_check()
327 if (ci->ci_handled_intr_level > wantipl) { in splassert_check()
332 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.c375 splassert_check(int wantipl, const char *func) in splassert_check() argument
383 if (oldipl < wantipl) { in splassert_check()
384 splassert_fail(wantipl, oldipl, func); in splassert_check()
389 _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.c693 riscv_splassert_check(int wantipl, const char *func) in riscv_splassert_check() argument
697 if (oldipl < wantipl) { in riscv_splassert_check()
698 splassert_fail(wantipl, oldipl, func); in riscv_splassert_check()
703 riscv_intr_func.setipl(wantipl); in riscv_splassert_check()
706 if (wantipl == IPL_NONE && curcpu()->ci_idepth != 0) { in riscv_splassert_check()
/openbsd/sys/arch/armv7/armv7/
H A Dintr.c797 arm_splassert_check(int wantipl, const char *func) in arm_splassert_check() argument
801 if (oldipl < wantipl) { in arm_splassert_check()
802 splassert_fail(wantipl, oldipl, func); in arm_splassert_check()
807 arm_intr_func.setipl(wantipl); in arm_splassert_check()
810 if (wantipl == IPL_NONE && curcpu()->ci_idepth != 0) { in arm_splassert_check()

12