Home
last modified time | relevance | path

Searched refs:tvp (Results 1 – 25 of 77) sorted by relevance

1234

/freebsd/usr.sbin/cxgbetool/
H A Dtcb_common.c40 extern void t4_display_tcb_aux_0(_TCBVAR *tvp,int aux);
41 extern void t4_display_tcb_aux_1(_TCBVAR *tvp,int aux);
42 extern void t4_display_tcb_aux_2(_TCBVAR *tvp,int aux);
43 extern void t4_display_tcb_aux_3(_TCBVAR *tvp,int aux);
48 extern void t5_display_tcb_aux_0(_TCBVAR *tvp,int aux);
49 extern void t5_display_tcb_aux_1(_TCBVAR *tvp,int aux);
50 extern void t5_display_tcb_aux_2(_TCBVAR *tvp,int aux);
51 extern void t5_display_tcb_aux_3(_TCBVAR *tvp,int aux);
56 extern void t6_display_tcb_aux_0(_TCBVAR *tvp,int aux);
57 extern void t6_display_tcb_aux_1(_TCBVAR *tvp,int aux);
[all …]
H A Dtcbshowt6.c35 void t6_display_tcb_aux_0 (_TCBVAR *tvp, int aux) in t6_display_tcb_aux_0() argument
248 void t6_display_tcb_aux_1 (_TCBVAR *tvp, int aux) in t6_display_tcb_aux_1() argument
260 void t6_display_tcb_aux_2 (_TCBVAR *tvp, int aux) in t6_display_tcb_aux_2() argument
286 void t6_display_tcb_aux_3 (_TCBVAR *tvp, int aux) in t6_display_tcb_aux_3() argument
426 void t6_display_tcb_aux_4 (_TCBVAR *tvp, int aux) in t6_display_tcb_aux_4() argument
/freebsd/contrib/tcpdump/
H A Dtimeval-operations.h36 #define netdissect_timevalclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0) argument
38 #define netdissect_timevalisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec) argument
40 #define netdissect_timevalcmp(tvp, uvp, cmp) \ argument
41 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
42 ((tvp)->tv_usec cmp (uvp)->tv_usec) : \
43 ((tvp)->tv_sec cmp (uvp)->tv_sec))
45 #define netdissect_timevaladd(tvp, uvp, vvp, nano_prec) \ argument
47 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
48 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
62 #define netdissect_timevalsub(tvp, uvp, vvp, nano_prec) \ argument
[all …]
H A Dutil-print.c289 const struct timeval *tvp) in ts_print() argument
299 ts_date_hmsfrac_print(ndo, tvp, WITHOUT_DATE, LOCAL_TIME); in ts_print()
307 ts_unix_print(ndo, tvp); in ts_print()
329 tv_ref = *tvp; /* set timestamp for first packet */ in ts_print()
331 negative_offset = netdissect_timevalcmp(tvp, &tv_ref, <); in ts_print()
333 netdissect_timevalsub(&tv_ref, tvp, &tv_result, nano_prec); in ts_print()
335 netdissect_timevalsub(tvp, &tv_ref, &tv_result, nano_prec); in ts_print()
342 tv_ref = *tvp; /* set timestamp for previous packet */ in ts_print()
346 ts_date_hmsfrac_print(ndo, tvp, WITH_DATE, LOCAL_TIME); in ts_print()
/freebsd/sys/sys/
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, int whichclock) in microtime_fromclock() argument
[all …]
H A Dtime.h393 #define timespecclear(tvp) ((tvp)->tv_sec = (tvp)->tv_nsec = 0) argument
394 #define timespecisset(tvp) ((tvp)->tv_sec || (tvp)->tv_nsec) argument
395 #define timespeccmp(tvp, uvp, cmp) \ argument
396 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
397 ((tvp)->tv_nsec cmp (uvp)->tv_nsec) : \
398 ((tvp)->tv_sec cmp (uvp)->tv_sec))
425 #define timevalclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0) argument
426 #define timevalisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec) argument
427 #define timevalcmp(tvp, uvp, cmp) \ argument
428 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
[all …]
/freebsd/contrib/sendmail/include/sm/
H A Dtime.h20 # define timersub(tvp, uvp, vvp) \ argument
23 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
24 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
34 # define timeradd(tvp, uvp, vvp) \ argument
37 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
38 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
48 # define timercmp(tvp, uvp, cmp) \ argument
49 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
50 ((tvp)->tv_usec cmp (uvp)->tv_usec) : \
51 ((tvp)->tv_sec cmp (uvp)->tv_sec))
/freebsd/contrib/ntp/sntp/libevent/include/event2/
H A Dutil.h529 #define evutil_timeradd(tvp, uvp, vvp) timeradd((tvp), (uvp), (vvp)) argument
530 #define evutil_timersub(tvp, uvp, vvp) timersub((tvp), (uvp), (vvp)) argument
532 #define evutil_timeradd(tvp, uvp, vvp) \ argument
534 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
535 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
541 #define evutil_timersub(tvp, uvp, vvp) \ argument
543 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
544 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
553 #define evutil_timerclear(tvp) timerclear(tvp) argument
555 #define evutil_timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0 argument
[all …]
/freebsd/contrib/libevent/include/event2/
H A Dutil.h529 #define evutil_timeradd(tvp, uvp, vvp) timeradd((tvp), (uvp), (vvp)) argument
530 #define evutil_timersub(tvp, uvp, vvp) timersub((tvp), (uvp), (vvp)) argument
532 #define evutil_timeradd(tvp, uvp, vvp) \ argument
534 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
535 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
541 #define evutil_timersub(tvp, uvp, vvp) \ argument
543 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
544 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
553 #define evutil_timerclear(tvp) timerclear(tvp) argument
555 #define evutil_timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0 argument
[all …]
/freebsd/sys/ufs/ufs/
H A Dufs_vnops.c1260 struct vnode *tvp = ap->a_tvp; in ufs_rename()
1283 if (tvp && tvp != tdvp) in ufs_rename()
1284 VOP_UNLOCK(tvp); in ufs_rename()
1289 (tvp && (fvp->v_mount != tvp->v_mount))) { in ufs_rename()
1298 * We need to acquire 2 to 4 locks depending on whether tvp is NULL in ufs_rename()
1348 * Re-resolve tvp and acquire the vnode lock if present. in ufs_rename()
1358 * If tvp disappeared we just carry on. in ufs_rename()
1360 if (error == EJUSTRETURN && tvp ! in ufs_rename()
1258 struct vnode *tvp = ap->a_tvp; ufs_rename() local
1810 ufs_do_posix1e_acl_inheritance_dir(struct vnode * dvp,struct vnode * tvp,mode_t dmode,struct ucred * cred,struct thread * td) ufs_do_posix1e_acl_inheritance_dir() argument
1888 ufs_do_posix1e_acl_inheritance_file(struct vnode * dvp,struct vnode * tvp,mode_t mode,struct ucred * cred,struct thread * td) ufs_do_posix1e_acl_inheritance_file() argument
1967 ufs_do_nfs4_acl_inheritance(struct vnode * dvp,struct vnode * tvp,mode_t child_mode,struct ucred * cred,struct thread * td) ufs_do_nfs4_acl_inheritance() argument
2008 struct vnode *tvp; ufs_mkdir() local
2780 struct vnode *tvp; ufs_makeinode() local
[all...]
/freebsd/usr.bin/touch/
H A Dtouch.c214 stime_arg1(const char *arg, struct timespec *tvp) in stime_arg1() argument
267 tvp[0].tv_sec = tvp[1].tv_sec = mktime(t); in stime_arg1()
271 tvp[0].tv_nsec = tvp[1].tv_nsec = 0; in stime_arg1()
280 stime_arg2(const char *arg, int year, struct timespec *tvp) in stime_arg2() argument
302 tvp[0].tv_sec = tvp[1].tv_sec = mktime(t); in stime_arg2()
307 tvp[0].tv_nsec = tvp[1].tv_nsec = 0; in stime_arg2()
311 stime_darg(const char *arg, struct timespec *tvp) in stime_darg() argument
318 tvp[0].tv_nsec = 0; in stime_darg()
333 tvp[0].tv_nsec += val * (*p - '0'); in stime_darg()
346 tvp[0].tv_sec = isutc ? timegm(&t) : mktime(&t); in stime_darg()
[all …]
/freebsd/contrib/nvi/common/
H A Dutil.h68 #define timespecclear(tvp) ((tvp)->tv_sec = (tvp)->tv_nsec = 0) argument
69 #define timespecisset(tvp) ((tvp)->tv_sec || (tvp)->tv_nsec) argument
70 #define timespeccmp(tvp, uvp, cmp) \ argument
71 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
72 ((tvp)->tv_nsec cmp (uvp)->tv_nsec) : \
73 ((tvp)->tv_sec cmp (uvp)->tv_sec))
/freebsd/sys/fs/unionfs/
H A Dunion_vnops.c1112 struct vnode *tvp; in unionfs_read() local
1120 tvp = (unp->un_uppervp != NULLVP ? unp->un_uppervp : unp->un_lowervp); in unionfs_read()
1122 error = VOP_READ(tvp, ap->a_uio, ap->a_ioflag, ap->a_cred); in unionfs_read()
1133 struct vnode *tvp; in unionfs_write() local
1142 tvp = (unp->un_uppervp != NULLVP ? unp->un_uppervp : unp->un_lowervp); in unionfs_write()
1144 unionfs_forward_vop_start(tvp, &lkflags); in unionfs_write()
1145 error = VOP_WRITE(tvp, ap->a_uio, ap->a_ioflag, ap->a_cred); in unionfs_write()
1146 unionfs_forward_vop_finish(ap->a_vp, tvp, lkflags); in unionfs_write()
1357 struct vnode *tvp; in unionfs_rename() local
1377 tvp = ap->a_tvp; in unionfs_rename()
[all …]
/freebsd/contrib/ntp/libntp/
H A Dmachines.c118 struct timeval *tvp in gettimeofday()
125 return (get_process_stats(tvp, PS_SELF, (struct procstats *) 0, in gettimeofday()
348 int gettimeofday(struct timeval *tvp)
370 tvp->tv_sec = mpetime / 1000000LL; in gettimeofday()
371 tvp->tv_usec = mpetime % 1000000LL; in gettimeofday()
382 int settimeofday(struct timeval *tvp)
398 big_sec = tvp->tv_sec; in settimeofday()
399 big_usec = tvp->tv_usec; in settimeofday()
431 struct timeval *tvp, in ntp_set_tod()
448 ts.tv_sec = tvp in ntp_set_tod()
119 gettimeofday(struct timeval * tvp) gettimeofday() argument
349 gettimeofday(struct timeval * tvp) gettimeofday() argument
383 settimeofday(struct timeval * tvp) settimeofday() argument
432 ntp_set_tod(struct timeval * tvp,void * tzp) ntp_set_tod() argument
[all...]
/freebsd/lib/libc/gen/
H A Dutime.c39 struct timeval tv[2], *tvp; in utime() local
45 tvp = tv; in utime()
47 tvp = NULL; in utime()
48 return (utimes(path, tvp)); in utime()
/freebsd/sys/kern/
H A Dkern_ffclock.c262 ffclock_microtime(struct timeval *tvp) in ffclock_microtime() argument
267 bintime2timeval(&bt, tvp); in ffclock_microtime()
289 ffclock_getmicrotime(struct timeval *tvp) in ffclock_getmicrotime() argument
295 bintime2timeval(&bt, tvp); in ffclock_getmicrotime()
315 ffclock_microuptime(struct timeval *tvp) in ffclock_microuptime() argument
320 bintime2timeval(&bt, tvp); in ffclock_microuptime()
342 ffclock_getmicrouptime(struct timeval *tvp) in ffclock_getmicrouptime() argument
348 bintime2timeval(&bt, tvp); in ffclock_getmicrouptime()
368 ffclock_microdifftime(ffcounter ffdelta, struct timeval *tvp) in ffclock_microdifftime() argument
373 bintime2timeval(&bt, tvp); in ffclock_microdifftime()
H A Dvfs_cache.c3049 struct vnode *tvp, struct componentname *fcnp, struct componentname *tcnp) in cache_vop_rename() argument
3055 if (tvp != NULL) in cache_vop_rename()
3056 ASSERT_VOP_IN_SEQC(tvp); in cache_vop_rename()
3059 if (tvp != NULL) { in cache_vop_rename()
3060 cache_purge(tvp); in cache_vop_rename()
3592 struct vnode *tvp; in vn_fullpath_any_smr() local
3648 tvp = atomic_load_ptr(&mp->mnt_vnodecovered); in vn_fullpath_any_smr()
3649 tvp_seqc = vn_seqc_read_any(tvp); in vn_fullpath_any_smr()
3658 vp = tvp; in vn_fullpath_any_smr()
3681 tvp = ncp->nc_dvp; in vn_fullpath_any_smr()
[all …]
/freebsd/usr.sbin/lpr/lpc/
H A Dmovejobs.c113 struct timeval tvp[2]; in touch_jqe() local
149 tvp[0].tv_sec = tvp[1].tv_sec = ++touch_info->newtime; in touch_jqe()
150 tvp[0].tv_usec = tvp[1].tv_usec = 0; in touch_jqe()
152 ret = utimes(jq->job_cfname, tvp); in touch_jqe()
/freebsd/tools/build/
H A Dutimensat.c42 struct timeval now, tv[2], *tvp; in utimensat() local
52 tvp = NULL; in utimensat()
73 tvp = tv; in utimensat()
98 return (futimesat(fd, path, tvp)); in utimensat()
101 return (lutimes(path, tvp)); in utimensat()
H A Dfutimens.c42 struct timeval now, tv[2], *tvp; in futimens() local
48 tvp = NULL; in futimens()
69 tvp = tv; in futimens()
93 return (futimes(fd, tvp)); in futimens()
/freebsd/sys/fs/ext2fs/
H A Dext2_vnops.c784 struct vnode *tvp = ap->a_tvp; in ext2_rename() local
800 (tvp && (fvp->v_mount != tvp->v_mount))) { in ext2_rename()
803 if (tdvp == tvp) in ext2_rename()
807 if (tvp) in ext2_rename()
808 vput(tvp); in ext2_rename()
814 if (tvp && ((VTOI(tvp)->i_flags & (NOUNLINK | IMMUTABLE | APPEND)) || in ext2_rename()
824 if (fvp == tvp) { in ext2_rename()
870 if (tvp) in ext2_rename()
871 xp = VTOI(tvp); in ext2_rename()
904 vput(tvp); in ext2_rename()
[all …]
/freebsd/crypto/heimdal/lib/krb5/
H A Dnet_write.c55 struct timeval tv, *tvp; in krb5_net_write_block() local
68 tvp = &tv; in krb5_net_write_block()
70 tvp = NULL; in krb5_net_write_block()
72 ret = select(fd + 1, NULL, &wfds, NULL, tvp); in krb5_net_write_block()
/freebsd/sys/fs/msdosfs/
H A Dmsdosfs_vnops.c943 struct vnode *fdvp, *fvp, *tdvp, *tvp, *vp; in msdosfs_rename() local
959 tvp = ap->a_tvp; in msdosfs_rename()
968 (tvp != NULL && fvp->v_mount != tvp->v_mount)) { in msdosfs_rename()
976 if (tvp == fvp) { in msdosfs_rename()
986 if (tvp != NULL && tvp != tdvp) in msdosfs_rename()
987 VOP_UNLOCK(tvp); in msdosfs_rename()
1037 if (error == EJUSTRETURN && tvp != NULL) { in msdosfs_rename()
1038 vrele(tvp); in msdosfs_rename()
1039 tvp = NULL; in msdosfs_rename()
1045 if (tvp != NULL) { in msdosfs_rename()
[all …]
/freebsd/cddl/usr.sbin/dwatch/libexec/
H A Dvop_rename39 this->tvp = args[1] ? args[1]->a_tdvp : NULL;
40 this->tncp = this->tvp != NULL ?
41 this->tvp->v_cache_dst.tqh_first : 0;
46 this->tmount = this->tvp != NULL ?
47 this->tvp->v_mount : NULL; /* ptr to vfs we are in */
52 this->td_name = this->tvp != NULL ? (
53 this->tvp->v_cache_dd != NULL ?
54 stringof(this->tvp->v_cache_dd->nc_name) : ""
84 $PROBE /this->tvp == 0 || this->tfi_fs == 0 ||
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-pselect.c160 struct timeval tv, *tvp = NULL; in pselect() local
165 tvp = &tv; in pselect()
168 return select(nfds, readfds, writefds, exceptfds, tvp); in pselect()
196 ret = select(nfds, readfds, writefds, exceptfds, tvp); in pselect()

1234