RWSEM_FLAG_HANDOFF 166 kernel/locking/rwsem.c RWSEM_FLAG_HANDOFF|RWSEM_FLAG_READFAIL) RWSEM_FLAG_HANDOFF 455 kernel/locking/rwsem.c if (!(oldcount & RWSEM_FLAG_HANDOFF) && RWSEM_FLAG_HANDOFF 457 kernel/locking/rwsem.c adjustment -= RWSEM_FLAG_HANDOFF; RWSEM_FLAG_HANDOFF 527 kernel/locking/rwsem.c if (woken && (atomic_long_read(&sem->count) & RWSEM_FLAG_HANDOFF)) RWSEM_FLAG_HANDOFF 528 kernel/locking/rwsem.c adjustment -= RWSEM_FLAG_HANDOFF; RWSEM_FLAG_HANDOFF 572 kernel/locking/rwsem.c bool has_handoff = !!(count & RWSEM_FLAG_HANDOFF); RWSEM_FLAG_HANDOFF 583 kernel/locking/rwsem.c new |= RWSEM_FLAG_HANDOFF; RWSEM_FLAG_HANDOFF 586 kernel/locking/rwsem.c new &= ~RWSEM_FLAG_HANDOFF; RWSEM_FLAG_HANDOFF 597 kernel/locking/rwsem.c if (new & RWSEM_FLAG_HANDOFF) RWSEM_FLAG_HANDOFF 614 kernel/locking/rwsem.c if (count & (RWSEM_WRITER_MASK | RWSEM_FLAG_HANDOFF)) RWSEM_FLAG_HANDOFF 618 kernel/locking/rwsem.c if (!(count & (RWSEM_WRITER_MASK | RWSEM_FLAG_HANDOFF))) { RWSEM_FLAG_HANDOFF 636 kernel/locking/rwsem.c while (!(count & (RWSEM_LOCK_MASK|RWSEM_FLAG_HANDOFF))) { RWSEM_FLAG_HANDOFF 1052 kernel/locking/rwsem.c (RWSEM_WRITER_MASK | RWSEM_FLAG_HANDOFF))) { RWSEM_FLAG_HANDOFF 1113 kernel/locking/rwsem.c atomic_long_andnot(RWSEM_FLAG_WAITERS|RWSEM_FLAG_HANDOFF, RWSEM_FLAG_HANDOFF 1284 kernel/locking/rwsem.c atomic_long_add(-RWSEM_FLAG_HANDOFF, &sem->count);