Lines Matching refs:new_bit

2127 static int exclusive_bit(int new_bit)  in exclusive_bit()  argument
2129 int state = new_bit & LOCK_USAGE_STATE_MASK; in exclusive_bit()
2130 int dir = new_bit & LOCK_USAGE_DIR_MASK; in exclusive_bit()
3048 enum lock_usage_bit new_bit);
3069 enum lock_usage_bit prev_bit, enum lock_usage_bit new_bit) in print_usage_bug() argument
3081 usage_str[prev_bit], usage_str[new_bit]); in print_usage_bug()
3109 enum lock_usage_bit new_bit, enum lock_usage_bit bad_bit) in valid_state() argument
3112 print_usage_bug(curr, this, bad_bit, new_bit); in valid_state()
3289 enum lock_usage_bit new_bit) in mark_lock_irq() argument
3291 int excl_bit = exclusive_bit(new_bit); in mark_lock_irq()
3292 int read = new_bit & LOCK_USAGE_READ_MASK; in mark_lock_irq()
3293 int dir = new_bit & LOCK_USAGE_DIR_MASK; in mark_lock_irq()
3309 if (!valid_state(curr, this, new_bit, excl_bit)) in mark_lock_irq()
3317 !usage(curr, this, excl_bit, state_name(new_bit & ~LOCK_USAGE_READ_MASK))) in mark_lock_irq()
3324 if (!valid_state(curr, this, new_bit, excl_bit + LOCK_USAGE_READ_MASK)) in mark_lock_irq()
3329 state_name(new_bit + LOCK_USAGE_READ_MASK))) in mark_lock_irq()
3333 if (state_verbose(new_bit, hlock_class(this))) in mark_lock_irq()
3630 enum lock_usage_bit new_bit) in mark_lock() argument
3632 unsigned int new_mask = 1 << new_bit, ret = 1; in mark_lock()
3634 if (new_bit >= LOCK_USAGE_STATES) { in mark_lock()
3658 if (!(hlock_class(this)->usage_traces[new_bit] = save_trace())) in mark_lock()
3661 switch (new_bit) { in mark_lock()
3666 ret = mark_lock_irq(curr, this, new_bit); in mark_lock()
3677 printk("\nmarked lock as {%s}:\n", usage_str[new_bit]); in mark_lock()