Searched refs:tvp (Results 1 - 25 of 81) sorted by relevance

1234

/freebsd-11-stable/usr.sbin/cxgbetool/
H A Dtcb_common.c42 extern void t4_display_tcb_aux_0(_TCBVAR *tvp,int aux);
43 extern void t4_display_tcb_aux_1(_TCBVAR *tvp,int aux);
44 extern void t4_display_tcb_aux_2(_TCBVAR *tvp,int aux);
45 extern void t4_display_tcb_aux_3(_TCBVAR *tvp,int aux);
50 extern void t5_display_tcb_aux_0(_TCBVAR *tvp,int aux);
51 extern void t5_display_tcb_aux_1(_TCBVAR *tvp,int aux);
52 extern void t5_display_tcb_aux_2(_TCBVAR *tvp,int aux);
53 extern void t5_display_tcb_aux_3(_TCBVAR *tvp,int aux);
58 extern void t6_display_tcb_aux_0(_TCBVAR *tvp,int aux);
59 extern void t6_display_tcb_aux_1(_TCBVAR *tvp,in
203 _TCBVAR *tvp=g_tcb_info; local
217 _TCBVAR *tvp; local
226 _TCBVAR *tvp; local
274 decompress_val(_TCBVAR *tvp,unsigned ulp_type,unsigned tx_max, unsigned rcv_nxt,unsigned rx_frag0_start_idx_raw) argument
323 get_tcb_field(_TCBVAR *tvp,unsigned char *buf) argument
423 display_tcb_compressed(_TCBVAR *tvp,int aux) argument
458 _TCBVAR *tvp=base_tvp; local
508 _TCBVAR *tvp=base_tvp; local
526 _TCBVAR *tvp=base_tvp; local
538 _TCBVAR *tvp=base_tvp; local
557 display_tcb(_TCBVAR *tvp,unsigned char *buf,int aux) argument
580 _TCBVAR *tvp=g_tcb_info; local
590 _TCBVAR *tvp=g_scb_info; local
608 _TCBVAR *tvp=g_fcb_info; local
[all...]
H A Dtcbshowt6.c37 void t6_display_tcb_aux_0 (_TCBVAR *tvp, int aux) argument
250 void t6_display_tcb_aux_1 (_TCBVAR *tvp, int aux) argument
262 void t6_display_tcb_aux_2 (_TCBVAR *tvp, int aux) argument
288 void t6_display_tcb_aux_3 (_TCBVAR *tvp, int aux) argument
428 void t6_display_tcb_aux_4 (_TCBVAR *tvp, int aux) argument
/freebsd-11-stable/contrib/tcpdump/
H A Dtimeval-operations.h41 #define netdissect_timevalclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0)
43 #define netdissect_timevalisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
45 #define netdissect_timevalcmp(tvp, uvp, cmp) \
46 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
47 ((tvp)->tv_usec cmp (uvp)->tv_usec) : \
48 ((tvp)
[all...]
H A Dutil-print.c326 register const struct timeval *tvp)
340 s = (tvp->tv_sec + thiszone) % 86400;
341 ND_PRINT((ndo, "%s ", ts_format(ndo, s, tvp->tv_usec, buf)));
349 tvp->tv_sec, tvp->tv_usec, buf)));
370 tv_ref = *tvp; /* set timestamp for first packet */
372 negative_offset = netdissect_timevalcmp(tvp, &tv_ref, <);
374 netdissect_timevalsub(&tv_ref, tvp, &tv_result, nano_prec);
376 netdissect_timevalsub(tvp, &tv_ref, &tv_result, nano_prec);
384 tv_ref = *tvp; /* se
325 ts_print(netdissect_options *ndo, register const struct timeval *tvp) argument
[all...]
/freebsd-11-stable/contrib/sendmail/include/sm/
H A Dtime.h21 # define timersub(tvp, uvp, vvp) \
24 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
25 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
35 # define timeradd(tvp, uvp, vvp) \
38 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
39 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
49 # define timercmp(tvp, uvp, cmp) \
50 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
51 ((tvp)->tv_usec cmp (uvp)->tv_usec) : \
52 ((tvp)
[all...]
/freebsd-11-stable/lib/libc/gen/
H A Dutime.c43 struct timeval tv[2], *tvp; local
49 tvp = tv;
51 tvp = NULL;
52 return (utimes(path, tvp));
/freebsd-11-stable/contrib/nvi/common/
H A Dutil.h70 #define timespecclear(tvp) ((tvp)->tv_sec = (tvp)->tv_nsec = 0)
71 #define timespecisset(tvp) ((tvp)->tv_sec || (tvp)->tv_nsec)
72 #define timespeccmp(tvp, uvp, cmp) \
73 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
74 ((tvp)->tv_nsec cmp (uvp)->tv_nsec) : \
75 ((tvp)
[all...]
/freebsd-11-stable/sys/sys/
H A Dtime.h292 #define timespecclear(tvp) ((tvp)->tv_sec = (tvp)->tv_nsec = 0)
293 #define timespecisset(tvp) ((tvp)->tv_sec || (tvp)->tv_nsec)
294 #define timespeccmp(tvp, uvp, cmp) \
295 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
296 ((tvp)->tv_nsec cmp (uvp)->tv_nsec) : \
297 ((tvp)
[all...]
H A Dtimeffc.h208 void ffclock_microtime(struct timeval *tvp);
212 void ffclock_getmicrotime(struct timeval *tvp);
216 void ffclock_microuptime(struct timeval *tvp);
220 void ffclock_getmicrouptime(struct timeval *tvp);
228 void ffclock_microdifftime(ffcounter ffdelta, struct timeval *tvp);
238 void fbclock_microtime(struct timeval *tvp);
242 void fbclock_getmicrotime(struct timeval *tvp);
246 void fbclock_microuptime(struct timeval *tvp);
250 void fbclock_getmicrouptime(struct timeval *tvp);
279 microtime_fromclock(struct timeval *tvp, in argument
309 getmicrotime_fromclock(struct timeval *tvp, int whichclock) argument
339 microuptime_fromclock(struct timeval *tvp, int whichclock) argument
369 getmicrouptime_fromclock(struct timeval *tvp, int whichclock) argument
[all...]
/freebsd-11-stable/usr.bin/truss/
H A Dtruss.h123 #define timespecsubt(tvp, uvp, vvp) \
125 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
126 (vvp)->tv_nsec = (tvp)->tv_nsec - (uvp)->tv_nsec; \
133 #define timespecadd(tvp, uvp, vvp) \
135 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
136 (vvp)->tv_nsec = (tvp)->tv_nsec + (uvp)->tv_nsec; \
/freebsd-11-stable/usr.bin/touch/
H A Dtouch.c218 stime_arg1(const char *arg, struct timespec *tvp) argument
270 tvp[0].tv_sec = tvp[1].tv_sec = mktime(t);
271 if (tvp[0].tv_sec == -1)
274 tvp[0].tv_nsec = tvp[1].tv_nsec = 0;
282 stime_arg2(const char *arg, int year, struct timespec *tvp) argument
303 tvp[0].tv_sec = tvp[1].tv_sec = mktime(t);
304 if (tvp[
312 stime_darg(const char *arg, struct timespec *tvp) argument
[all...]
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dnet_write.c55 struct timeval tv, *tvp; local
68 tvp = &tv;
70 tvp = NULL;
72 ret = select(fd + 1, NULL, &wfds, NULL, tvp);
/freebsd-11-stable/tools/build/
H A Dutimensat.c44 struct timeval now, tv[2], *tvp; local
54 tvp = NULL;
75 tvp = tv;
100 return (futimesat(fd, path, tvp));
103 return (lutimes(path, tvp));
H A Dfutimens.c44 struct timeval now, tv[2], *tvp; local
50 tvp = NULL;
71 tvp = tv;
95 return (futimes(fd, tvp));
/freebsd-11-stable/contrib/ntp/sntp/libevent/include/event2/
H A Dutil.h486 #define evutil_timeradd(tvp, uvp, vvp) timeradd((tvp), (uvp), (vvp))
487 #define evutil_timersub(tvp, uvp, vvp) timersub((tvp), (uvp), (vvp))
489 #define evutil_timeradd(tvp, uvp, vvp) \
491 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
492 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
498 #define evutil_timersub(tvp, uvp, vvp) \
500 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
501 (vvp)->tv_usec = (tvp)
[all...]
/freebsd-11-stable/lib/libc/sys/
H A Dfutimens.c43 struct timeval now, tv[2], *tvp; local
54 tvp = NULL;
75 tvp = tv;
99 return (futimes(fd, tvp));
H A Dutimensat.c43 struct timeval now, tv[2], *tvp; local
58 tvp = NULL;
79 tvp = tv;
104 return (futimesat(fd, path, tvp));
107 return (lutimes(path, tvp));
/freebsd-11-stable/contrib/ntp/libntp/
H A Dmachines.c119 struct timeval *tvp
126 return (get_process_stats(tvp, PS_SELF, (struct procstats *) 0,
349 int gettimeofday(struct timeval *tvp) argument
371 tvp->tv_sec = mpetime / 1000000LL;
372 tvp->tv_usec = mpetime % 1000000LL;
383 int settimeofday(struct timeval *tvp) argument
399 big_sec = tvp->tv_sec;
400 big_usec = tvp->tv_usec;
432 struct timeval *tvp,
449 ts.tv_sec = tvp
431 ntp_set_tod( struct timeval *tvp, void *tzp ) argument
[all...]
/freebsd-11-stable/usr.sbin/lpr/lpc/
H A Dmovejobs.c115 struct timeval tvp[2]; local
151 tvp[0].tv_sec = tvp[1].tv_sec = ++touch_info->newtime;
152 tvp[0].tv_usec = tvp[1].tv_usec = 0;
154 ret = utimes(jq->job_cfname, tvp);
/freebsd-11-stable/sys/ufs/ufs/
H A Dufs_vnops.c1097 struct vnode *tvp = ap->a_tvp; local
1121 if (tvp && tvp != tdvp)
1122 VOP_UNLOCK(tvp, 0);
1127 (tvp && (fvp->v_mount != tvp->v_mount))) {
1134 * We need to acquire 2 to 4 locks depending on whether tvp is NULL
1184 * Re-resolve tvp and acquire the vnode lock if present.
1194 * If tvp disappeared we just carry on.
1196 if (error == EJUSTRETURN && tvp !
1565 ufs_do_posix1e_acl_inheritance_dir(struct vnode *dvp, struct vnode *tvp, mode_t dmode, struct ucred *cred, struct thread *td) argument
1643 ufs_do_posix1e_acl_inheritance_file(struct vnode *dvp, struct vnode *tvp, mode_t mode, struct ucred *cred, struct thread *td) argument
1722 ufs_do_nfs4_acl_inheritance(struct vnode *dvp, struct vnode *tvp, mode_t child_mode, struct ucred *cred, struct thread *td) argument
1763 struct vnode *tvp; local
2532 struct vnode *tvp; local
[all...]
/freebsd-11-stable/sys/kern/
H A Dkern_ffclock.c261 ffclock_microtime(struct timeval *tvp) argument
266 bintime2timeval(&bt, tvp);
288 ffclock_getmicrotime(struct timeval *tvp) argument
294 bintime2timeval(&bt, tvp);
314 ffclock_microuptime(struct timeval *tvp) argument
319 bintime2timeval(&bt, tvp);
341 ffclock_getmicrouptime(struct timeval *tvp) argument
347 bintime2timeval(&bt, tvp);
367 ffclock_microdifftime(ffcounter ffdelta, struct timeval *tvp) argument
372 bintime2timeval(&bt, tvp);
[all...]
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-poll.c47 struct timeval tv, *tvp = NULL; local
86 tvp = &tv;
89 ret = select(maxfd + 1, readfds, writefds, exceptfds, tvp);
/freebsd-11-stable/libexec/rpc.sprayd/
H A Dsprayd.c52 #define timersub(tvp, uvp, vvp) \
54 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
55 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
/freebsd-11-stable/contrib/apr/file_io/unix/
H A Dfilestat.c254 struct timeval tvp[2]; local
256 tvp[0].tv_sec = apr_time_sec(finfo.atime);
257 tvp[0].tv_usec = apr_time_usec(finfo.atime);
258 tvp[1].tv_sec = apr_time_sec(mtime);
259 tvp[1].tv_usec = apr_time_usec(mtime);
261 if (utimes(fname, tvp) == -1) {
/freebsd-11-stable/sys/fs/unionfs/
H A Dunion_vnops.c850 struct vnode *tvp; local
857 tvp = (unp->un_uppervp != NULLVP ? unp->un_uppervp : unp->un_lowervp);
859 error = VOP_READ(tvp, ap->a_uio, ap->a_ioflag, ap->a_cred);
871 struct vnode *tvp; local
878 tvp = (unp->un_uppervp != NULLVP ? unp->un_uppervp : unp->un_lowervp);
880 error = VOP_WRITE(tvp, ap->a_uio, ap->a_ioflag, ap->a_cred);
1109 struct vnode *tvp; local
1132 tvp = ap->a_tvp;
1140 rtvp = tvp;
1150 (tvp !
2228 struct vnode *tvp; local
2261 struct vnode *tvp; local
[all...]

Completed in 368 milliseconds

1234