Home
last modified time | relevance | path

Searched refs:adjustment (Results 1 – 1 of 1) sorted by relevance

/kernel/locking/
Drwsem.c424 long oldcount, woken = 0, adjustment = 0; in rwsem_mark_wake() local
465 adjustment = RWSEM_READER_BIAS; in rwsem_mark_wake()
466 oldcount = atomic_long_fetch_add(adjustment, &sem->count); in rwsem_mark_wake()
475 adjustment -= RWSEM_FLAG_HANDOFF; in rwsem_mark_wake()
481 atomic_long_add(-adjustment, &sem->count); in rwsem_mark_wake()
532 adjustment = woken * RWSEM_READER_BIAS - adjustment; in rwsem_mark_wake()
541 adjustment -= RWSEM_FLAG_WAITERS; in rwsem_mark_wake()
543 adjustment -= RWSEM_FLAG_HANDOFF; in rwsem_mark_wake()
550 adjustment -= RWSEM_FLAG_HANDOFF; in rwsem_mark_wake()
553 if (adjustment) in rwsem_mark_wake()
[all …]