Lines Matching refs:MAX_NESTED_LOCKS
54 #define MAX_NESTED_LOCKS 8
473 static struct mutex torture_nested_mutexes[MAX_NESTED_LOCKS];
474 static struct lock_class_key nested_mutex_keys[MAX_NESTED_LOCKS];
480 for (i = 0; i < MAX_NESTED_LOCKS; i++)
642 static struct rt_mutex torture_nested_rtmutexes[MAX_NESTED_LOCKS];
643 static struct lock_class_key nested_rtmutex_keys[MAX_NESTED_LOCKS];
649 for (i = 0; i < MAX_NESTED_LOCKS; i++)
1323 /* cap nested_locks to MAX_NESTED_LOCKS */
1324 if (nested_locks > MAX_NESTED_LOCKS)
1325 nested_locks = MAX_NESTED_LOCKS;