Searched refs:tv32 (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_time.c38 meta_gettimeofday(md_timeval32_t *tv32) argument
43 if (tv32 == NULL)
47 tv32->tv_sec = (time32_t)tv.tv_sec;
48 tv32->tv_usec = (int32_t)tv.tv_usec;
/illumos-gate/usr/src/uts/common/syscall/
H A Dlwp_info.c67 timestruc32_t tv32[2]; local
73 TIMESPEC_TO_TIMESPEC32(&tv32[0], &tv[0]);
74 TIMESPEC_TO_TIMESPEC32(&tv32[1], &tv[1]);
76 if (copyout(tv32, tvp, sizeof (tv32)))
/illumos-gate/usr/src/uts/common/sys/lvm/
H A Dmeta_basic.x141 % struct timeval32 tv32;
143 % TIMEVAL_TO_TIMEVAL32(&tv32, objp);
144 % if (!xdr_int(xdrs, &tv32.tv_sec))
146 % if (!xdr_int(xdrs, &tv32.tv_usec))
149 % TIMEVAL32_TO_TIMEVAL(objp, &tv32);
/illumos-gate/usr/src/uts/common/sys/
H A Dtime.h61 #define TIMEVAL32_TO_TIMEVAL(tv, tv32) { \
62 (tv)->tv_sec = (time_t)(tv32)->tv_sec; \
63 (tv)->tv_usec = (tv32)->tv_usec; \
66 #define TIMEVAL_TO_TIMEVAL32(tv32, tv) { \
67 (tv32)->tv_sec = (time32_t)(tv)->tv_sec; \
68 (tv32)->tv_usec = (int32_t)(tv)->tv_usec; \
/illumos-gate/usr/src/uts/common/os/
H A Dtimers.c174 struct timeval32 tv32; local
178 TIMEVAL_TO_TIMEVAL32(&tv32, &atv);
180 if (copyout(&tv32, tp, sizeof (tv32)))
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsockmod_pfp.c953 struct timeval32 tv32; local
954 TIMEVAL_TO_TIMEVAL32(&tv32, &tival);
955 error = ddi_copyout(&tv32, (void *)arg,
956 sizeof (tv32), mod);

Completed in 84 milliseconds