Home
last modified time | relevance | path

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

12345678910>>...22

/illumos-gate/usr/src/cmd/csh/
H A Dsh.time.c18 struct timeval time0;
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()
123 struct timeval *b) in prusage()
223 pdeltat(struct timeval *t1, struct timeval *t0) in pdeltat()
225 struct timeval td; in pdeltat()
236 tvadd(struct timeval *tsum, struct timeval *t0) in tvadd()
[all …]
/illumos-gate/usr/src/boot/sys/sys/
H A Dtime.h225 static __inline struct timeval
228 struct timeval _tv; in sbttotv()
236 tvtosbt(struct timeval _tv) in tvtosbt()
376 extern struct timeval boottime;
424 void microtime(struct timeval *tvp);
445 int itimerfix(struct timeval *tv);
447 int ratecheck(struct timeval *, const struct timeval *);
448 void timevaladd(struct timeval *t1, const struct timeval *t2);
449 void timevalsub(struct timeval *t1, const struct timeval *t2);
450 int tvtohz(struct timeval *tv);
[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
211 struct timeval it_value; /* current value */
373 extern hrtime_t tv2hrt(struct timeval *);
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(struct timeval *, struct timeval *);
416 int futimes(int, const struct timeval *);
448 int settimeofday(struct timeval *);
450 int settimeofday(struct timeval *, void *);
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dmain.c43 struct timeval lastfullupdate; /* last time full table multicast */
44 struct timeval lastmcast; /* last time all/changes multicast */
48 struct timeval nextmcast; /* time to wait before changes mcast */
49 struct timeval now; /* current idea of time */
65 static void timevalsub(struct timeval *t1, struct timeval *t2);
83 struct timeval waittime; in main()
298 timevaladd(struct timeval *t1, struct timeval *t2) in timevaladd()
308 timevalsub(struct timeval *t1, struct timeval *t2) in timevalsub()
H A Ddefs.h135 extern struct timeval lastfullupdate;
136 extern struct timeval lastmcast;
140 extern struct timeval nextmcast;
141 extern struct timeval now;
162 extern void timevaladd(struct timeval *, struct timeval *);
/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/autofs/
H A Dnfs_cast.c58 struct timeval ts_timeval;
84 struct timeval timeval; member
88 static void calc_resp_time(struct timeval *);
129 struct timeval t, rcv_timeout; in nfs_cast()
561 buffer[i].timeval.tv_sec, buffer[i].timeval.tv_usec);
581 memcpy(&buffer[i].timeval, &buffer[i-1].timeval,
582 sizeof (struct timeval));
592 buffer[i].timeval.tv_sec, buffer[i].timeval.tv_usec);
604 buffer[i].timeval.tv_sec, buffer[i].timeval.tv_usec);
655 struct timeval *send_time; in calc_resp_time()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsirand/
H A Dfsirand.c72 struct timeval timeval; in main() local
131 (void) gettimeofday(&timeval, (struct timezone *)NULL); in main()
132 srand48((long)(timeval.tv_sec + timeval.tv_usec + n)); in main()
182 (void) gettimeofday(&timeval, (struct timezone *)NULL); in main()
183 fs->fs_id[0] = timeval.tv_sec; in main()
184 fs->fs_id[1] = timeval.tv_usec + getpid(); in main()
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dclnt_udp.c86 struct timeval cu_wait;
87 struct timeval cu_total;
118 struct timeval wait;
125 struct timeval now;
208 struct timeval wait;
236 struct timeval startime, curtime;
238 struct timeval time_waited;
239 struct timeval retransmit_time;
242 struct timeval timeout;
480 cu->cu_wait = *(struct timeval *)info;
[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()
167 struct timeval atv; in gettimeofday()
218 struct timeval now; in xgetitimer()
334 struct timeval now; in xsetitimer()
715 timeval_advance(struct timeval *valp, struct timeval *intervalp) in timeval_advance()
813 timevaladd(struct timeval *t1, struct timeval *t2) in timevaladd()
821 timevalsub(struct timeval *t1, struct timeval *t2) in timevalsub()
[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;
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()
907 timevaladd(struct timeval *t1, in timevaladd()
908 struct timeval *t2) in timevaladd()
921 timevalsub(struct timeval *t1, in timevalsub()
922 struct timeval *t2, in timevalsub()
[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/ucblib/libucb/port/sys/
H A Dgettimeofday.c53 extern int _gettimeofday(struct timeval *);
57 gettimeofday(struct timeval *tp, void *tzp) in gettimeofday()
72 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/lib/libnsl/rpc/
H A Dclnt_dg.c72 static bool_t time_not_ok(struct timeval *);
142 struct timeval now; in clnt_dg_create()
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()
277 struct timeval startime, curtime; in clnt_dg_call()
749 cu->cu_total = *(struct timeval *)info; in clnt_dg_control()
766 cu->cu_wait = *(struct timeval *)info; in clnt_dg_control()
770 *(struct timeval *)info = cu->cu_wait; in clnt_dg_control()
[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/lib/fm/libfmd_log/common/
H A Dfmd_filter.c84 uint64_t sec = ((struct timeval *)arg)->tv_sec; in fmd_log_filter_before()
85 uint64_t nsec = ((struct timeval *)arg)->tv_usec * (NANOSEC / MICROSEC); in fmd_log_filter_before()
93 uint64_t sec = ((struct timeval *)arg)->tv_sec; in fmd_log_filter_after()
94 uint64_t nsec = ((struct timeval *)arg)->tv_usec * (NANOSEC / MICROSEC); in fmd_log_filter_after()
/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/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/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/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/syscall/
H A Dadjtime.c46 adjtime(struct timeval *delta, struct timeval *olddelta) in adjtime()
48 struct timeval atv, oatv; in adjtime()
/illumos-gate/usr/src/uts/common/rpc/
H A Dauth_des.h87 struct timeval adv_ctime; /* clear time */
156 struct timeval *, struct timeval *);

12345678910>>...22