Searched refs:backoff (Results 1 - 20 of 20) sorted by relevance

/freebsd-11-stable/sys/contrib/ck/include/spinlock/
H A Dticket.h125 ck_backoff_t backoff; local
139 backoff = (request - position) & CK_SPINLOCK_TICKET_MASK;
140 backoff <<= c;
141 ck_backoff_eb(&backoff);
244 ck_backoff_t backoff; local
254 backoff = request - position;
255 backoff <<= c;
263 ck_backoff_eb(&backoff);
H A Dfas.h92 ck_backoff_t backoff = CK_BACKOFF_INITIALIZER; local
95 ck_backoff_eb(&backoff);
H A Ddec.h106 ck_backoff_t backoff = CK_BACKOFF_INITIALIZER; local
115 ck_backoff_eb(&backoff);
H A Dcas.h92 ck_backoff_t backoff = CK_BACKOFF_INITIALIZER; local
95 ck_backoff_eb(&backoff);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_mutex.cpp234 for (Backoff backoff; backoff.Do();) {
240 StatInc(cur_thread(), stat_type_, backoff.Contention());
264 for (Backoff backoff; backoff.Do();) {
268 StatInc(cur_thread(), stat_type_, backoff.Contention());
/freebsd-11-stable/contrib/dma/
H A Ddma.c318 unsigned int backoff = MIN_RETRY, slept; local
350 for (slept = 0; slept < backoff;) {
353 backoff = MIN_RETRY;
357 if (slept >= backoff) {
358 /* pick the next backoff between [1.5, 2.5) times backoff */
359 backoff = backoff + backoff / 2 + random() % backoff;
[all...]
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_multicast.c92 mcast->backoff = 1;
355 mcast->backoff = 1;
382 mcast->backoff *= 2;
383 if (mcast->backoff > IPOIB_MAX_BACKOFF_SECONDS)
384 mcast->backoff = IPOIB_MAX_BACKOFF_SECONDS;
393 mcast->backoff * HZ);
454 mcast->backoff *= 2;
455 if (mcast->backoff > IPOIB_MAX_BACKOFF_SECONDS)
456 mcast->backoff = IPOIB_MAX_BACKOFF_SECONDS;
462 mcast->backoff * H
[all...]
H A Dipoib.h190 unsigned long backoff; member in struct:ipoib_mcast
/freebsd-11-stable/sys/netinet/cc/
H A Dcc_chd.c110 /* The previous qdly that caused cwnd to backoff. */
151 * Probabilistic backoff function. Returns 1 if we should backoff or 0
237 int backoff, new_measurement, qdly, rtt; local
242 backoff = qdly = 0;
261 backoff = should_backoff(qdly,
270 if (backoff) {
272 * Update shadow_w before delay based backoff.
478 "IU", "Per RTT maximum backoff probability as a percentage");
H A Dcc_cdg.c491 * Using a negative exponential probabilistic backoff so that sources with
493 * probability of backoff over time.
496 * V_cdg_exp_backoff_scale is the average qtrend for the exponential backoff.
501 int backoff, idx, p; local
503 backoff = (qtrend > ((MAXGRAD * V_cdg_exp_backoff_scale) << D_P_E));
505 if (!backoff) {
514 backoff = (random() < p);
517 return (backoff);
599 /* Probabilistic backoff with respect to gradient. */
687 "(on delay-based backoff,
[all...]
/freebsd-11-stable/sys/contrib/ck/src/
H A Dck_hp.c314 ck_backoff_t backoff = CK_BACKOFF_INITIALIZER; local
319 ck_backoff_eb(&backoff);
/freebsd-11-stable/usr.bin/login/
H A Dlogin.c163 int retries, backoff; local
259 * Get "login-retries" & "login-backoff" from default class
268 backoff = login_getcapnum(lc, "login-backoff",
367 * backing off after 'backoff' (3) attempts.
369 if (++cnt > backoff) {
374 sleep((u_int)((cnt - backoff) * 5));
/freebsd-11-stable/contrib/amd/amd/
H A Dmap.c976 int backoff = NumChildren / 4; local
1021 if (!backoff) {
1035 * Just backoff this unmount for
1040 mp->am_ttl = now + backoff + 1;
1052 * bump the backoff counter.
1055 backoff = 2;
/freebsd-11-stable/crypto/heimdal/lib/kadm5/
H A Dipropd_slave.c506 time_t backoff; local
604 krb5_appdefault_time(context, config_name, NULL, "reconnect-backoff",
605 10, &backoff);
731 reconnect += backoff;
/freebsd-11-stable/release/picobsd/tinyware/login/
H A Dpico-login.c154 int rootok, retries, backoff; local
278 * Get "login-retries" & "login-backoff" from default class
287 backoff = login_getcapnum(lc, "login-backoff", DEFAULT_BACKOFF,
382 * but after 'backoff' (3) we start backing off
384 if (++cnt > backoff) {
389 sleep((u_int)((cnt - backoff) * 5));
/freebsd-11-stable/contrib/unbound/services/
H A Dauthzone.h289 /** increasing backoff for failures */
290 time_t backoff; member in struct:auth_nextprobe
H A Dauthzone.c83 /* auth transfer max backoff for failed tranfers and probes */
6594 xfr->task_nextprobe->backoff = 0;
6596 if(xfr->task_nextprobe->backoff == 0)
6597 xfr->task_nextprobe->backoff = 3;
6598 else xfr->task_nextprobe->backoff *= 2;
6599 if(xfr->task_nextprobe->backoff > AUTH_TRANSFER_MAX_BACKOFF)
6600 xfr->task_nextprobe->backoff =
6612 xfr->task_nextprobe->backoff;
6621 xfr->task_nextprobe->backoff;
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_lock.cpp103 kmp_backoff_t backoff = __kmp_spin_backoff_params; local
105 __kmp_spin_backoff(&backoff);
2661 // Runtime's default backoff parameters
2681 // Truncated binary exponential backoff function
H A Dkmp_csupport.cpp983 kmp_backoff_t backoff = __kmp_spin_backoff_params; \
991 __kmp_spin_backoff(&backoff); \
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwm.c4774 iwm_mvm_tt_tx_backoff(struct iwm_softc *sc, uint32_t backoff) argument
4779 .data = { &backoff, },
4784 "failed to change thermal tx backoff\n");

Completed in 366 milliseconds