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

/darwin-on-arm/xnu/bsd/sys/
H A Dtime.h171 #define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
172 #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
173 #define timercmp(tvp, uvp, cmp) \
174 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
175 ((tvp)->tv_usec cmp (uvp)->tv_usec) : \
176 ((tvp)
[all...]
H A Dvnode_internal.h424 struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp,
H A Dvnode_if.h540 @param tvp Second vnode.
714 @param tvp Existing file with same name as target, should one exist.
744 vnode_t tvp, /* Vnode to rename over (can be NULL) */
/darwin-on-arm/xnu/bsd/net/
H A Ddlil.h73 #define net_timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_nsec = 0
75 #define net_timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_nsec)
77 #define net_timercmp(tvp, uvp, cmp) \
78 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
79 ((tvp)->tv_nsec cmp (uvp)->tv_nsec) : \
80 ((tvp)
[all...]
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_lookup.c157 struct vnode *tvp; /* target vnode */ local
177 tvp = NULL;
315 if ((retval = hfs_vget(hfsmp, hfs_currentparent(VTOC(dvp)), &tvp, 0, 0))) {
319 *vpp = tvp;
335 retval = hfs_getnewvnode(hfsmp, dvp, cnp, &desc, 0, &attr, &fork, &tvp, &newvnode_flags);
404 if ((nameiop == LOOKUP) && (VTOC(tvp)->c_flag & C_HARDLINK)) {
405 hfs_savelinkorigin(VTOC(tvp), VTOC(dvp)->c_fileid);
408 *vpp = tvp;
H A Dhfs_vnops.c2718 * Even though hfs_vnop_rename calls vnode_recycle for us on tvp we call
3600 struct vnode *tvp = ap->a_tvp; local
3634 if (tvp && VTOC(tvp)) {
3635 orig_to_ctime = VTOC(tvp)->c_ctime;
3642 * Do special case checks here. If fvp == tvp then we need to check the
3645 if (fvp == tvp) {
3668 * is off, and the case folded names are the same. See the fvp == tvp case below for more
3685 if (tvp && VTOC(tvp)) {
5071 struct vnode *tvp; local
[all...]
H A Dhfs_cnode.c971 struct vnode *tvp = NULLVP; local
1235 if ( (tvp = cp->c_vp) != NULLVP )
1244 if ( (tvp = cp->c_rsrc_vp) != NULLVP)
1248 if (tvp != NULLVP) {
1270 if ( vnode_get(tvp) != 0)
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_time.c642 * to which tvp points.
646 struct timeval *tvp)
653 tvp->tv_sec = tv_sec;
654 tvp->tv_usec = tv_usec;
659 struct timeval *tvp)
666 tvp->tv_sec = tv_sec;
667 tvp->tv_usec = tv_usec;
701 struct timeval *tvp)
706 tvp->tv_sec, NSEC_PER_SEC, &result);
708 tvp
645 microtime( struct timeval *tvp) argument
658 microuptime( struct timeval *tvp) argument
700 tvtoabstime( struct timeval *tvp) argument
[all...]
H A Dkern_exit.c436 vnode_t tvp = NULLVP; local
725 tvp = p->p_textvp;
727 if (tvp != NULLVP) {
728 vnode_rele(tvp);
1701 vnode_t tvp; local
1853 tvp = p->p_textvp;
1855 if (tvp != NULLVP) {
1856 vnode_rele(tvp);
H A Dkern_proc.c1743 vnode_t tvp; local
1848 tvp = pt->p_textvp;
1849 vid = vnode_vid(tvp);
1851 if (tvp == NULLVP) {
1863 error = vnode_getwithvid(tvp, vid);
1867 error = vn_getpath(tvp, buf, &len);
1868 vnode_put(tvp);
1888 tvp = pt->p_textvp;
1891 if (tvp == NULLVP || usize != SHA1_RESULTLEN) {
1896 error = vn_getcdhash(tvp, tof
[all...]
H A Dproc_info.c900 vnode_t tvp; local
905 tvp = p->p_textvp;
907 if (tvp == NULLVP)
915 vid = vnode_vid(tvp);
916 error = vnode_getwithvid(tvp, vid);
918 error = vn_getpath_fsenter(tvp, buf, &len);
919 vnode_put(tvp);
H A Duipc_usrreq.c842 struct vnode *tvp = NULL; local
852 tvp = unp->unp_vnode;
857 if (tvp != NULL)
858 vnode_rele(tvp); /* drop the usecount */
H A Dkern_exec.c3807 vnode_t tvp = p->p_textvp; local
3827 if ( tvp != NULLVP) {
3828 if (vnode_getwithref(tvp) == 0) {
3829 vnode_rele(tvp);
3830 vnode_put(tvp);
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_cache.c205 vnode_t vp, tvp; local
330 /* The code below will exit early if 'tvp = vp' == NULL */
452 tvp = vp;
454 while (tvp) {
455 if (tvp == proc_root_dir_vp)
458 if (!(tvp->v_flag & VROOT) || !tvp->v_mount)
460 tvp = tvp->v_mount->mnt_vnodecovered;
462 if (tvp
[all...]
H A Dvfs_syscalls.c1553 vnode_t tvp; local
1577 tvp = fdp->fd_cdir;
1580 vnode_rele(tvp);
1584 tvp = fdp->fd_rdir;
1587 vnode_rele(tvp);
1609 vnode_t tvp; local
1636 tvp = rootvnode;
1638 vnode_rele(tvp);
2643 vnode_t tvp; local
2659 tvp
2767 vnode_t tvp; local
2866 vnode_t tvp; local
5865 vnode_t tvp, fvp, tdvp, sdvp; local
5949 vnode_t tvp, tdvp; local
6984 struct vnode *tvp = vp; local
[all...]
H A Dkpi_vfs.c3918 *#% exchange tvp L L L
3930 VNOP_EXCHANGE(vnode_t fvp, vnode_t tvp, int options, vfs_context_t ctx) argument
3942 a.a_tvp = tvp;
3952 if (fvp < tvp) {
3954 lock_second = tvp;
3956 lock_first = tvp;
3980 post_event_if_success(tvp, _err, NOTE_ATTRIB);
4609 *#% rename tvp X U U
4625 struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp,
4643 a.a_tvp = tvp;
4624 VNOP_RENAME(struct vnode *fdvp, struct vnode *fvp, struct componentname *fcnp, struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp, vfs_context_t ctx) argument
6007 VNOP_COPYFILE(struct vnode *fvp, struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp, int mode, int flags, vfs_context_t ctx) argument
[all...]
H A Dvfs_subr.c5513 struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp,
5537 if (tvp == NULLVP && vnode_compound_rename_available(tdvp)) {
5552 tdvp, tvp, fdvp == tdvp, tcnp);
5559 if (tvp != NULL) {
5560 if (fvp->v_type == VDIR && tvp->v_type != VDIR) {
5563 } else if (fvp->v_type != VDIR && tvp->v_type == VDIR) {
5587 * o tvp
5598 if ((tvp != NULL) && vnode_isdir(tvp)) {
5599 if (tvp !
5512 vn_authorize_rename(struct vnode *fdvp, struct vnode *fvp, struct componentname *fcnp, struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp, vfs_context_t ctx, void *reserved) argument
[all...]
/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit_bsd.c584 #define timersub(tvp, uvp, vvp) \
586 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
587 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_serv.c2523 vnode_t fvp, tvp, tdvp, fdvp, fdirp, tdirp; local
2556 fvp = tvp = NULL;
2647 tvp = toni.ni_vp;
2671 if (tvp != NULL) {
2672 tvtype = vnode_vtype(tvp);
2687 if (tvtype == VDIR && vnode_mountedhere(tvp)) {
2706 * If tvp is a directory and not the same as fdvp, or tdvp is not the same as fdvp,
2710 * If tvp already exists and is not a directory, we need to be allowed to delete it.
2719 if ((tvp != NULL) && vnode_isdir(tvp)) {
[all...]
H A Dnfsnode.h638 #define nfstimespeccmp(tvp, uvp, cmp) \
639 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
640 ((tvp)->tv_nsec cmp (uvp)->tv_nsec) : \
641 ((tvp)->tv_sec cmp (uvp)->tv_sec))
H A Dnfs_vnops.c3909 vnode_t tvp = ap->a_tvp; local
3921 tnp = tvp ? VTONFS(tvp) : NULL;
3932 if (tvp && (tvp != fvp)) {
3946 tmp = tvp ? vnode_mount(tvp) : NULL;
3948 if ((fmp != tdmp) || (tvp && (fmp != tmp))) {
3956 * If the tvp exists and is in use, sillyrename it before doing the
3962 if (tvp
[all...]
/darwin-on-arm/xnu/bsd/miscfs/devfs/
H A Ddevfs_vnops.c944 struct vnode *tvp = ap->a_tvp; local
982 if (tvp) {
989 tp = VTODN(tvp);
1039 if (fvp == tvp) {
/darwin-on-arm/xnu/bsd/netinet6/
H A Dicmp6.c3185 #define timersub(tvp, uvp, vvp) \
3187 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
3188 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \

Completed in 301 milliseconds