Searched refs:fvp (Results 1 - 11 of 11) sorted by relevance

/xnu-2422.115.4/bsd/hfs/
H A Dhfs_vnops.c4063 struct vnode *fvp = ap->a_fvp; local
4096 orig_from_ctime = VTOC(fvp)->c_ctime;
4105 * Do special case checks here. If fvp == tvp then we need to check the
4108 if (fvp == tvp) {
4115 if ((error = hfs_lock(VTOC(fvp), HFS_SHARED_LOCK, HFS_LOCK_DEFAULT))) {
4119 is_hardlink = (VTOC(fvp)->c_flag & C_HARDLINK);
4120 hfs_unlock (VTOC(fvp));
4131 * is off, and the case folded names are the same. See the fvp == tvp case below for more
4149 if (VTOC(fvp)->c_bsdflags & UF_TRACKED) {
4152 check_for_tracked_file(fvp, orig_from_ctim
[all...]
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_syscalls.c5927 vnode_t tvp, fvp, tdvp, sdvp; local
5942 fvp = fromnd.ni_vp;
5959 if (fvp->v_type == VDIR || (tvp && tvp->v_type == VDIR)) {
5967 if (fvp == tdvp)
5974 if (fvp == tvp)
5977 error = VNOP_COPYFILE(fvp, tdvp, tvp, &tond.ni_cnd, uap->mode, uap->flags, ctx);
5991 vnode_put(fvp);
6012 vnode_t fvp, fdvp; local
6044 fvp = tvp = NULL;
6062 fvp
7400 vnode_t fvp; local
[all...]
H A Dkpi_vfs.c3398 *#% exchange fvp L L L
3411 VNOP_EXCHANGE(vnode_t fvp, vnode_t tvp, int options, vfs_context_t ctx) argument
3417 a.a_fvp = fvp;
3422 _err = (*fvp->v_op[vnop_exchange_desc.vdesc_offset])(&a);
3423 DTRACE_FSINFO(exchange, vnode_t, fvp);
3426 post_event_if_success(fvp, _err, NOTE_ATTRIB);
3734 panic("Not batched, and no fvp?");
3952 *#% rename fvp U U U
3969 VNOP_RENAME(struct vnode *fdvp, struct vnode *fvp, struct componentname *fcnp, argument
3979 a.a_fvp = fvp;
5043 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.c5520 vn_authorize_rename(struct vnode *fdvp, struct vnode *fvp, struct componentname *fcnp, argument
5537 if (fvp->v_type == VDIR &&
5538 ((fdvp == fvp) ||
5553 error = mac_vnode_check_rename_from(ctx, fdvp, fvp, fcnp);
5568 if (fvp->v_type == VDIR && tvp->v_type != VDIR) {
5571 } else if (fvp->v_type != VDIR && tvp->v_type == VDIR) {
5577 if (fvp == tdvp) {
5589 * o fvp
5597 if (tdvp->v_parent == fvp) {
5618 * If fvp i
[all...]
/xnu-2422.115.4/bsd/nfs/
H A Dnfs_serv.c2523 vnode_t fvp, tvp, tdvp, fdvp, fdirp, tdirp; local
2556 fvp = tvp = NULL;
2598 fvp = fromni.ni_vp;
2609 fvtype = vnode_vtype(fvp);
2695 if (fvp == tdvp) {
2727 if ((error = nfsrv_authorize(fvp, fdvp, KAUTH_VNODE_DELETE, ctx, fnxo, 0)) != 0)
2732 vnode_isdir(fvp) ? KAUTH_VNODE_ADD_SUBDIRECTORY : KAUTH_VNODE_ADD_FILE,
2738 vnode_isdir(fvp) ? KAUTH_VNODE_ADD_SUBDIRECTORY : KAUTH_VNODE_ADD_FILE,
2755 if ((vnode_mount(fvp) != vnode_mount(tdvp)) ||
2756 (tvp && (vnode_mount(fvp) !
[all...]
H A Dnfs_vnops.c3996 vnode_t fvp = ap->a_fvp; local
4008 fnp = VTONFS(fvp);
4021 if (tvp && (tvp != fvp)) {
4034 fmp = vnode_mount(fvp);
4051 if (tvp && (tvp != fvp))
4075 if (tvp && (tvp != fvp) && !tnp->n_sillyrename) {
4115 cache_enter(tdvp, fvp, tcnp);
/xnu-2422.115.4/bsd/miscfs/devfs/
H A Ddevfs_fdesc_support.c308 struct vnode *fvp; local
338 error = fdesc_allocvp(Fdesc, FD_DESC+fd, dvp->v_mount, &fvp, VNON, fd);
341 *vpp = fvp;
H A Ddevfs_vnops.c946 struct vnode *fvp = ap->a_fvp; local
971 fp = VTODN(fvp);
1039 if (fvp == tvp) {
1040 if (fvp->v_type == VDIR) {
/xnu-2422.115.4/security/
H A Dmac_vfs.c1614 struct vnode *fvp; local
1641 fvp = (struct vnode *)fp->f_fglob->fg_data;
1642 if ((error = vnode_getwithref(fvp)))
1644 MAC_PERFORM(vnode_label_copy, fvp->v_label, vp->v_label);
1645 (void)vnode_put(fvp);
/xnu-2422.115.4/bsd/sys/
H A Dvnode_internal.h409 int vn_authorize_rename(struct vnode *fdvp, struct vnode *fvp, struct componentname *fcnp,
H A Dvnode_if.h539 @param fvp First vnode.
711 @param fvp File being renamed.
741 vnode_t fvp, /* Vnode to rename */

Completed in 213 milliseconds