Lines Matching refs:locklevel
653 int locklevel; member
851 (((thrd)->locklevel > 0) || \
868 if ((thrd)->locklevel < MAX_THR_LOCKLEVEL) { \
870 (thrd)->locklevel++; \
872 &(thrd)->lockusers[(thrd)->locklevel - 1], \
880 if ((thrd)->locklevel > 0) { \
882 &(thrd)->lockusers[(thrd)->locklevel - 1]); \
883 (thrd)->locklevel--; \
885 if ((thrd)->locklevel == 0) \
892 if ((thrd)->locklevel > 0) \
894 &(thrd)->lockusers[(thrd)->locklevel - 1], 1); \
899 if ((thrd)->locklevel > 0) \
901 &(thrd)->lockusers[(thrd)->locklevel - 1], 0); \
965 (curthr)->critical[(curthr)->locklevel] = _kse_critical_enter(); \
966 (curthr)->locklevel++; \
972 (curthr)->locklevel--; \
973 _kse_critical_leave((curthr)->critical[(curthr)->locklevel]); \