RWSEM_ACTIVE_BIAS 64 include/asm-x86/rwsem.h #define RWSEM_ACTIVE_READ_BIAS RWSEM_ACTIVE_BIAS RWSEM_ACTIVE_BIAS 65 include/asm-x86/rwsem.h #define RWSEM_ACTIVE_WRITE_BIAS (RWSEM_WAITING_BIAS + RWSEM_ACTIVE_BIAS) RWSEM_ACTIVE_BIAS 30 include/asm-xtensa/rwsem.h #define RWSEM_ACTIVE_READ_BIAS RWSEM_ACTIVE_BIAS RWSEM_ACTIVE_BIAS 31 include/asm-xtensa/rwsem.h #define RWSEM_ACTIVE_WRITE_BIAS (RWSEM_WAITING_BIAS + RWSEM_ACTIVE_BIAS) RWSEM_ACTIVE_BIAS 64 lib/rwsem.c oldcount = rwsem_atomic_update(RWSEM_ACTIVE_BIAS, sem) RWSEM_ACTIVE_BIAS 65 lib/rwsem.c - RWSEM_ACTIVE_BIAS; RWSEM_ACTIVE_BIAS 115 lib/rwsem.c woken *= RWSEM_ACTIVE_BIAS - RWSEM_WAITING_BIAS; RWSEM_ACTIVE_BIAS 118 lib/rwsem.c woken -= RWSEM_ACTIVE_BIAS; RWSEM_ACTIVE_BIAS 141 lib/rwsem.c if (rwsem_atomic_update(-RWSEM_ACTIVE_BIAS, sem) != 0) RWSEM_ACTIVE_BIAS 197 lib/rwsem.c RWSEM_WAITING_BIAS - RWSEM_ACTIVE_BIAS); RWSEM_ACTIVE_BIAS 210 lib/rwsem.c rwsem_down_failed_common(sem, &waiter, -RWSEM_ACTIVE_BIAS);