/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_comm.c | 44 #include <sys/time.h> 421 struct timeval time; local 429 (void) gettimeofday(&time, 0); 432 header.time_stamp = time.tv_sec; 561 struct timeval time; local 563 (void) gettimeofday(&time, 0); 566 header.time_stamp = time.tv_sec; 1131 * Only one reply messages may be pending receipt at a time.
|
/illumos-gate/usr/src/cmd/fm/fmstat/common/ |
H A D | fmstat.c | 163 time2str(char *buf, size_t len, uint64_t time) argument 180 for (up = units; time % up->u_mul != 0; up++) 181 continue; /* find largest unit of which 'time' is a multiple */ 183 (void) snprintf(buf, len, "%llu%s", time / up->u_mul, up->u_name); 300 * Compute the elapsed time by taking the delta between 'snaptime', or 312 * len * time products (wlentime stat) and dividing by the elapsed time. 323 * Compute average wait time by taking the delta in the wait queue time 336 * Compute average dispatch time b [all...] |
/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | gprof.h | 114 * the run-time linker. 162 double arc_time; /* time inherited along arc */ 184 time_t mtime; /* last modified time of this file */ 228 * its address, the number of calls and compute its share of cpu time. 238 double time; /* ticks in this routine as double */ member in struct:nl 242 double propfraction; /* what % of time propagates */ 243 double propself; /* how much self time propagates */ 244 double propchild; /* how much child time propagates */ 307 double actime; /* accumulated time thus far for putprofline */ 308 double totime; /* total time fo [all...] |
H A D | gprof.c | 84 * calculate scaled entry point addresses (to save time in asgnsamples), 158 double time; local 179 time = ccnt; 187 totime += time; 212 overlap * time / scale, overlap); 215 nl[j].time += overlap * time / scale; 801 /* Update the corresponding function's time */ 817 fnl->time += func_nticks; 1511 * if the shared objects it references have changed since the time [all...] |
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | keyserv.c | 838 struct timeval time; local 843 (void) gettimeofday(&time, (struct timezone *)NULL); 845 keygen.key.high += (time.tv_sec ^ time.tv_usec); 846 keygen.key.low += (time.tv_sec ^ time.tv_usec);
|
/illumos-gate/usr/src/cmd/trapstat/sun4/ |
H A D | trapstat.c | 50 #define TSTAT_PRINT_MISSDATA(diff, time) \ 51 (void) printf(" %9lld %4.1f", (diff), (time)); 320 fatal("cannot set time on CLOCK_HIGHRES timer"); 551 hrtime_t peffect = raw * g_ndata->tdata_peffect * g_peffect, time; local 556 * the amount of time spent in the handler, and add the 557 * amount of time known to be due to the trapstat probe effect. 559 time = miss->tmiss_time - omiss->tmiss_time + peffect; 561 if (time >= tick) { 565 * print 99.9 for the time instead of printing negative 568 time [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_diskq.h | 48 time_t time; member in struct:qentry
|
H A D | rdc_svc.c | 112 clock_t time; local 126 time = cv_reltimedwait_sig(&rdc_sync_event.done_cv, 129 if (time == (clock_t)0 || time == (clock_t)-1) {
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_lacp.c | 264 * Complete LACP info initialization at port creation time. 505 portp->lp_lacp.time = gethrtime(); 629 * Grab the current time value and see if 634 elapsed = now - pl->time; 637 pl->time = now; 1235 * - every time the wait_while_timer pops 1732 start_current_while_timer(aggr_port_t *portp, uint_t time) argument 1740 if (time > 0) 1741 pl->current_while_timer.val = time; 1998 * - every time th [all...] |
/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | sge.c | 215 * same time. Then if the timeout service routine was slow or 219 * the second time could then end up accessing memory that has been 251 * we were blocking on the mutex ~ 2% of the time. 1043 hrtime_t time; local 1050 time = (gethrtime() - adapter->pause_time)/1000; 1051 sge->intr_cnt.rx_pause_ms += time; 1052 if (time > sge->intr_cnt.rx_pause_spike) 1053 sge->intr_cnt.rx_pause_spike = (uint32_t)time;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | fm.c | 55 #include <sys/time.h> 207 * the amount of console output we produce at panic time. This can be further 455 * This function is called at either normal reboot or panic time, and simply 1237 uint64_t time; local 1241 time = (ena & ENA_FMT1_TIME_MASK) >> ENA_FMT1_TIME_SHFT; 1244 time = (ena & ENA_FMT2_TIME_MASK) >> ENA_FMT2_TIME_SHFT; 1247 time = 0; 1250 return (time);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vuid_event.h | 337 * The time stamp is not defined to be meaningful except to compare 338 * with other Firm_event time stamps. 374 struct timeval32 time; /* Event's time stamp */ member in struct:firm_event 376 struct timeval time; member in struct:firm_event
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_mbx.c | 119 * The timeout time 'timer' was 176 * The timeout time 'timer' was 3903 * time as device. 4128 uint64_t time; local 4143 (void) drv_getparm(TIME, &time); 4145 EL(ha, "insert time: %x %xh\n", MSD(time), LSD(time)); 4147 mcp->mb[2] = LSW(LSD(time)); 4148 mcp->mb[3] = MSW(LSD(time)); [all...] |
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usba10_calls.c | 188 uint_t time, 198 dip, pipe_handle, time, flags, cb, cb_arg)); 185 usba10_usb_pipe_drain_reqs( dev_info_t *dip, usb_pipe_handle_t pipe_handle, uint_t time, usb_flags_t flags, void (*cb)( usb_pipe_handle_t ph, usb_opaque_t arg, int rval, usb_cb_flags_t flags), usb_opaque_t cb_arg) argument
|
/illumos-gate/usr/src/uts/common/io/usb/usba10/ |
H A D | usba10.c | 216 uint_t time, 226 dip, pipe_handle, time, flags, cb, cb_arg)); 213 usb_pipe_drain_reqs( dev_info_t *dip, usb_pipe_handle_t pipe_handle, uint_t time, usb_flags_t flags, void (*cb)( usb_pipe_handle_t ph, usb_opaque_t arg, int rval, usb_cb_flags_t flags), usb_opaque_t cb_arg) argument
|
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/ |
H A D | logger.c | 258 t = time(0); 639 time(0); 650 char *time; 659 NULL, &time)) { 661 if (time != NULL) { 662 if (!krb5_string_to_deltat(time, 667 free(time); 1057 (void) time(&now); 647 char *time; local
|
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | logger.c | 258 t = time(0); 640 time(0); 651 char *time; 660 NULL, &time)) { 662 if (time != NULL) { 663 if (!krb5_string_to_deltat(time, 668 free(time); 1055 (void) time(&now); 648 char *time; local
|
/illumos-gate/usr/src/cmd/flowstat/ |
H A D | flowstat.c | 779 time_t time; local 807 time = history->du_etime; 809 localtime(&time)); 827 time = history->du_stime; 828 (void) strftime(buf, sizeof (buf), "%T", localtime(&time)); 831 time = history->du_etime; 832 (void) strftime(buf, sizeof (buf), "%T", localtime(&time)); 1004 /* Print time and information for each flow */
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | doname.cc | 336 /* Make sure we have a valid time for :: targets */ 337 Property time; local 339 time = get_prop(true_target->prop, time_prop); 340 if (time != NULL) { 341 true_target->stat.time = time->body.time.time; 676 out_of_date = (Boolean) OUT_OF_DATE_SEC(true_target->stat.time, 679 out_of_date = (Boolean) OUT_OF_DATE(true_target->stat.time, [all...] |
/illumos-gate/usr/src/uts/common/fs/ |
H A D | xattr.c | 624 uint64_t *time, *times; local 743 time = (uint64_t *)&(xoap->xoa_createtime); 745 *time++ = times[elem]; 1444 * last hold on the GFS directory is gone, it's time to release that
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | midlevel.c | 2671 scf_time_t *time = prop->pv_ptr; local 2673 ret = scf_value_get_time(v, &time->t_seconds, 2674 &time->t_ns); 2839 scf_time_t *time = prop->pv_ptr; local 2841 ret = scf_value_set_time(v[i], time->t_seconds, 2842 time->t_ns);
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_printf.c | 452 hrtime_t time = *((uint64_t *)addr); local 453 time_t sec = (time_t)(time / NANOSEC); 480 * This prints the time in RFC 822 standard form. This is useful for emitting 481 * notions of time that are consumed by standard tools (e.g., as part of an 489 hrtime_t time = *((uint64_t *)addr); local 490 time_t sec = (time_t)(time / NANOSEC); 1696 * If this is the first time that we're calling freopen(),
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgweb.c | 87 * default amount of time that is allowed for error when checking 91 * accept it if the local time is between 11:55 and 1:05. 393 /* time out and wait a little bit for these failures */ 1106 * Arguments: intime - The time to convert 1108 * Returns : A pointer to a static string representing the passed-in time. 1114 static char time[ATTR_MAX]; local 1130 if (BIO_gets(mem, time, ATTR_MAX) <= 0) { 1138 for (p = time + strlen(time) - 1; isspace(*p); p--) { 1142 return (time); [all...] |
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | pcnet32.c | 48 /* Include the time functions */ 587 unsigned long time; local 621 time = currticks() + TICKS_PER_SEC; /* wait one second */ 622 while (currticks() < time &&
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/ |
H A D | in.rdisc.c | 29 #include <sys/time.h> 141 static void age_table(int time); 505 static int time; local 509 time += TIMER_INTERVAL; 1091 * output the bytes one at a time, 1975 logdebug("Router %s, pref 0x%x, time %d, %s kernel\n", 2013 /* Note: this might leave the kernel with no default route for a short time. */ 2015 age_table(int time) argument 2024 tp->remaining_time -= time;
|