Searched defs:timeval (Results 1 - 14 of 14) 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/grub/grub-0.97/netboot/
H A Dtimer.h63 struct timeval { struct
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Drdr_param_types.h94 timeout_t timeval; member in struct:__anon390
H A Dremote_cfg.h175 unsigned long timeval; member in struct:__anon410
/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/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 */
277 * timeval, timestruc) to clock ticks and vice versa.
370 extern void hrt2tv(hrtime_t, struct timeval *);
371 extern hrtime_t tv2hrt(struct timeval *);
372 extern int itimerfix(struct timeval *, int);
374 extern void timevaladd(struct timeval *, struct timeval *);
375 extern void timevalsub(struct timeval *, struc
[all...]
/illumos-gate/usr/src/uts/i86pc/io/psm/
H A Duppc.c1055 hrtime_t timeval, temp; local
1069 timeval = (hrtime_t)ctr0 * (NANOSEC / PIT_HZ);
1072 timeval -= temp;
1073 if (timeval < uppc_lasthrtime)
1074 timeval = uppc_lasthrtime;
1075 uppc_lasthrtime = timeval;
1078 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/efcode/engine/
H A Denv.c101 struct timeval timeval; local
108 timeval.tv_sec = 0;
109 timeval.tv_usec = 1000;
110 ret = select(fileno(stdin) + 1, &readfds, NULL, NULL, &timeval);
211 struct timeval tp;
/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 65 milliseconds