Lines Matching refs:completed
38 sp->completed = 0;
135 idx = sp->completed & 0x1;
136 barrier(); /* ensure compiler looks -once- at sp->completed. */
166 idx = sp->completed;
179 if ((sp->completed - idx) >= 2) {
188 * sees the new value of sp->completed will also see any preceding
198 idx = sp->completed & 0x1;
199 sp->completed++;
205 * all srcu_read_lock() calls using the old counters have completed.
219 * for_each_possible_cpu() loop to have completed by this point.
221 * critical sections to have also completed, and the corresponding
251 * Flip the completed counter, and wait for the old count to drain to zero.
271 * Flip the completed counter, and wait for the old count to drain to zero.
289 * srcu_batches_completed - return batches completed.
298 return sp->completed;