Home
last modified time | relevance | path

Searched refs:timeval (Results 1 – 25 of 537) sorted by relevance

12345678910>>...22

/illumos-gate/usr/src/cmd/csh/
H A Dsh.time.c18 struct timeval time0;
22 void prusage(struct rusage *r0, struct rusage *r1, struct timeval *e,
23 struct timeval *b);
24 void pdeltat(struct timeval *t1, struct timeval *t0);
25 void tvadd(struct timeval *tsum, struct timeval *t0);
26 void tvsub(struct timeval *tdiff, struct timeval *t1, struct timeval *t0);
53 struct timeval timedol; in dotime()
122 prusage(struct rusage *r0, struct rusage *r1, struct timeval *e, in prusage()
123 struct timeval *b) in prusage()
223 pdeltat(struct timeval *t1, struct timeval *t0) in pdeltat()
[all …]
/illumos-gate/usr/src/boot/sys/sys/
H A Dtime.h191 bintime2timeval(const struct bintime *_bt, struct timeval *_tv) in bintime2timeval()
199 timeval2bintime(const struct timeval *_tv, struct bintime *_bt) in timeval2bintime()
225 static __inline struct timeval
228 struct timeval _tv; in sbttotv()
236 tvtosbt(struct timeval _tv) in tvtosbt()
322 struct timeval it_interval; /* timer interval */
323 struct timeval it_value; /* current value */
376 extern struct timeval boottime;
411 void microuptime(struct timeval *tvp);
424 void microtime(struct timeval *tvp);
[all …]
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dttl_utils.c50 suc_code is_greater_timeval(struct timeval *, struct timeval *);
51 suc_code add_to_timeval(struct timeval *, int);
70 struct timeval now; in has_entry_expired()
71 struct timeval old_time; in has_entry_expired()
111 if (ttl.dsize != sizeof (struct timeval)) { in has_entry_expired()
144 bcopy(ttl.dptr, &old_time, sizeof (struct timeval)); in has_entry_expired()
191 struct timeval now; in update_entry_ttl()
204 expire.dsize = sizeof (struct timeval); in update_entry_ttl()
285 add_to_timeval(struct timeval *t1, int t2) in add_to_timeval()
287 struct timeval oldval; in add_to_timeval()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dtime.h54 struct timeval { struct
210 struct timeval it_interval; /* timer interval */
211 struct timeval it_value; /* current value */
372 extern void hrt2tv(hrtime_t, struct timeval *);
373 extern hrtime_t tv2hrt(struct timeval *);
374 extern int itimerfix(struct timeval *, int);
376 extern void timevaladd(struct timeval *, struct timeval *);
377 extern void timevalsub(struct timeval *, struct timeval *);
378 extern void timevalfix(struct timeval *);
391 int adjtime(const struct timeval *, struct timeval *);
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dmain.c41 struct timeval lastfullupdate; /* last time full table multicast */
42 struct timeval lastmcast; /* last time all/changes multicast */
46 struct timeval nextmcast; /* time to wait before changes mcast */
47 struct timeval now; /* current idea of time */
63 static void timevalsub(struct timeval *t1, struct timeval *t2);
81 struct timeval waittime; in main()
296 timevaladd(struct timeval *t1, struct timeval *t2) in timevaladd()
306 timevalsub(struct timeval *t1, struct timeval *t2) in timevalsub()
H A Ddefs.h133 extern struct timeval lastfullupdate;
134 extern struct timeval lastmcast;
138 extern struct timeval nextmcast;
139 extern struct timeval now;
160 extern void timevaladd(struct timeval *, struct timeval *);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dnfs_cast.c56 struct timeval ts_timeval;
82 struct timeval timeval; member
86 static void calc_resp_time(struct timeval *);
127 struct timeval t, rcv_timeout; in nfs_cast()
547 buffer[size].timeval = ti->ts_timeval;
559 buffer[i].timeval.tv_sec, buffer[i].timeval.tv_usec);
579 memcpy(&buffer[i].timeval, &buffer[i-1].timeval,
580 sizeof (struct timeval));
590 buffer[i].timeval.tv_sec, buffer[i].timeval.tv_usec);
602 buffer[i].timeval.tv_sec, buffer[i].timeval.tv_usec);
[all …]
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dutimesys.c75 utimes_impl(const char *path, const struct timeval times[2], int flag) in utimes_impl()
77 struct timeval ltimes[2]; in utimes_impl()
97 utimes(const char *path, const struct timeval *times) in utimes()
103 lutimes(const char *path, const struct timeval *times) in lutimes()
110 futimesat(int fd, const char *path, const struct timeval *times) in futimesat()
112 struct timeval ltimes[2]; in futimesat()
136 futimes(int fd, const struct timeval *times) in futimes()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsirand/
H A Dfsirand.c70 struct timeval timeval; in main() local
129 (void) gettimeofday(&timeval, (struct timezone *)NULL); in main()
130 srand48((long)(timeval.tv_sec + timeval.tv_usec + n)); in main()
180 (void) gettimeofday(&timeval, (struct timezone *)NULL); in main()
181 fs->fs_id[0] = timeval.tv_sec; in main()
182 fs->fs_id[1] = timeval.tv_usec + getpid(); in main()
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dclnt_udp.c84 struct timeval cu_wait;
85 struct timeval cu_total;
116 struct timeval wait;
123 struct timeval now;
206 struct timeval wait;
222 struct timeval utimeout; /* seconds to wait before giving up */
234 struct timeval startime, curtime;
236 struct timeval time_waited;
237 struct timeval retransmit_time;
240 struct timeval timeout;
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dtimers.c50 static void timeval_advance(struct timeval *, struct timeval *);
86 uniqtime(struct timeval *tv) in uniqtime()
88 static struct timeval last; in uniqtime()
158 struct timeval tv; in uniqtime32()
165 gettimeofday(struct timeval *tp) in gettimeofday()
167 struct timeval atv; in gettimeofday()
218 struct timeval now; in xgetitimer()
334 struct timeval now; in xsetitimer()
590 struct timeval *valp = &p->p_realitimer.it_value; in realitexpire()
591 struct timeval *intervalp = &p->p_realitimer.it_interval; in realitexpire()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dmain.c65 struct timeval epoch; /* when started */
66 struct timeval clk;
67 static struct timeval prev_clk;
69 struct timeval now; /* current idea of time */
77 static struct timeval next_bcast; /* next general broadcast */
78 struct timeval no_flash = { /* inhibit flash update */
83 static struct timeval sync_kern_timer;
101 static void timevalsub(struct timeval *, struct timeval *, struct timeval *);
111 struct timeval select_timeout, result; in main()
897 intvl_random(struct timeval *tp, /* put value here */ in intvl_random()
[all …]
H A Ddefs.h364 struct timeval int_rdisc_timer;
593 extern struct timeval clk; /* system clock's idea of time */
594 extern struct timeval epoch; /* system clock when started */
595 extern struct timeval now; /* current idea of time */
600 extern struct timeval age_timer; /* next check of old routes */
601 extern struct timeval no_flash; /* inhibit flash update until then */
602 extern struct timeval rdisc_timer; /* next advert. or solicitation */
605 extern struct timeval ifscan_timer; /* time to check interfaces */
616 extern struct timeval need_kern; /* need to update kernel table */
671 extern void timevaladd(struct timeval *, struct timeval *);
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_dg.c64 extern int __rpc_timeval_to_msec(struct timeval *);
72 static bool_t time_not_ok(struct timeval *);
104 struct timeval cu_wait; /* retransmit interval */
105 struct timeval cu_total; /* total time for the call */
142 struct timeval now; in clnt_dg_create()
263 xdrproc_t xresults, caddr_t resultsp, struct timeval utimeout) in clnt_dg_call()
271 struct timeval time_waited; in clnt_dg_call()
274 struct timeval timeout; in clnt_dg_call()
275 struct timeval retransmit_time; in clnt_dg_call()
276 struct timeval poll_time; in clnt_dg_call()
[all …]
H A Dpmap_clnt.c54 static const struct timeval timeout = { 5, 0 };
55 static const struct timeval tottimeout = { 60, 0 };
56 static const struct timeval rmttimeout = { 3, 0 };
167 struct timeval minutetimeout; in pmap_getmaps()
197 caddr_t resp, struct timeval tout, rpcport_t *port_ptr) in pmap_rmtcall()
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dgettimeofday.c50 extern int _gettimeofday(struct timeval *);
54 gettimeofday(struct timeval *tp, void *tzp) in gettimeofday()
69 settimeofday(struct timeval *tp, void *tzp) in settimeofday()
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dprivate.h126 void smb_time_local2server(struct timeval *, int, long *);
127 void smb_time_server2local(ulong_t, int, struct timeval *);
128 void smb_time_NT2local(uint64_t, int, struct timeval *);
129 void smb_time_local2NT(struct timeval *, int, uint64_t *);
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A DmDNSPosix.h114 extern void mDNSPosixGetNextDNSEventTime(mDNS *m, struct timeval *timeout);
126 extern void mDNSPosixGetFDSet(mDNS *m, int *nfds, fd_set *readfds, fd_set *writefds, struct timeval
135 extern mStatus mDNSPosixRunEventLoopOnce( mDNS *m, const struct timeval *pTimeout, sigset_t *pSigna…
139 extern mStatus mDNSPosixRunEventLoopOnce( mDNS *m, const struct timeval *pTimeout, sigset_t *pSigna…
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dclnt.h69 caddr_t, struct timeval);
197 rpcvers_t version, struct timeval wait,
200 rpcvers_t version, struct timeval wait,
217 rpcvers_t version, struct timeval wait,
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/
H A Dsys_time_h.cfg36 int; const char *; const struct timeval [2] |\
42 const char *; const struct timeval [2] |\
47 const char *; const struct timeval [2] |\
52 int; const struct timeval [2] |\
/illumos-gate/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_filter.c86 uint64_t sec = ((struct timeval *)arg)->tv_sec; in fmd_log_filter_before()
87 uint64_t nsec = ((struct timeval *)arg)->tv_usec * (NANOSEC / MICROSEC); in fmd_log_filter_before()
95 uint64_t sec = ((struct timeval *)arg)->tv_sec; in fmd_log_filter_after()
96 uint64_t nsec = ((struct timeval *)arg)->tv_usec * (NANOSEC / MICROSEC); in fmd_log_filter_after()
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dbpf-ipf.h121 #define BIOCSRTIMEOUT _IOW(B,109, struct timeval)
122 #define BIOCGRTIMEOUT _IOR(B,110, struct timeval)
137 #define BIOCSRTIMEOUT _IOW('B',109, struct timeval)
138 #define BIOCGRTIMEOUT _IOR('B',110, struct timeval)
150 struct timeval bh_tstamp; /* time stamp */
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/features/
H A Dtime3 mem timeval.tv_usec sys/time.h
9 struct timeval tv;
19 struct timeval tv;
/illumos-gate/usr/src/uts/common/rpc/
H A Dauth_des.h85 struct timeval adv_ctime; /* clear time */
154 struct timeval *, struct timeval *);
/illumos-gate/usr/src/uts/common/syscall/
H A Dadjtime.c44 adjtime(const struct timeval *delta, struct timeval *olddelta) in adjtime()
46 struct timeval atv, oatv; in adjtime()

12345678910>>...22