Searched refs:ntries (Results 1 – 2 of 2) sorted by relevance
278 int ntries = 0; in __spin_lock() local282 if (smp_machine && ntries++ < MAX_BUSY_LOOPS) in __spin_lock()291 int ntries = 0; in __read_lock() local305 if (smp_machine && ntries++ < MAX_BUSY_LOOPS) in __read_lock()314 int ntries = 0; in __write_lock() local328 if (smp_machine && ntries++ < MAX_BUSY_LOOPS) in __write_lock()
283 static int ntries = MAX_OPEN_TRIES; in open_continue() local293 if (!--ntries) { in open_continue()296 ntries = MAX_OPEN_TRIES; in open_continue()