Lines Matching refs:read
268 if (hlock->read) in lock_release_holdtime()
1771 struct lockdep_map *next_instance, int read) in check_deadlock() argument
1790 if ((read == 2) && prev->read) in check_deadlock()
1872 if (next->read == 2 || prev->read == 2) in check_prev_add()
1961 if (hlock->read != 2 && hlock->check) { in check_prevs_add()
2132 int ret = check_deadlock(curr, hlock, lock, hlock->read); in validate_chain()
2142 hlock->read = 2; in validate_chain()
2465 int read = new_bit & 1; in mark_lock_irq() local
2489 if ((!read || !dir || STRICT_READ_CHECKS) && in mark_lock_irq()
2496 if (!read) { in mark_lock_irq()
2532 if (hlock->read) in mark_held_locks()
2789 if (hlock->read) { in mark_irqflags()
2808 if (hlock->read) { in mark_irqflags()
2834 if (hlock->read) { in mark_irqflags()
3073 int trylock, int read, int check, int hardirqs_off, in __lock_acquire() argument
3163 hlock->read = read; in __lock_acquire()
3358 hlock->read, hlock->check, hlock->hardirqs_off, in __lock_set_class()
3448 hlock->read, hlock->check, hlock->hardirqs_off, in __lock_release()
3586 int trylock, int read, int check, in lock_acquire() argument
3598 trace_lock_acquire(lock, subclass, trylock, read, check, nest_lock, ip); in lock_acquire()
3599 __lock_acquire(lock, subclass, trylock, read, check, in lock_acquire()
3767 stats->bounces[bounce_contended + !!hlock->read]++; in __lock_contended()
3819 if (hlock->read) in __lock_acquired()
3825 stats->bounces[bounce_acquired + !!hlock->read]++; in __lock_acquired()