Lines Matching defs:sum
426 unsigned long sum = 0;
431 sum += atomic_long_read(&cpuc->srcu_lock_count[idx]);
433 return sum;
444 unsigned long sum = 0;
449 sum += atomic_long_read(&cpuc->srcu_unlock_count[idx]);
455 return sum;
552 unsigned long sum = 0;
557 sum += atomic_long_read(&cpuc->srcu_lock_count[0]);
558 sum += atomic_long_read(&cpuc->srcu_lock_count[1]);
559 sum -= atomic_long_read(&cpuc->srcu_unlock_count[0]);
560 sum -= atomic_long_read(&cpuc->srcu_unlock_count[1]);
562 return sum;
1108 * This sum-equality check and ordering also ensures that if
1114 * been a sum mismatch and this code would not be reached.