Home
last modified time | relevance | path

Searched refs:MAX_NESTED_LOCKS (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/locking/
H A Dlocktorture.c52 #define MAX_NESTED_LOCKS 8 macro
424 static struct mutex torture_nested_mutexes[MAX_NESTED_LOCKS];
425 static struct lock_class_key nested_mutex_keys[MAX_NESTED_LOCKS];
431 for (i = 0; i < MAX_NESTED_LOCKS; i++) in torture_mutex_init()
596 static struct rt_mutex torture_nested_rtmutexes[MAX_NESTED_LOCKS];
597 static struct lock_class_key nested_rtmutex_keys[MAX_NESTED_LOCKS];
603 for (i = 0; i < MAX_NESTED_LOCKS; i++) in torture_rtmutex_init()
1218 if (nested_locks > MAX_NESTED_LOCKS) in lock_torture_init()
1219 nested_locks = MAX_NESTED_LOCKS; in lock_torture_init()