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

/illumos-gate/usr/src/uts/common/os/
H A Dmutex.c254 /* "tunables" for per-platform backoff constants. */
266 /* calculate the backoff interval */
268 default_lock_backoff(uint_t backoff) argument
270 uint_t cap; /* backoff cap calculated */
272 if (backoff == 0) {
273 backoff = mutex_backoff_base;
275 return (backoff);
285 * cap-factor). Maximum backoff is set to this value, and
286 * actual backoff is a random number from 0 to the current max.
293 /* calculate new backoff valu
309 default_lock_delay(uint_t backoff) argument
351 uint_t backoff = 0; /* current backoff */ local
650 uint_t backoff = 0; /* current backoff */ local
684 uint_t backoff = 0; /* current backoff */ local
[all...]
H A Drwlock.c282 uint_t backoff = 0; local
303 backoff = rw_lock_backoff(backoff);
304 rw_lock_delay(backoff);
306 backoff = 0;
417 uint_t backoff = 0; local
448 backoff = rw_lock_backoff(backoff);
449 rw_lock_delay(backoff);
451 backoff
540 uint_t backoff = 0; local
[all...]
H A Ddumpsubr.c1621 uint_t backoff = 0; local
1626 backoff = mutex_lock_backoff(0);
1629 backoff = mutex_lock_backoff(backoff);
1631 mutex_lock_delay(backoff);
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgweb.h38 /* shortest backoff delay possible (in seconds) */
41 /* how much to increase backoff time after each failure */
44 /* Maximum amount of backoff for a heavy network or flaky server */
121 extern void backoff(void);
H A Dpkgweb.c148 /* current network backoff wait period */
401 backoff();
408 backoff();
414 backoff();
432 backoff();
439 backoff();
445 backoff();
468 backoff();
475 backoff();
481 backoff();
3014 backoff() function
3017 int backoff; local
[all...]
/illumos-gate/usr/src/uts/sun4u/opl/os/
H A Dopl.c107 * OPL_BOFF_MAX_SCALE - scaling factor for max backoff based on active cpus
1058 plat_lock_delay(uint_t backoff) argument
1069 * but is too large of granularity for the initial backoff.
1072 if (backoff < 100) {
1074 * If desired backoff is long enough,
1077 for (cnt = backoff;
1083 * spin for small remainder of backoff
1089 /* backoff is large. Fill it by sleeping */
1091 cnt = backoff / OPL_BOFF_SLEEP;
/illumos-gate/usr/src/common/atomic/sparcv9/
H A Datomic.s33 * to enable exponential backoff. No definition means backoff is
34 * not desired i.e. backoff should be disabled.
36 * value for backoff limit. In the kernel, processors scale this
69 * delay routine for atomic backoff. For CPUs that ; \
88 * and also scale the backoff limit w.r.t. the number of cpus.
89 * For cas failures, we reset the backoff value to 1 if the cas
128 * backoff val is initialized to 1.
138 #define ATOMIC_BACKOFF_BRANCH(cr, backoff, loop) \
139 bne,a,pn cr, backoff
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dfdc.c2827 int backoff; local
2941 backoff = csb->csb_npcyl + 1;
2943 backoff = csb->csb_npcyl - 1;
2944 (void) fdcseek(fcp, csb->csb_cmd[1], backoff);
2952 case FXS_RESEEK: /* seek to backoff-cyl complete */
/illumos-gate/usr/src/uts/common/rpc/
H A Dclnt_clts.c446 #define backoff(tim) (((tim) < MAXTIMO) ? dobackoff(tim) : (tim)) macro
959 timout = backoff(timout);
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_subr.c1208 #define backoff(tim) (((tim) < MAXTIMO) ? dobackoff(tim) : (tim)) macro
1445 timeo = backoff(timeo);
H A Dnfs_subr.c762 #define backoff(tim) (((tim) < MAXTIMO) ? dobackoff(tim) : (tim)) macro
1233 timeo = backoff(timeo);
1821 timeo = backoff(timeo);

Completed in 157 milliseconds