Searched defs:attempts (Results 1 - 23 of 23) sorted by relevance

/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
H A Dt4_hw.c35 * @attempts: number of check iterations
40 * up to @attempts times. If @valp is not NULL the value of the register
46 int polarity, int attempts, int d, u32 *valp)
59 if (--attempts == 0) {
477 int attempts = EEPROM_MAX_RD_POLL; local
487 } while (!(val & PCI_VPD_ADDR_F) && --attempts);
512 int attempts = EEPROM_MAX_WR_POLL; local
525 } while ((val & PCI_VPD_ADDR_F) && --attempts);
759 * @attempts: max number of polls of the status register
765 flash_wait_op(struct adapter *adapter, int attempts, in argument
45 t4_wait_op_done_val(struct adapter *adapter, int reg, u32 mask, int polarity, int attempts, int d, u32 *valp) argument
[all...]
/illumos-gate/usr/src/uts/common/io/chxge/com/
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 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 Dch_subr.c54 * @attempts: number of check iterations
56 * @attempts: number of check iterations
60 * up to @attempts times. Returns %0 if the operation completes and %1
64 int attempts, int delay)
66 while (attempts) {
70 if (--attempts == 0)
325 int attempts = 100, busy; local
334 } while (busy && --attempts);
63 t1_wait_op_done(adapter_t *adapter, int reg, u32 mask, int polarity, int attempts, int delay) argument
/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 Dethernet.c296 int attempts = 0; /* failed attempts after success */ local
371 attempts++;
409 attempts = 0;
466 } while (attempts < ETHER_INPUT_ATTEMPTS &&
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 Ddhcpv4.c310 * attempts are made to get a valid response. If 'tol' is not zero,
321 uint32_t attempts = 0; local
404 } while (++attempts < tries);
819 * We make 4 attempts here. We wait for 2 seconds to accumulate
/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/uts/common/io/e1000api/
H A De1000_i210.c326 u32 attempts = 100000; local
349 for (k = 0; k < attempts; k++) {
H A De1000_nvm.c233 u32 attempts = 100000; local
238 for (i = 0; i < attempts; i++) {
/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/lib/libnisdb/
H A Dnisdb_ldap.h128 /* Keep track of desired number of attempts and timeout */
130 int attempts; member in struct:__anon3654
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dndp.c578 int err, attempts = 0; local
585 while (attempts < MAX_ATTEMPTS) {
591 attempts++;
599 if (attempts == MAX_ATTEMPTS) {
H A Droute.c1792 int ret, attempts, oerrno; local
1818 for (attempts = 1; ; attempts++) {
1825 hp->h_addr_list[attempts] != NULL) {
1829 hp->h_addr_list[attempts], hp->h_length);
1833 hp->h_addr_list[attempts], hp->h_length);
/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 */
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/
H A Dlm_vf.c2880 u32_t attempts; local
2889 for (attempts = 0; attempts < BULLETIN_ATTEMPTS; attempts++)
2895 if (attempts == BULLETIN_ATTEMPTS)
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd_cm.c2566 uint_t attempts; local
2578 attempts = 10;
2582 if (--attempts == 0) {
2641 attempts = 400;
2643 (state->rc_num_rx_chan != 0)) && (attempts > 0)) {
2646 attempts--;
H A Dibd.c5513 uint_t attempts; local
5573 attempts = 100;
5581 if (--attempts == 0) {
5599 attempts = 10;
5603 if (--attempts == 0) {
5685 attempts = 10;
5690 if (--attempts == 0)
5706 attempts = 10;
5708 if (--attempts == 0)
/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/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/cmd/fs.d/autofs/
H A Dautod_nfs.c3173 int attempts,
3298 for (i = 0, j = rpc_rtrans_new.tv_sec; i < attempts-1; i++) {
3171 pingnfs( char *hostpart, int attempts, rpcvers_t *versp, rpcvers_t versmin, ushort_t port, bool_t usepub, char *path, char *proto) argument

Completed in 192 milliseconds