Searched defs:LOCK_LEVEL (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/sparc/sys/
H A Dmachlock.h61 #define SPIN_LOCK(pl) ((pl) > ipltospl(LOCK_LEVEL))
83 * LOCK_LEVEL => The highest level at which one may block (and thus the
92 * - CLOCK_LEVEL must be less than or equal to LOCK_LEVEL
93 * - LOCK_LEVEL must be less than DISP_LEVEL
94 * - DISP_LEVEL should be as close to LOCK_LEVEL as possible
96 * Note that LOCK_LEVEL and CLOCK_LEVEL have historically always been equal;
101 #define LOCK_LEVEL 10 macro
102 #define DISP_LEVEL (LOCK_LEVEL + 1)
104 #define HIGH_LEVELS (PIL_MAX - LOCK_LEVEL)
/illumos-gate/usr/src/uts/intel/sys/
H A Dmachlock.h65 #define SPIN_LOCK(pl) ((pl) > ipltospl(LOCK_LEVEL))
89 * LOCK_LEVEL => The highest level at which one may block (and thus the
98 * - CLOCK_LEVEL must be less than or equal to LOCK_LEVEL
99 * - LOCK_LEVEL must be less than DISP_LEVEL
100 * - DISP_LEVEL should be as close to LOCK_LEVEL as possible
102 * Note that LOCK_LEVEL and CLOCK_LEVEL have historically always been equal;
110 #define LOCK_LEVEL 10 macro
111 #define DISP_LEVEL (LOCK_LEVEL + 1)
113 #define HIGH_LEVELS (PIL_MAX - LOCK_LEVEL)
118 * ((((1 << PIL_MAX + 1) - 1) >> LOCK_LEVEL
[all...]

Completed in 153 milliseconds