/darwin-on-arm/xnu/bsd/sys/ |
H A D | time.h | 171 #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 D | vnode_internal.h | 424 struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp,
|
H A D | vnode_if.h | 540 @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 D | dlil.h | 73 #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 D | hfs_lookup.c | 157 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 D | hfs_vnops.c | 2718 * 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 D | hfs_cnode.c | 971 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 D | kern_time.c | 642 * 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 D | kern_exit.c | 436 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 D | kern_proc.c | 1743 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 D | proc_info.c | 900 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 D | uipc_usrreq.c | 842 struct vnode *tvp = NULL; local 852 tvp = unp->unp_vnode; 857 if (tvp != NULL) 858 vnode_rele(tvp); /* drop the usecount */
|
H A D | kern_exec.c | 3807 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 D | vfs_cache.c | 205 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 D | vfs_syscalls.c | 1553 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 D | kpi_vfs.c | 3918 *#% 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 D | vfs_subr.c | 5513 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 D | audit_bsd.c | 584 #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 D | nfs_serv.c | 2523 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 D | nfsnode.h | 638 #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 D | nfs_vnops.c | 3909 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 D | devfs_vnops.c | 944 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 D | icmp6.c | 3185 #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; \
|