Home
last modified time | relevance | path

Searched refs:cur_backoff (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/uts/common/os/
H A Dmutex.c312 uint_t cur_backoff; /* calculated backoff */ in default_lock_delay() local
321 cur_backoff = (uint_t)(rnd % (backoff - mutex_backoff_base + 1)) + in default_lock_delay()
328 for (backctr = cur_backoff; backctr; backctr--) { in default_lock_delay()
/titanic_50/usr/src/lib/libpkg/common/
H A Dpkgweb.c149 static int cur_backoff = 0; variable
3027 backoff = (int)(drand48() * (double)cur_backoff); in backoff()
3029 if (cur_backoff < MAX_BACKOFF) { in backoff()
3035 cur_backoff *= BACKOFF_FACTOR; in backoff()
3050 cur_backoff = MIN_BACKOFF; in reset_backoff()