Lines Matching refs:LOCK_LEVEL
66 #define SPIN_LOCK(pl) ((pl) > ipltospl(LOCK_LEVEL))
90 * LOCK_LEVEL => The highest level at which one may block (and thus the
99 * - CLOCK_LEVEL must be less than or equal to LOCK_LEVEL
100 * - LOCK_LEVEL must be less than DISP_LEVEL
101 * - DISP_LEVEL should be as close to LOCK_LEVEL as possible
103 * Note that LOCK_LEVEL and CLOCK_LEVEL have historically always been equal;
111 #define LOCK_LEVEL 10
112 #define DISP_LEVEL (LOCK_LEVEL + 1)
114 #define HIGH_LEVELS (PIL_MAX - LOCK_LEVEL)
119 * ((((1 << PIL_MAX + 1) - 1) >> LOCK_LEVEL + 1) << LOCK_LEVEL + 1)