/darwin-on-arm/xnu/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);
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | vnode_internal.h | 405 struct vnode *tdvp, struct vnode **tvpp, struct componentname *tcnp, struct vnode_attr *tvap, 424 struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp,
|
H A D | vnode_if.h | 715 @param tcnp Name information for target path. 745 struct componentname *tcnp, /* As passed to VNOP */ 756 struct vnode *tdvp, struct vnode **tvpp, struct componentname *tcnp, struct vnode_attr *tvap,
|
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_vnops.c | 3611 struct componentname *tcnp = ap->a_tcnp; local 3674 (const u_int8_t *)tcnp->cn_nameptr, tcnp->cn_namelen) == 0) { 3791 if (tcp && ((tcp->c_flag & (C_NOEXISTS | C_DELETED)) || !hfs_valid_cnode(hfsmp, tdvp, tcnp, tcp->c_fileid, NULL, &error))) { 3911 (suser(vfs_context_ucred(tcnp->cn_context), NULL)) && 3912 (kauth_cred_getuid(vfs_context_ucred(tcnp->cn_context)) != tdcp->c_uid) && 3913 (hfs_owner_rights(hfsmp, tcp->c_uid, vfs_context_ucred(tcnp->cn_context), p, false)) ) { 3940 to_desc.cd_nameptr = (const u_int8_t *)tcnp->cn_nameptr; 3941 to_desc.cd_namelen = tcnp->cn_namelen; 4066 (const u_int8_t *)tcnp [all...] |
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | kpi_vfs.c | 4363 struct vnode *tdvp, struct vnode **tvpp, struct componentname *tcnp, struct vnode_attr *tvap, 4413 len = tcnp->cn_namelen + 3; 4420 strncat(xtoname, tcnp->cn_nameptr, tcnp->cn_namelen); 4464 _err = VNOP_COMPOUND_RENAME(fdvp, fvpp, fcnp, fvap, tdvp, tvpp, tcnp, tvap, flags, ctx); 4470 _err = VNOP_RENAME(fdvp, *fvpp, fcnp, tdvp, *tvpp, tcnp, ctx); 4474 mac_vnode_notify_rename(ctx, *fvpp, tdvp, tcnp); 4625 struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp, 4644 a.a_tcnp = tcnp; 4760 struct vnode *tdvp, struct vnode **tvpp, struct componentname *tcnp, struc 4362 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 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 4758 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 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, 5532 ((fcnp->cn_flags | tcnp->cn_flags) & ISDOTDOT)) ) { 5538 error = lookup_validate_creation_path(tcnp->cn_ndp); 5552 tdvp, tvp, fdvp == tdvp, tcnp); 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
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_vnops.c | 3911 struct componentname *tcnp = ap->a_tcnp; local 3965 error = nfs_sillyrename(tdnp, tnp, tcnp, ctx); 3978 tdnp, tcnp->cn_nameptr, tcnp->cn_namelen, ctx); 4008 nfs_name_cache_purge(tdnp, tnp, tcnp, ctx); 4026 cache_enter(tdvp, fvp, tcnp);
|