Lines Matching defs:sleeptable
217 static struct sleep_table sleeptable;
745 sleeptable.size = size;
746 sleeptable.table = &probabilities[PROB_TABLE_MAX_SIZE - size];
758 mutex_init(&sleeptable.mutex, NULL);
775 mutex_lock(&sleeptable.mutex);
776 if (diff >= (sleeptable.size - 1)) {
777 rval = sleeptable.table[sleeptable.size - 1];
778 sleeptable_resize(sleeptable.size + 1, verbose_sizechange(),
781 rval = sleeptable.table[diff];
783 mutex_unlock(&sleeptable.mutex);