Searched refs:attempts (Results 1 - 25 of 58) sorted by relevance

123

/opensolaris-onvv-gate/usr/src/lib/libnisdb/
H A Dnis_ldap.c68 * 'attempts' counter, and sleeps for 'timeout' seconds.
74 * The value of 'attempts' upon entry determines action as follows:
76 * < 0 Don't change 'attempts', sleep as indicated, return 1
78 * 0 Don't change 'attempts', only sleep if forceSleep is set,
81 * > 0 Decrement 'attempts', sleep as indicated, return 1
89 if (retry->attempts > 0) {
90 retry->attempts -= 1;
91 } else if (retry->attempts == 0 && !forceSleep) {
H A Dnisdb_ldap.h128 /* Keep track of desired number of attempts and timeout */
130 int attempts; member in struct:__anon3796
H A Dnis_parse_ldap_attr.c629 if (config_info->threadCreationErrorTimeout.attempts ==
632 config_info->threadCreationErrorTimeout.attempts = i;
662 if (config_info->dumpErrorTimeout.attempts == NO_VALUE_SET) {
664 config_info->dumpErrorTimeout.attempts = i;
770 if (table_info->retrieveErrorRetry.attempts == NO_VALUE_SET) {
772 table_info->retrieveErrorRetry.attempts = i;
818 if (table_info->storeErrorRetry.attempts == NO_VALUE_SET) {
821 table_info->storeErrorRetry.attempts = i;
858 if (table_info->refreshErrorRetry.attempts == NO_VALUE_SET) {
860 table_info->refreshErrorRetry.attempts
[all...]
H A Dnis_parse_ldap_conf.c1396 if (table_info->retrieveErrorRetry.attempts == NO_VALUE_SET)
1404 if (table_info->storeErrorRetry.attempts == NO_VALUE_SET)
1412 if (table_info->refreshErrorRetry.attempts == NO_VALUE_SET)
1462 if (table_info->retrieveErrorRetry.attempts == NO_VALUE_SET)
1470 if (table_info->storeErrorRetry.attempts == NO_VALUE_SET)
1478 if (table_info->refreshErrorRetry.attempts == NO_VALUE_SET)
1506 if (nis_config->threadCreationErrorTimeout.attempts == NO_VALUE_SET)
1513 if (nis_config->dumpErrorTimeout.attempts == NO_VALUE_SET)
H A Ddb_table.cc246 m->retrieveErrorRetry.attempts =
247 ldapDBTableMapping.retrieveErrorRetry.attempts;
251 m->storeErrorRetry.attempts =
252 ldapDBTableMapping.storeErrorRetry.attempts;
257 m->refreshErrorRetry.attempts =
258 ldapDBTableMapping.refreshErrorRetry.attempts;
H A Dnis_parse_ldap_util.c129 config_info->threadCreationErrorTimeout.attempts = NO_VALUE_SET;
132 config_info->dumpErrorTimeout.attempts = NO_VALUE_SET;
142 table_info->retrieveErrorRetry.attempts = NO_VALUE_SET;
145 table_info->storeErrorRetry.attempts = NO_VALUE_SET;
148 table_info->refreshErrorRetry.attempts = NO_VALUE_SET;
1007 if (config_info->threadCreationErrorTimeout.attempts == NO_VALUE_SET)
1008 config_info->threadCreationErrorTimeout.attempts =
1017 if (config_info->dumpErrorTimeout.attempts == NO_VALUE_SET)
1018 config_info->dumpErrorTimeout.attempts =
1044 if (table_info->retrieveErrorRetry.attempts
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/chxge/com/
H A Dmc4.c66 int attempts = 2; local
70 while (attempts--) {
73 if (attempts)
85 int attempts; local
120 attempts = 100;
124 } while (!(val & MC4_DLL_DONE) && --attempts);
173 attempts = 100;
177 } while ((val & F_BUSY) && --attempts);
308 int attempts = 10; local
314 while ((val & F_BUSY) && attempts
[all...]
H A Dmc3.c198 unsigned int width, fast_asic, attempts; local
247 attempts = 100;
251 } while (!(val & MC3_DLL_DONE) && --attempts);
309 attempts = 100;
313 } while ((val & F_BUSY) && --attempts);
H A Dcommon.h243 int attempts, int delay);
/opensolaris-onvv-gate/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng_entp_setup.c441 int attempts; local
443 for (attempts = 0;
444 (attempts < RNG_MAX_LOGIC_TEST_ATTEMPTS) && rv; attempts++) {
449 cmn_err(CE_WARN, "n2rng: n2rng_logic_test failed %d attempts",
452 } else if (attempts > 1) {
454 "n2rng: n2rng_logic_test failed %d attempts",
455 attempts - 1);
/opensolaris-onvv-gate/usr/src/lib/libc/sparc/gen/
H A Dstrcmp.s54 ! If it is not, it attempts to align it and then checks the
/opensolaris-onvv-gate/usr/src/lib/auditd_plugins/remote/
H A Daudit_remote.c74 /* semi-exponential timeout back off; x .. attempts, y .. timeout */
562 int attempts = 0; local
599 current_host->host->h_name, attempts + 1, retries));
618 attempts++;
631 "retry %d connection %s:%d %s", attempts + 1,
641 ext_error, attempts + 1);
645 if (attempts < retries) {
647 timeout = BOFF_TIMEOUT(attempts, timeout);
657 attempts = 0;
661 if (current_host == start_host && attempts
[all...]
/opensolaris-onvv-gate/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_common.c1162 int restarts, attempts; local
1258 attempts = 0;
1264 if (attempts >= 3)
1266 ++attempts;
1276 attempts = 0;
1282 if (attempts >= 3)
1284 ++attempts;
1300 attempts = 0;
1307 if (attempts >= 3)
1309 ++attempts;
[all...]
/opensolaris-onvv-gate/usr/src/cmd/ssh/sshd/
H A Dauth2-pam.c37 /* Maximum attempts for changing expired password */
202 if (authctxt->method->attempts)
203 authctxt->method->attempts--;
453 method->attempts++;
H A Dauth2-pubkey.c120 authctxt->method->attempts++;
344 method->attempts++;
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/dsvclockd/
H A Dcontainer.c150 unsigned int attempts; local
165 for (attempts = 0; attempts < CN_DESTROY_WAIT; attempts++) {
/opensolaris-onvv-gate/usr/src/stand/lib/inet/
H A Dibd.c295 int attempts = 0; /* failed attempts after success */ local
371 attempts++;
408 attempts = 0;
458 } while (attempts < IBD_INPUT_ATTEMPTS &&
H A Dethernet.c296 int attempts = 0; /* failed attempts after success */ local
371 attempts++;
409 attempts = 0;
466 } while (attempts < ETHER_INPUT_ATTEMPTS &&
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DAutoSplit.t185 my $attempts = 3;
188 } while (time < $until && --$attempts > 0);
189 if ($attempts == 0) {
H A Dbase.pm188 If any of the listed modules are not loaded yet, I<base> silently attempts to
/opensolaris-onvv-gate/usr/src/cmd/ssh/include/
H A Dauth.h157 * where multiple successful attempts should all use different
160 * The "attempts," "abandons," "successes" and "failures" fields
172 unsigned int attempts:8; member in struct:Authmethod
/opensolaris-onvv-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access.c107 * Also handles retry attempts, on failure, and interpretation of
142 /* Loop 'attempts' times of forever if -1 */
143 for (count = retrieveRetry->attempts; (0 <= count) ||
144 (-1 == retrieveRetry->attempts); count --) {
161 if (0 != retrieveRetry->attempts)
179 * Also handles retry attempts, on failure, and interpretation of
219 /* Loop 'attempts' times of forever if -1 */
220 for (count = storeRetry->attempts; (0 <= count) ||
221 (-1 == storeRetry->attempts); count --) {
255 if (0 != storeRetry->attempts)
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dauth.c1081 static int attempts = 0; local
1155 if (attempts++ >= 10) {
1156 warn("%d LOGIN FAILURES ON %s, %s", attempts, devnam, user);
1159 if (attempts > 3)
1160 (void) sleep((u_int) (attempts - 3) * 5);
1165 attempts = 0; /* Reset count */
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/in.dhcpd/
H A DREADME.caching136 is expired, in.dhcpd removes any existing records and attempts to
/opensolaris-onvv-gate/usr/src/cmd/man/src/util/instant.src/tptregexp/
H A DREADME102 probably faster than coding the operations in line. Some attempts at code

Completed in 269 milliseconds

123