Lines Matching defs:adjustment
416 long oldcount, woken = 0, adjustment = 0;
457 adjustment = RWSEM_READER_BIAS;
458 oldcount = atomic_long_fetch_add(adjustment, &sem->count);
467 adjustment -= RWSEM_FLAG_HANDOFF;
473 atomic_long_add(-adjustment, &sem->count);
524 adjustment = woken * RWSEM_READER_BIAS - adjustment;
533 adjustment -= RWSEM_FLAG_WAITERS;
535 adjustment -= RWSEM_FLAG_HANDOFF;
542 adjustment -= RWSEM_FLAG_HANDOFF;
545 if (adjustment)
546 atomic_long_add(adjustment, &sem->count);
998 long adjustment = -RWSEM_READER_BIAS;
1056 adjustment += RWSEM_FLAG_WAITERS;
1061 count = atomic_long_add_return(adjustment, &sem->count);