Searched defs:timeval (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/boot/sys/sys/
H A D_timeval.h47 struct timeval { struct
/illumos-gate/usr/src/cmd/fs.d/ufs/fsirand/
H A Dfsirand.c72 struct timeval timeval; local
131 (void) gettimeofday(&timeval, (struct timezone *)NULL);
132 srand48((long)(timeval.tv_sec + timeval.tv_usec + n));
182 (void) gettimeofday(&timeval, (struct timezone *)NULL);
183 fs->fs_id[0] = timeval.tv_sec;
184 fs->fs_id[1] = timeval.tv_usec + getpid();
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dcmd.c72 time_t timeval; local
74 struct timeval tval;
89 if ((timeval = time(NULL)) == -1) {
92 if ((tmbuf = localtime(&timeval)) == NULL) {
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dtime.h16 struct timeval { struct
57 struct timeval it_interval; /* timer interval */
58 struct timeval it_value; /* current value */
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dtimer.h63 struct timeval { struct
/illumos-gate/usr/src/lib/lvm/libsvm/common/
H A Dmetainterfaces.c120 int timeval = 0; local
126 timeval += sleep_int;
128 while (timeval < MAX_TIMEOUT) {
131 " Time %d\n", timeval);
137 "in %d s (%d)\n", sleep_int, timeval);
139 timeval += sleep_int;
/illumos-gate/usr/src/cmd/oamuser/user/
H A Duserdefs.c318 time_t timeval; /* time value from time */ local
364 timeval = time(NULL);
367 if (fprintf(defptr, "%s%s\n", hdr, ctime(&timeval)) <= 0) {
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Drdr_param_types.h94 timeout_t timeval; member in struct:__anon367
H A Dremote_cfg.h175 unsigned long timeval; member in struct:__anon387
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dnfs_cast.c58 struct timeval ts_timeval;
84 struct timeval timeval; member in struct:sm
88 static void calc_resp_time(struct timeval *);
129 struct timeval t, rcv_timeout;
549 buffer[size].timeval = ti->ts_timeval;
561 buffer[i].timeval.tv_sec, buffer[i].timeval.tv_usec);
581 memcpy(&buffer[i].timeval, &buffer[i-1].timeval,
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dtime.h52 struct timeval { struct
208 struct timeval it_interval; /* timer interval */
209 struct timeval it_value; /* current value */
274 * timeval, timestruc) to clock ticks and vice versa.
367 extern void hrt2tv(hrtime_t, struct timeval *);
368 extern hrtime_t tv2hrt(struct timeval *);
369 extern int itimerfix(struct timeval *, int);
371 extern void timevaladd(struct timeval *, struct timeval *);
372 extern void timevalsub(struct timeval *, struc
[all...]
/illumos-gate/usr/src/lib/efcode/engine/
H A Denv.c103 struct timeval timeval; local
110 timeval.tv_sec = 0;
111 timeval.tv_usec = 1000;
112 ret = select(fileno(stdin) + 1, &readfds, NULL, NULL, &timeval);
213 struct timeval tp;
/illumos-gate/usr/src/uts/i86pc/io/psm/
H A Duppc.c1050 hrtime_t timeval, temp; local
1064 timeval = (hrtime_t)ctr0 * (NANOSEC / PIT_HZ);
1067 timeval -= temp;
1068 if (timeval < uppc_lasthrtime)
1069 timeval = uppc_lasthrtime;
1070 uppc_lasthrtime = timeval;
1073 return (timeval);
/illumos-gate/usr/src/cmd/luxadm/
H A Dlux_util.c81 time_t timeval; local
83 struct timeval tval;
97 if ((timeval = time(NULL)) == -1) {
100 if ((tmbuf = localtime(&timeval)) == NULL) {
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_db.c1304 md_timeval32_t *timeval,
1610 if (timeval != NULL)
1611 c.c_timestamp = *timeval;
1300 meta_db_attach( mdsetname_t *sp, mdnamelist_t *db_nlp, mdchkopts_t options, md_timeval32_t *timeval, int dbcnt, int dbsize, char *sysfilename, md_error_t *ep ) argument
/illumos-gate/usr/src/uts/common/io/
H A Dfdc.c1929 fdc_motorsm(struct fcu_obj *fjp, int input, int timeval) argument
1985 ASSERT(timeval > 0);
1987 drv_usectohz(100000 * timeval));
2004 ASSERT(timeval > 0);
2006 drv_usectohz(100000 * timeval));
2026 ASSERT(timeval > 0);
2028 drv_usectohz(100000 * timeval));
/illumos-gate/usr/src/cmd/truss/
H A Dexpound.c128 prtimeval(private_t *pri, const char *name, struct timeval *value)
202 struct timeval tod;
260 struct timeval timeval; local
266 if (Pread(Proc, &timeval, sizeof (timeval), offset)
267 != sizeof (timeval))
276 TIMEVAL32_TO_TIMEVAL(&timeval, &timeval32);
283 timeval.tv_sec,
284 timeval
[all...]

Completed in 3998 milliseconds