/macosx-10.10/xnu-2782.1.97/bsd/miscfs/devfs/ |
H A D | devfs_vnops.c | 948 struct componentname *tcnp = ap->a_tcnp; local 959 if (tcnp->cn_namelen > DEVMAXNAMESIZE) { 983 tnp = dev_findname(tdp, tcnp->cn_nameptr); 1001 || (tcnp->cn_namelen == 1 && tcnp->cn_nameptr[0] == '.') 1002 || (tcnp->cn_flags&ISDOTDOT) 1073 dev_add_name(tcnp->cn_nameptr,tdp,NULL,fp,&tnp);
|
/macosx-10.10/xnu-2782.1.97/bsd/sys/ |
H A D | vnode_internal.h | 432 struct vnode *tdvp, struct vnode **tvpp, struct componentname *tcnp, struct vnode_attr *tvap, 451 struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp,
|
H A D | vnode_if.h | 713 @param tcnp Name information for target path. 743 struct componentname *tcnp, /* As passed to VNOP */ 754 struct vnode *tdvp, struct vnode **tvpp, struct componentname *tcnp, struct vnode_attr *tvap,
|
/macosx-10.10/xnu-2782.1.97/bsd/hfs/ |
H A D | hfs_vnops.c | 4337 struct componentname *tcnp = ap->a_tcnp; local 4402 (const u_int8_t *)tcnp->cn_nameptr, tcnp->cn_namelen) == 0) { 4601 if (tcp && ((tcp->c_flag & (C_NOEXISTS | C_DELETED)) || !hfs_valid_cnode(hfsmp, tdvp, tcnp, tcp->c_fileid, NULL, &error))) { 4721 (suser(vfs_context_ucred(tcnp->cn_context), NULL)) && 4722 (kauth_cred_getuid(vfs_context_ucred(tcnp->cn_context)) != tdcp->c_uid) && 4723 (hfs_owner_rights(hfsmp, tcp->c_uid, vfs_context_ucred(tcnp->cn_context), p, false)) ) { 4798 to_desc.cd_nameptr = (const u_int8_t *)tcnp->cn_nameptr; 4799 to_desc.cd_namelen = tcnp->cn_namelen; 4903 save_tombstone(hfsmp, tdvp, tvp, tcnp, [all...] |
/macosx-10.10/xnu-2782.1.97/bsd/vfs/ |
H A D | kpi_vfs.c | 3713 struct vnode *tdvp, struct vnode **tvpp, struct componentname *tcnp, struct vnode_attr *tvap, 3770 len = tcnp->cn_namelen + 3; 3777 strncat(xtoname, tcnp->cn_nameptr, tcnp->cn_namelen); 3822 _err = VNOP_COMPOUND_RENAME(fdvp, fvpp, fcnp, fvap, tdvp, tvpp, tcnp, tvap, flags, ctx); 3827 _err = VNOP_RENAME(fdvp, *fvpp, fcnp, tdvp, *tvpp, tcnp, ctx); 3831 mac_vnode_notify_rename(ctx, *fvpp, tdvp, tcnp); 3995 struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp, 4008 a.a_tcnp = tcnp; 4053 struct vnode *tdvp, struct vnode **tvpp, struct componentname *tcnp, struc 3712 vn_rename(struct vnode *fdvp, struct vnode **fvpp, struct componentname *fcnp, struct vnode_attr *fvap, struct vnode *tdvp, struct vnode **tvpp, struct componentname *tcnp, struct vnode_attr *tvap, uint32_t flags, vfs_context_t ctx) argument 3994 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 4051 VNOP_COMPOUND_RENAME( struct vnode *fdvp, struct vnode **fvpp, struct componentname *fcnp, struct vnode_attr *fvap, struct vnode *tdvp, struct vnode **tvpp, struct componentname *tcnp, struct vnode_attr *tvap, uint32_t flags, vfs_context_t ctx) argument 5111 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 | 5751 struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp, 5770 ((fcnp->cn_flags | tcnp->cn_flags) & ISDOTDOT)) ) { 5776 error = lookup_validate_creation_path(tcnp->cn_ndp); 5783 error = mac_vnode_check_rename(ctx, fdvp, fvp, fcnp, tdvp, tvp, tcnp); 5750 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
|
/macosx-10.10/smb-759.0/kernel/smbfs/ |
H A D | smbfs_vnops.c | 4381 struct componentname *tcnp = ap->a_tcnp; local 4627 error = smbfs_rmdir(share, tdvp, tvp, tcnp, ap->a_context); 4630 error = smbfs_rmdir(share, tdvp, tvp, tcnp, ap->a_context); 4634 error = smbfs_remove(share, tdvp, tvp, tcnp, 0, ap->a_context); 4674 error = smbfs_smb_rename(share, fnp, tdnp, tcnp->cn_nameptr, 4675 tcnp->cn_namelen, ap->a_context); 4683 error = smbfs_smb_t2rename(share, fnp, tcnp->cn_nameptr, 4684 tcnp->cn_namelen, 1, NULL, ap->a_context); 4782 new_name = smb_strndup(tcnp->cn_nameptr, tcnp 6523 struct componentname *tcnp = ap->a_tcnp; local [all...] |
/macosx-10.10/xnu-2782.1.97/security/ |
H A D | mac_vfs.c | 1051 struct vnode *tvp, struct componentname *tcnp) 1068 tvp != NULL ? tvp->v_label : NULL, dvp == tdvp, tcnp); 1074 tvp != NULL ? tvp->v_label : NULL, tcnp); 1049 mac_vnode_check_rename(vfs_context_t ctx, struct vnode *dvp, struct vnode *vp, struct componentname *cnp, struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp) argument
|
H A D | mac_framework.h | 503 struct vnode *tvp, struct componentname *tcnp);
|
H A D | mac_policy.h | 4861 @param tcnp Destination component name 4880 struct componentname *tcnp
|
/macosx-10.10/msdosfs-209.1.1/msdosfs.kextproj/msdosfs.kmodproj/ |
H A D | msdosfs_vnops.c | 1345 struct componentname *tcnp = ap->a_tcnp; local 1451 error = msdosfs_lookup_name(tddep, tcnp, &cluster, &offset, NULL, NULL, NULL, NULL, context); 1504 error = msdosfs_findslots(tddep, tcnp, toname, &needs_generation, &new_deLowerCase, &to_diroffset, &to_long_count, context); 1625 if (tcnp->cn_nameptr[0] == '.') 1630 error = msdosfs_createde(fdep, tddep, NULL, tcnp, to_diroffset, to_long_count, context);
|
/macosx-10.10/webdavfs-367/webdav_fs.kextproj/webdav_fs.kmodproj/ |
H A D | webdav_vnops.c | 3067 struct componentname *tcnp = ap->a_tcnp; local 3163 request_rename.to_name_length = tcnp->cn_namelen; 3167 tcnp->cn_nameptr, tcnp->cn_namelen,
|
/macosx-10.10/xnu-2782.1.97/bsd/nfs/ |
H A D | nfs_vnops.c | 4216 struct componentname *tcnp = ap->a_tcnp; local 4270 error = nfs_sillyrename(tdnp, tnp, tcnp, ctx); 4283 tdnp, tcnp->cn_nameptr, tcnp->cn_namelen, ctx); 4313 nfs_name_cache_purge(tdnp, tnp, tcnp, ctx); 4331 cache_enter(tdvp, fvp, tcnp);
|