Home
last modified time | relevance | path

Searched refs:retry (Results 1 – 25 of 426) sorted by relevance

12345678910>>...18

/titanic_41/usr/src/cmd/bnu/
H A Dsystat.c42 systat(name, type, text, retry) in systat() argument
45 long retry;
84 retry = 0;
92 retry = MAXRETRYTIME;
97 if (!retry) { /* use exponential backoff */
99 retry = RETRYTIME;
101 retry = presretry + presretry;
102 if (retry > MAXRETRYTIME)
103 retry = MAXRETRYTIME;
107 if (retry < RETRYTIME)
[all …]
/titanic_41/usr/src/lib/libnisdb/
H A Dnis_ldap.c84 __nis_retry_sleep(__nisdb_retry_t *retry, int forceSleep) { in __nis_retry_sleep() argument
86 if (retry == NULL) in __nis_retry_sleep()
89 if (retry->attempts > 0) { in __nis_retry_sleep()
90 retry->attempts -= 1; in __nis_retry_sleep()
91 } else if (retry->attempts == 0 && !forceSleep) { in __nis_retry_sleep()
95 (void) poll(NULL, 0, retry->timeout*1000); in __nis_retry_sleep()
/titanic_41/usr/src/lib/libresolv2/common/sunw/
H A Dsunw_mtctxres.c84 __res_override_retry(int retry) { in __res_override_retry() argument
85 ___mtctxres()->retry_private = retry; in __res_override_retry()
110 __res_retry(int retry) { in __res_retry() argument
113 mt->retry_save = retry; in __res_retry()
114 return ((mt->retry_private != 0) ? mt->retry_private : retry); in __res_retry()
/titanic_41/usr/src/lib/storage/libg_fc/common/
H A Dcmd.c183 retry: in cmd()
222 goto retry; in cmd()
234 goto retry; in cmd()
243 goto retry; in cmd()
274 goto retry; in cmd()
288 goto retry; in cmd()
302 goto retry; in cmd()
315 goto retry; in cmd()
/titanic_41/usr/src/cmd/sgs/liblddbg/common/
H A Ddlfcns.c83 const char *retry; in Dbg_dl_dlopen() local
96 retry = MSG_ORIG(MSG_STR_EMPTY); in Dbg_dl_dlopen()
98 retry = MSG_INTL(MSG_STR_RETRY); in Dbg_dl_dlopen()
101 dbg_print(lml, MSG_INTL(MSG_DL_DLOPEN), name, NAME(clmp), retry, in Dbg_dl_dlopen()
167 const char *str, *retry, *from = NAME(clmp); in Dbg_dl_dlsym() local
192 retry = MSG_ORIG(MSG_STR_EMPTY); in Dbg_dl_dlsym()
194 retry = MSG_INTL(MSG_STR_RETRY); in Dbg_dl_dlsym()
203 from, retry, str); in Dbg_dl_dlsym()
206 from, next, retry, str); in Dbg_dl_dlsym()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dqlc.conf96 login-retry-count=4;
143 port-down-retry-count=8;
151 port-down-retry-delay=2;
157 queue-full-retry-count=16;
163 queue-full-retry-delay=2;
/titanic_41/usr/src/uts/common/sys/scsi/targets/
H A Dses.h277 #define SES_CMD_RETRY1(retry) \ argument
278 retry += (retry > 0)? (SES_RETRY_MULTIPLIER -1) : 0;
281 #define SES_CMD_RETRY2(retry) \ argument
282 retry += (retry > 0)? (SES_RETRY_MULTIPLIER -2) : 0;
285 #define SES_CMD_RETRY4(retry) \ argument
286 retry += (retry > 0)? (SES_RETRY_MULTIPLIER -4) : 0;
/titanic_41/usr/src/cmd/sendmail/src/
H A Dsm_resolve.c387 dns_lookup_int(domain, rr_class, rr_type, retrans, retry) in dns_lookup_int() argument
392 int retry;
413 if (retry > 0)
415 save_retry = _res.retry;
416 _res.retry = retry;
431 if (retry > 0)
432 _res.retry = save_retry;
438 dns_lookup(domain, type_name, retrans, retry)
442 int retry;
454 return dns_lookup_int(domain, C_IN, type, retrans, retry);
/titanic_41/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/
H A Dpsvcpolicy.c383 int retry; in check_fan() local
396 retry = 0; in check_fan()
398 if (retry) in check_fan()
417 retry++; in check_fan()
418 } while ((retry < n_retry_fan) && (speed <= low_thresh)); in check_fan()
543 int retry; in check_cpu_temp_fault() local
553 retry = 0; in check_cpu_temp_fault()
555 if (retry) in check_cpu_temp_fault()
561 retry++; in check_cpu_temp_fault()
564 (retry < n_retry_temp_shutdown)); in check_cpu_temp_fault()
[all …]
/titanic_41/usr/src/cmd/scadm/sparc/mpxu/common/
H A Ddownload.c60 int retry; in ADM_Process_download() local
215 retry = 0; in ADM_Process_download()
217 if (retry == 1) { in ADM_Process_download()
246 retry++; in ADM_Process_download()
247 } while (bootOpt && (retry < 2)); in ADM_Process_download()
/titanic_41/usr/src/cmd/factor/
H A Dfactor.c98 retry: in main()
104 goto retry; in main()
120 retry: in try()
126 goto retry; in try()
/titanic_41/usr/src/cmd/syseventd/modules/devfsadmd_mod/
H A Ddevfsadmd_mod.c217 int retry = 0; in devfsadmd_deliver_thr() local
236 retry = 0; in devfsadmd_deliver_thr()
250 (retry == RETRY_DAEMON_RESTART) || in devfsadmd_deliver_thr()
251 ((retry % RETRY_DAEMON_INTERVAL) == 0)) { in devfsadmd_deliver_thr()
256 if (retry == RETRY_MSG_THRESHOLD) { in devfsadmd_deliver_thr()
261 ++retry; in devfsadmd_deliver_thr()
273 retry = 0; in devfsadmd_deliver_thr()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/psvc/psvcpolicy/
H A Dpsvcpolicy.c540 int retry; in psvc_fan_enable_disable_policy_0() local
546 retry = 0; in psvc_fan_enable_disable_policy_0()
548 if (retry) in psvc_fan_enable_disable_policy_0()
554 retry++; in psvc_fan_enable_disable_policy_0()
555 } while ((retry < n_retry_fan_present) && (presence == PSVC_ABSENT)); in psvc_fan_enable_disable_policy_0()
779 int retry; in psvc_keyswitch_position_policy_0() local
789 retry = 0; in psvc_keyswitch_position_policy_0()
791 if (retry) in psvc_keyswitch_position_policy_0()
807 retry++; in psvc_keyswitch_position_policy_0()
808 } while ((retry < n_retry_keyswitch) && in psvc_keyswitch_position_policy_0()
[all …]
/titanic_41/usr/src/grub/grub-0.97/netboot/
H A Dfsys_tftp.c47 static int retry; variable
93 retry = 0; in tftp_file_read()
114 timeout = rfc2131_sleep_interval(block?TFTP_REXMT: TIMEOUT, retry); in tftp_file_read()
116 timeout = rfc2131_sleep_interval(TIMEOUT, retry); in tftp_file_read()
120 if (!block && retry++ < MAX_TFTP_RETRIES) in tftp_file_read()
128 if (block && ((retry += TFTP_REXMT) < TFTP_TIMEOUT)) in tftp_file_read()
221 retry = 0; /* It's the right place to zero the timer? */ in tftp_file_read()
250 timeout = rfc2131_sleep_interval (block ? TFTP_REXMT : TIMEOUT, retry); in buf_fill()
252 timeout = rfc2131_sleep_interval (TIMEOUT, retry); in buf_fill()
260 if (! block && retry++ < MAX_TFTP_RETRIES) in buf_fill()
[all …]
/titanic_41/usr/src/uts/intel/io/ipmi/
H A Dipmi_kcs.c115 int retry, status; in kcs_error() local
118 for (retry = 0; retry < 2; retry++) { in kcs_error()
182 int retry, status; in kcs_start_write() local
184 for (retry = 0; retry < 10; retry++) { in kcs_start_write()
/titanic_41/usr/src/cmd/sh/
H A Dword.c253 retry: in nextwc()
257 goto retry; in nextwc()
306 retry: in readwc()
315 goto retry; /* = c = readc(); */ in readwc()
390 goto retry; in readwc()
418 retry: in readb()
440 goto retry; in readb()
447 goto retry; in readb()
/titanic_41/usr/src/cmd/mdb/common/kmdb/
H A Dkvm_cpu.c59 int retry = 0; in kmt_cpu_create() local
66 retry = 1; in kmt_cpu_create()
69 if (retry) in kmt_cpu_create()
/titanic_41/usr/src/cmd/vscan/vscand/
H A Dvs_eng.c374 vs_eng_get(vs_eng_ctx_t *eng_ctx, boolean_t retry) in vs_eng_get() argument
388 ((retry == B_TRUE) && (vs_eng_count <= 1))) { in vs_eng_get()
397 (vs_eng_find_connection(&eidx, &cidx, retry) == -1)) { in vs_eng_get()
399 if (retry && vs_eng_check_errors() == B_TRUE) { in vs_eng_get()
430 if (!retry) in vs_eng_get()
532 vs_eng_find_connection(int *eng_idx, int *cxn_idx, boolean_t retry) in vs_eng_find_connection() argument
539 if ((idx = vs_eng_find_next(retry)) == -1) in vs_eng_find_connection()
577 vs_eng_find_next(boolean_t retry) in vs_eng_find_next() argument
584 if (!retry || (vs_engines[i].vse_error == B_FALSE)) in vs_eng_find_next()
592 if (!retry || (vs_engines[i].vse_error == B_FALSE)) in vs_eng_find_next()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcpolicy/
H A Dpsvcpolicy.c417 int retry; in psvc_check_temperature_policy_0() local
449 retry = 0; in psvc_check_temperature_policy_0()
451 if (retry) in psvc_check_temperature_policy_0()
466 retry++; in psvc_check_temperature_policy_0()
467 } while ((retry < n_retry_temp) && temp_oor); in psvc_check_temperature_policy_0()
550 int retry; in psvc_ps_hotplug_policy_0() local
556 retry = 0; in psvc_ps_hotplug_policy_0()
558 if (retry) in psvc_ps_hotplug_policy_0()
563 retry++; in psvc_ps_hotplug_policy_0()
564 } while ((retry < n_retry_hotplug) && (presence != previous_presence)); in psvc_ps_hotplug_policy_0()
[all …]
/titanic_41/usr/src/lib/nsswitch/dns/common/
H A Ddns_mt.c248 __fallback_override_retry(int retry) { in __fallback_override_retry() argument
254 old_retry = res->retry; in __fallback_override_retry()
255 res->retry = retry; in __fallback_override_retry()
/titanic_41/usr/src/cmd/lp/model/netpr/
H A Dtcp_misc.c77 int retry; in tcp_open() local
103 retry = 0; in tcp_open()
126 retry++; in tcp_open()
139 } while (retry); in tcp_open()
/titanic_41/usr/src/cmd/cdrw/
H A Dtoshiba.c80 int ret, retry; in toshiba_read_audio() local
98 for (retry = 0; retry < 3; retry++) { in toshiba_read_audio()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_dump.c108 int retry = 0; in nfs_dump() local
126 if (error = nd_poll(tiptr, retry, &reply)) in nfs_dump()
130 retry++; in nfs_dump()
133 retry = 0; in nfs_dump()
140 } while (retry); in nfs_dump()
458 nd_poll(TIUSER *tiptr, int retry, int *eventp) in nd_poll() argument
461 clock_t timout = TIMEOUT * (retry + 1); in nd_poll()
484 if (retry == RETRIES && !*eventp) { in nd_poll()
/titanic_41/usr/src/uts/common/fs/dev/
H A Dsdev_comm.c291 int retry; in sdev_ki_call_devfsadmd() local
310 for (retry = 0; ; retry++) { in sdev_ki_call_devfsadmd()
311 sdcmn_err6(("call devfsadm: upcall lookup, retry %d\n", retry)); in sdev_ki_call_devfsadmd()
338 if (retry > 4) { in sdev_ki_call_devfsadmd()
345 delay(retry * hz); in sdev_ki_call_devfsadmd()
/titanic_41/usr/src/cmd/svc/startd/
H A Dfork.c342 retry: in fork_configd()
432 goto retry; in fork_configd()
440 goto retry; in fork_configd()
452 goto retry; in fork_configd()
457 goto retry; in fork_configd()
713 retry: in emi_set_state()
726 goto retry; in emi_set_state()
741 goto retry; in emi_set_state()
747 goto retry; in emi_set_state()
767 goto retry; in emi_set_state()
[all …]

12345678910>>...18