Home
last modified time | relevance | path

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

12345678910>>...26

/onnv-gate/usr/src/cmd/csh/
H A Dsh.time.c21 void prusage(struct rusage *r0, struct rusage *r1, struct timeval *e,
22 struct timeval *b);
23 void pdeltat(struct timeval *t1, struct timeval *t0);
24 void tvadd(struct timeval *tsum, struct timeval *t0);
25 void tvsub(struct timeval *tdiff, struct timeval *t1, struct timeval *t0);
52 struct timeval timedol; in dotime()
121 prusage(struct rusage *r0, struct rusage *r1, struct timeval *e, in prusage()
122 struct timeval *b) in prusage()
222 pdeltat(struct timeval *t1, struct timeval *t0) in pdeltat()
224 struct timeval td; in pdeltat()
[all …]
/onnv-gate/usr/src/lib/libnisdb/yptol/
H A Dttl_utils.c51 suc_code is_greater_timeval(struct timeval *, struct timeval *);
52 suc_code add_to_timeval(struct timeval *, int);
71 struct timeval now; in has_entry_expired()
72 struct timeval old_time; in has_entry_expired()
112 if (ttl.dsize != sizeof (struct timeval)) { in has_entry_expired()
145 bcopy(ttl.dptr, &old_time, sizeof (struct timeval)); in has_entry_expired()
192 struct timeval now; in update_entry_ttl()
205 expire.dsize = sizeof (struct timeval); in update_entry_ttl()
286 add_to_timeval(struct timeval *t1, int t2) in add_to_timeval()
289 struct timeval oldval; in add_to_timeval()
[all …]
/onnv-gate/usr/src/uts/common/sys/
H A Dtime.h44 struct timeval { struct
200 struct timeval it_interval; /* timer interval */
201 struct timeval it_value; /* current value */
353 extern void hrt2tv(hrtime_t, struct timeval *);
354 extern hrtime_t tv2hrt(struct timeval *);
355 extern int itimerfix(struct timeval *, int);
357 extern void timevaladd(struct timeval *, struct timeval *);
358 extern void timevalsub(struct timeval *, struct timeval *);
359 extern void timevalfix(struct timeval *);
373 int adjtime(struct timeval *, struct timeval *);
[all …]
/onnv-gate/usr/src/head/
H A Dmetacl.x124 %extern const struct timeval md_mdc_def_timeout;
125 %extern const struct timeval md_mdc_pmap_timeout;
126 %extern const struct timeval md_mdc_proxy_timeout;
142 %const struct timeval md_mdc_def_timeout = MD_MDC_DEF_TO;
143 %const struct timeval md_mdc_pmap_timeout = MD_MDC_PMAP_TO;
144 %const struct timeval md_mdc_proxy_timeout = MD_MDC_PROXY_TO;
/onnv-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 *);
/onnv-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()
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,
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);
[all …]
/onnv-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()
/onnv-gate/usr/src/lib/libc/i386/sys/
H A Dgettimeofday.s34 / implements int gettimeofday(struct timeval *tp, void *tzp)
47 / to by struct timeval * argument.
49 movl 4(%esp), %ecx / put ptr to timeval in %ecx
51 movl %eax, (%ecx) / store seconds into timeval ptr
/onnv-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;
224 struct timeval utimeout; /* seconds to wait before giving up */
236 struct timeval startime, curtime;
238 struct timeval time_waited;
239 struct timeval retransmit_time;
242 struct timeval timeout;
[all …]
/onnv-gate/usr/src/uts/common/os/
H A Dtimers.c49 static void timeval_advance(struct timeval *, struct timeval *);
85 uniqtime(struct timeval *tv) in uniqtime()
87 static struct timeval last; in uniqtime()
157 struct timeval tv; in uniqtime32()
164 gettimeofday(struct timeval *tp) in gettimeofday()
166 struct timeval atv; in gettimeofday()
217 struct timeval now; in xgetitimer()
333 struct timeval now; in xsetitimer()
589 struct timeval *valp = &p->p_realitimer.it_value; in realitexpire()
590 struct timeval *intervalp = &p->p_realitimer.it_interval; in realitexpire()
[all …]
/onnv-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()
/onnv-gate/usr/src/lib/lvm/libmeta/common/
H A Dmetarpcopen.c48 struct timeval cc_ttl;
79 struct timeval now; in cc_add()
161 struct timeval nto; in cl_sto()
184 struct timeval *tout in client_create_vers_retry()
198 client_create_helper(char *hostname, void *private, struct timeval *time_out) in client_create_helper()
249 struct timeval curtime; in meta_client_create_retry()
251 struct timeval start; in meta_client_create_retry()
252 struct timeval timeout; in meta_client_create_retry()
336 struct timeval now; in metarpcopen()
/onnv-gate/usr/src/uts/common/sys/lvm/
H A Dmetamed.x141 struct timeval med_dat_id;
231 %const struct timeval md_med_def_timeout = MD_MED_DEF_TO;
232 %const struct timeval md_med_pmap_timeout = MD_MED_PMAP_TO;
241 %extern const struct timeval md_med_def_timeout;
242 %extern const struct timeval md_med_pmap_timeout;
/onnv-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 …]
/onnv-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_clnt.h50 caddr_t, xdrproc_t, caddr_t, struct timeval *);
53 struct timeval *);
55 xdrproc_t, caddr_t, struct timeval *);
/onnv-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 */
/onnv-gate/usr/src/lib/libc/port/sys/
H A Dutimesys.c71 utimes(const char *path, const struct timeval times[2]) in utimes()
73 struct timeval ltimes[2]; in utimes()
94 futimesat(int fd, const char *path, const struct timeval times[2]) in futimesat()
96 struct timeval ltimes[2]; in futimesat()
/onnv-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()
/onnv-gate/usr/src/uts/common/avs/ncall/
H A Dncall_module.h52 int (*ncall_timedsend)(ncall_t *, int, int, struct timeval *,
54 int (*ncall_timedsendnotify)(ncall_t *, int, int, struct timeval *,
56 int (*ncall_broadcast)(ncall_t *, int, int, struct timeval *,
H A Dncall.h65 extern int ncall_timedsend(ncall_t *, int, int, struct timeval *, ...);
66 extern int ncall_timedsendnotify(ncall_t *, int, int, struct timeval *,
68 extern int ncall_broadcast(ncall_t *, int, int, struct timeval *, ...);
/onnv-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,
/onnv-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_dg.c58 extern int __rpc_timeval_to_msec(struct timeval *);
66 static bool_t time_not_ok(struct timeval *);
98 struct timeval cu_wait; /* retransmit interval */
99 struct timeval cu_total; /* total time for the call */
136 struct timeval now; in clnt_dg_create()
259 xdrproc_t xresults, caddr_t resultsp, struct timeval utimeout) in clnt_dg_call()
267 struct timeval time_waited; in clnt_dg_call()
270 struct timeval timeout; in clnt_dg_call()
271 struct timeval retransmit_time; in clnt_dg_call()
272 struct timeval poll_time; in clnt_dg_call()
[all …]
/onnv-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 */
/onnv-gate/usr/src/lib/libshell/common/features/
H A Dtime3 mem timeval.tv_usec sys/time.h
9 struct timeval tv;
19 struct timeval tv;

12345678910>>...26