Lines Matching refs:new
616 long count, new; in rwsem_try_write_lock() local
634 new = count; in rwsem_try_write_lock()
646 new |= RWSEM_FLAG_HANDOFF; in rwsem_try_write_lock()
648 new |= RWSEM_WRITER_LOCKED; in rwsem_try_write_lock()
649 new &= ~RWSEM_FLAG_HANDOFF; in rwsem_try_write_lock()
652 new &= ~RWSEM_FLAG_WAITERS; in rwsem_try_write_lock()
654 } while (!atomic_long_try_cmpxchg_acquire(&sem->count, &count, new)); in rwsem_try_write_lock()
661 if (new & RWSEM_FLAG_HANDOFF) { in rwsem_try_write_lock()
760 struct task_struct *new, *owner; in rwsem_spin_on_owner() local
783 new = rwsem_owner_flags(sem, &new_flags); in rwsem_spin_on_owner()
784 if ((new != owner) || (new_flags != flags)) { in rwsem_spin_on_owner()
785 state = rwsem_owner_state(new, new_flags); in rwsem_spin_on_owner()