Lines Matching refs:count
51 * count is updated. If all attempts to call shadow_migrate_one() fail with
52 * ESHADOW_MIGRATE_BUSY, and the generation count hasn't changed, then the
53 * worker thread will go to sleep and wait for the generation count to change.
70 uint64_t sc_gen; /* generation count */
74 uint32_t sc_nworkers; /* total count of worker threads */
180 uint32_t count, size;
187 gen = count = 0;
226 count = 0;
275 count = 0;
315 * If the migration succeeded, up the generation count
320 count = 0;
332 if (gen == scp->sc_gen && ++count == size) {
337 count = 0;
343 count = 0;
356 count = 0;
488 * for the nworker count to go to zero when we actually want to shut
920 * thread count.