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

12

/illumos-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:__anon3654
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.c1398 if (table_info->retrieveErrorRetry.attempts == NO_VALUE_SET)
1406 if (table_info->storeErrorRetry.attempts == NO_VALUE_SET)
1414 if (table_info->refreshErrorRetry.attempts == NO_VALUE_SET)
1464 if (table_info->retrieveErrorRetry.attempts == NO_VALUE_SET)
1472 if (table_info->storeErrorRetry.attempts == NO_VALUE_SET)
1480 if (table_info->refreshErrorRetry.attempts == NO_VALUE_SET)
1508 if (nis_config->threadCreationErrorTimeout.attempts == NO_VALUE_SET)
1515 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...]
/illumos-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);
H A Despi.c74 int busy, attempts = TRICN_CMD_ATTEMPTS;
87 } while (busy && --attempts);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/usdt/
H A Dtst.noreap.ksh99 attempts++;
103 /attempts > 10/
H A Dtst.noreapring.ksh91 attempts++;
95 /attempts > 10/
H A Dtst.reap.ksh91 attempts++;
95 /attempts > 10/
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dcommon.c87 int attempts, int delay)
89 return (t4_wait_op_done_val(adapter, reg, mask, polarity, attempts,
86 t4_wait_op_done(struct adapter *adapter, int reg, u32 mask, int polarity, int attempts, int delay) argument
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fcf.h85 #define FCF_REASON_OP_FAILED 13 /* attempts */
178 uint32_t attempts; member in struct:RPIobj
249 uint32_t attempts; member in struct:VPIobj
309 uint32_t attempts; member in struct:VFIobj
359 uint32_t attempts; member in struct:FCFIobj
486 uint32_t attempts; member in struct:FCFTable
/illumos-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);
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dstrcmp.s54 ! If it is not, it attempts to align it and then checks the
/illumos-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...]
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_common.c1166 int restarts, attempts; local
1262 attempts = 0;
1268 if (attempts >= 3)
1270 ++attempts;
1280 attempts = 0;
1286 if (attempts >= 3)
1288 ++attempts;
1304 attempts = 0;
1311 if (attempts >= 3)
1313 ++attempts;
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fcf.c3152 fcftab->attempts = 0;
3169 if (fcftab->attempts == 0) {
3258 fcftab->attempts++;
3267 arg1, fcftab->attempts);
3273 (fcftab->attempts >= 3)) {
3280 fcftab->attempts,
3284 FCF_REASON_OP_FAILED, fcftab->attempts, arg1);
3293 fcftab->attempts,
3297 FCF_REASON_OP_FAILED, fcftab->attempts, arg1);
3325 "fc_fcftab_topo_cmpl_action:%x attempts
[all...]
/illumos-gate/usr/src/cmd/make/bin/
H A Dstate.cc128 register int attempts = 0; local
203 if (attempts++ > 5) {
359 if (attempts == 0) {
/illumos-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 &&
/illumos-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...]
/illumos-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 */

Completed in 366 milliseconds

12