Lines Matching refs:unlikely

678 	if (unlikely(!lockdep_initialized)) {  in look_up_lock_class()
686 if (unlikely(subclass >= MAX_LOCKDEP_SUBCLASSES)) { in look_up_lock_class()
700 if (unlikely(!lock->key)) in look_up_lock_class()
1852 if (unlikely(!ret)) in check_prev_add()
1854 else if (unlikely(ret < 0)) in check_prev_add()
2066 if (unlikely(nr_lock_chains >= MAX_LOCKDEP_CHAINS)) { in lookup_chain_cache()
2149 if (unlikely(!debug_locks)) in validate_chain()
2279 if (unlikely(hlock_class(this)->usage_mask & (1 << bad_bit))) in valid_state()
2577 if (unlikely(!debug_locks || current->lockdep_recursion)) in trace_hardirqs_on_caller()
2580 if (unlikely(current->hardirqs_enabled)) { in trace_hardirqs_on_caller()
2601 if (DEBUG_LOCKS_WARN_ON(unlikely(early_boot_irqs_disabled))) in trace_hardirqs_on_caller()
2632 if (unlikely(!debug_locks || current->lockdep_recursion)) in trace_hardirqs_off_caller()
2668 if (unlikely(!debug_locks || current->lockdep_recursion)) in trace_softirqs_on()
2708 if (unlikely(!debug_locks || current->lockdep_recursion)) in trace_softirqs_off()
2737 if (unlikely(!debug_locks)) in __lockdep_trace_alloc()
2767 if (unlikely(current->lockdep_recursion)) in lockdep_trace_alloc()
2915 if (unlikely(hlock_class(this)->usage_mask & new_mask)) { in mark_lock()
3007 if (unlikely(!debug_locks)) in lockdep_init_map()
3081 if (unlikely(!debug_locks)) in __lock_acquire()
3100 if (unlikely(!class)) { in __lock_acquire()
3213 if (unlikely(!debug_locks)) in __lock_acquire()
3216 if (unlikely(curr->lockdep_depth >= MAX_LOCK_DEPTH)) { in __lock_acquire()
3229 if (unlikely(curr->lockdep_depth > max_lockdep_depth)) in __lock_acquire()
3374 if (unlikely(!debug_locks)) in __lock_release()
3470 if (unlikely(!debug_locks)) in __lock_pin_lock()
3490 if (unlikely(!debug_locks)) in __lock_unpin_lock()
3554 if (unlikely(current->lockdep_recursion)) in lock_set_class()
3577 if (unlikely(current->lockdep_recursion)) in lock_acquire()
3597 if (unlikely(current->lockdep_recursion)) in lock_release()
3616 if (unlikely(current->lockdep_recursion)) in lock_is_held()
3635 if (unlikely(current->lockdep_recursion)) in lock_pin_lock()
3652 if (unlikely(current->lockdep_recursion)) in lock_unpin_lock()
3822 if (unlikely(!lock_stat)) in lock_contended()
3825 if (unlikely(current->lockdep_recursion)) in lock_contended()
3842 if (unlikely(!lock_stat)) in lock_acquired()
3845 if (unlikely(current->lockdep_recursion)) in lock_acquired()
3998 if (unlikely(match)) { in lockdep_reset_lock()
4116 if (unlikely(!debug_locks)) in debug_check_no_locks_freed()
4154 if (unlikely(current->lockdep_depth > 0)) in debug_check_no_locks_held()
4166 if (unlikely(!debug_locks)) { in debug_show_all_locks()
4225 if (unlikely(!debug_locks)) { in debug_show_held_locks()
4237 if (unlikely(curr->lockdep_depth)) { in lockdep_sys_exit()